| Total Complexity | 4 | 
| Total Lines | 24 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 4 | class IntlTestHelper  | 
            ||
| 5 | { | 
            ||
| 6 | public static $enableIntl;  | 
            ||
| 7 | /**  | 
            ||
| 8 | * Emulate disabled intl extension.  | 
            ||
| 9 | *  | 
            ||
| 10 | * Enable it only for tests prefixed with testIntl.  | 
            ||
| 11 | * @param Testcase $test  | 
            ||
| 
                                                                                                    
                        
                         | 
                |||
| 12 | */  | 
            ||
| 13 | public static function setIntlStatus($test)  | 
            ||
| 14 |     { | 
            ||
| 15 | static::$enableIntl = null;  | 
            ||
| 16 |         if (strncmp($test->getName(false), 'testIntl', 8) === 0) { | 
            ||
| 17 | static::$enableIntl = true;  | 
            ||
| 18 |             if (!extension_loaded('intl')) { | 
            ||
| 19 |                 $test->markTestSkipped('intl extension is not installed.'); | 
            ||
| 20 | }  | 
            ||
| 21 |         } else { | 
            ||
| 22 | static::$enableIntl = false;  | 
            ||
| 23 | }  | 
            ||
| 24 | }  | 
            ||
| 25 | public static function resetIntlStatus()  | 
            ||
| 28 | }  | 
            ||
| 29 | }  | 
            ||
| 30 | 
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