Skip to content

Commit 1086703

Browse files
authored
Merge pull request #6359 from kenjis/make-sphinx-warning-to-error
chore: Sphinx convert warning into error
2 parents 2da8ef8 + 09bcef4 commit 1086703

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/test-userguide.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ jobs:
2525
- uses: ammaraskar/sphinx-action@0.4
2626
with:
2727
docs-folder: user_guide_src
28+
build-command: 'make html SPHINXOPTS="-W --keep-going -w /tmp/sphinx-log"'

user_guide_src/source/database/utilities/001.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
<?php
22

3-
$model = new class () extends \CodeIgniter\Model {
3+
class MyModel extends \CodeIgniter\Model
4+
{
45
protected $table = 'foo';
56
protected $primaryKey = 'id';
6-
};
7+
}
8+
9+
$model = new MyModel();
710

811
$util = \CodeIgniter\Database\Config::utils();
912

0 commit comments

Comments
 (0)