zingimmick /
laravel-query-builder
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | use Rector\CodingStyle\Rector\ClassConst\VarConstantCommentRector; |
||
| 6 | use Rector\CodingStyle\Rector\Encapsed\EncapsedStringsToSprintfRector; |
||
| 7 | use Rector\Core\Configuration\Option; |
||
| 8 | use Rector\DeadCode\Rector\Assign\RemoveUnusedVariableAssignRector; |
||
| 9 | use Rector\DeadCode\Rector\ClassMethod\RemoveUselessParamTagRector; |
||
|
0 ignored issues
–
show
|
|||
| 10 | use Rector\DeadCode\Rector\ClassMethod\RemoveUselessReturnTagRector; |
||
|
0 ignored issues
–
show
The type
Rector\DeadCode\Rector\C...eUselessReturnTagRector was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths Loading history...
|
|||
| 11 | use Rector\EarlyReturn\Rector\If_\ChangeAndIfToEarlyReturnRector; |
||
| 12 | use Rector\EarlyReturn\Rector\If_\ChangeOrIfReturnToEarlyReturnRector; |
||
| 13 | use Rector\Naming\Rector\Assign\RenameVariableToMatchMethodCallReturnTypeRector; |
||
| 14 | use Rector\Naming\Rector\ClassMethod\RenameParamToMatchTypeRector; |
||
| 15 | use Rector\PHPUnit\Rector\Class_\AddSeeTestAnnotationRector; |
||
| 16 | use Rector\PHPUnit\Set\PHPUnitSetList; |
||
|
0 ignored issues
–
show
The type
Rector\PHPUnit\Set\PHPUnitSetList was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths Loading history...
|
|||
| 17 | use Rector\Privatization\Rector\Class_\ChangeReadOnlyVariableWithDefaultValueToConstantRector; |
||
| 18 | use Rector\Privatization\Rector\Class_\FinalizeClassesWithoutChildrenRector; |
||
| 19 | use Rector\Privatization\Rector\Class_\RepeatedLiteralToClassConstantRector; |
||
| 20 | use Rector\Privatization\Rector\MethodCall\PrivatizeLocalGetterToPropertyRector; |
||
| 21 | use Rector\Privatization\Rector\Property\PrivatizeLocalPropertyToPrivatePropertyRector; |
||
| 22 | use Rector\Set\ValueObject\SetList; |
||
| 23 | use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; |
||
| 24 | |||
| 25 | return static function (ContainerConfigurator $containerConfigurator): void { |
||
| 26 | $parameters = $containerConfigurator->parameters(); |
||
| 27 | $parameters->set( |
||
| 28 | Option::SETS, |
||
| 29 | [ |
||
| 30 | SetList::CODING_STYLE, |
||
| 31 | SetList::CODE_QUALITY, |
||
| 32 | SetList::CODE_QUALITY_STRICT, |
||
| 33 | SetList::DEAD_CODE, |
||
| 34 | SetList::PRIVATIZATION, |
||
| 35 | SetList::NAMING, |
||
| 36 | PHPUnitSetList::PHPUNIT_CODE_QUALITY, |
||
| 37 | SetList::PHP_70, |
||
| 38 | SetList::PHP_71, |
||
| 39 | SetList::PHP_72, |
||
| 40 | SetList::EARLY_RETURN, |
||
| 41 | ] |
||
| 42 | ); |
||
| 43 | $parameters->set( |
||
| 44 | Option::SKIP, |
||
| 45 | [ |
||
| 46 | FinalizeClassesWithoutChildrenRector::class, |
||
| 47 | ChangeReadOnlyVariableWithDefaultValueToConstantRector::class, |
||
| 48 | AddSeeTestAnnotationRector::class, |
||
| 49 | RepeatedLiteralToClassConstantRector::class, |
||
| 50 | RenameParamToMatchTypeRector::class, |
||
| 51 | RenameVariableToMatchMethodCallReturnTypeRector::class, |
||
| 52 | EncapsedStringsToSprintfRector::class, |
||
| 53 | PrivatizeLocalPropertyToPrivatePropertyRector::class, |
||
| 54 | ChangeOrIfReturnToEarlyReturnRector::class, |
||
| 55 | PrivatizeLocalGetterToPropertyRector::class, |
||
| 56 | ChangeAndIfToEarlyReturnRector::class, |
||
| 57 | VarConstantCommentRector::class, |
||
| 58 | RemoveUselessParamTagRector::class, |
||
| 59 | RemoveUselessReturnTagRector::class, |
||
| 60 | RemoveUnusedVariableAssignRector::class, |
||
| 61 | ] |
||
| 62 | ); |
||
| 63 | $parameters->set( |
||
| 64 | Option::PATHS, |
||
| 65 | [ |
||
| 66 | __DIR__ . '/config', |
||
| 67 | __DIR__ . '/src', |
||
| 68 | __DIR__ . '/tests', |
||
| 69 | __DIR__ . '/changelog-linker.php', |
||
| 70 | __DIR__ . '/ecs.php', |
||
| 71 | __DIR__ . '/rector.php', |
||
| 72 | ] |
||
| 73 | ); |
||
| 74 | }; |
||
| 75 |
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