| Total Complexity | 7 | 
| Total Lines | 22 | 
| Duplicated Lines | 0 % | 
| Changes | 2 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 10 | class SermonHelper extends Helper  | 
            ||
| 11 | { | 
            ||
| 12 | public static $freeSermonsCount = 2;  | 
            ||
| 13 | |||
| 14 | public static function getImageLink($imageName, int $dimen = 0)  | 
            ||
| 15 |     { | 
            ||
| 16 |         if (! $imageName) { | 
            ||
| 17 | return MinistryHelper::getImageLink(auth()->user(), $dimen);  | 
            ||
| 18 | }  | 
            ||
| 19 |         if (! $dimen) { | 
            ||
| 20 |             return SDK::getAsset('storage/sermons/original/'.$imageName); | 
            ||
| 21 |         } else { | 
            ||
| 22 |             return SDK::getAsset('storage/sermons/'.$dimen.'-'.$dimen.'/'.$imageName); | 
            ||
| 23 | }  | 
            ||
| 24 | }  | 
            ||
| 25 | |||
| 26 | public static function getAvatar(Sermon $sermon)  | 
            ||
| 32 | ];  | 
            ||
| 33 | }  | 
            ||
| 35 | 
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