| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Code Lines | 19 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 6 | public function testLoadBlog(): void { |
||
| 7 | $ci =& get_instance(); |
||
|
1 ignored issue
–
show
|
|||
| 8 | $ci->load->splint("francis94c/blog", "+Blogger", null, "blogger"); |
||
| 9 | $ci->load->database(); |
||
| 10 | $ci->load->dbforge(); |
||
| 11 | $this->assertTrue($ci->dbforge->create_database('blog_db')); |
||
| 12 | $db['hostname'] = 'localhost'; |
||
| 13 | $db['username'] = 'root'; |
||
| 14 | $db['password'] = ''; |
||
| 15 | $db['database'] = 'blog_db'; |
||
| 16 | $db['dbdriver'] = 'mysqli'; |
||
| 17 | $db['dbprefix'] = ''; |
||
| 18 | $db['pconnect'] = FALSE; |
||
| 19 | $db['db_debug'] = TRUE; |
||
| 20 | $db['cache_on'] = FALSE; |
||
| 21 | $db['cachedir'] = ''; |
||
| 22 | $db['char_set'] = 'utf8'; |
||
| 23 | $db['dbcollat'] = 'utf8_general_ci'; |
||
| 24 | $ci->load->database($db); |
||
| 25 | $this->assertTrue($ci->blogger->install("test_blog")); |
||
| 26 | } |
||
| 29 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths