| Total Complexity | 4 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | class StaticSiteRewriteLinksJob extends AbstractQueuedJob implements QueuedJob |
||
| 24 | { |
||
| 25 | use Injectable; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * The ID number of the StaticSiteContentSource which has the links to be rewritten |
||
| 29 | * |
||
| 30 | * @var int |
||
| 31 | */ |
||
| 32 | protected $contentSourceID; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * |
||
| 36 | * Sets the content source id |
||
| 37 | * |
||
| 38 | * @param number $contentSourceID |
||
| 39 | */ |
||
| 40 | public function __construct($contentSourceID = null) |
||
| 44 | } |
||
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * |
||
| 49 | * @return string |
||
| 50 | */ |
||
| 51 | public function getJobType() |
||
| 52 | { |
||
| 53 | $this->totalSteps = 1; |
||
| 54 | return QueuedJob::QUEUED; |
||
| 55 | } |
||
| 56 | |||
| 57 | /** |
||
| 58 | * Starts the rewrite links task |
||
| 59 | * |
||
| 60 | * @return void |
||
| 61 | */ |
||
| 62 | public function process() |
||
| 69 | } |
||
| 70 | } |
||
| 71 |
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