aaemnnosttv /
silk
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Silk\Support; |
||
| 4 | |||
| 5 | /** |
||
| 6 | * The Tightenco namespaced Collection class has only been available since 5.5.33 |
||
| 7 | * with aliases for the previous Illuminate\Support class for backwards compat. |
||
| 8 | * |
||
| 9 | * For PHP 5.6, v5.4 of the library will be installed, thus the namespaced version |
||
| 10 | * won't be available. |
||
| 11 | */ |
||
| 12 | |||
| 13 | // @codeCoverageIgnoreStart |
||
| 14 | if (class_exists('Tightenco\Collect\Support\Collection')) { |
||
| 15 | class Collection extends \Tightenco\Collect\Support\Collection |
||
|
0 ignored issues
–
show
|
|||
| 16 | { |
||
| 17 | } |
||
| 18 | } else { |
||
| 19 | class Collection extends \Illuminate\Support\Collection |
||
| 20 | { |
||
| 21 | } |
||
| 22 | } |
||
| 23 | // @codeCoverageIgnoreEnd |
||
| 24 |
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