Skip to content

Add support to loading components on the fly #44

Add support to loading components on the fly

Add support to loading components on the fly #44

Triggered via pull request September 28, 2023 19:39
Status Success
Total duration 52s
Artifacts

php.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
build: src/ClassRegistryInitExtension.php#L1
* [Declare strict types] Missing declare(strict_types=1). * [Normal classes are forbidden. Classes must be final or abstract] * [Method argument space] @@ -26,3 +26,4 @@ ReflectionProvider $reflectionProvider, - SchemaService $schemaService) + SchemaService $schemaService + ) {
build: src/ClassRegistryInitExtension.php#L19
* [Line length] Line exceeds 80 characters; contains 82 characters
build: src/ClassRegistryInitExtension.php#L38
* [Line length] Line exceeds 80 characters; contains 85 characters
build: src/ClassRegistryInitExtension.php#L43
* [Line length] Line exceeds maximum limit of 100 characters; contains 128 characters
build: src/ClassRegistryInitExtension.php#L64
* [Trailing array comma] Multi-line arrays must have a trailing comma after the last element.
build: src/Service/SchemaService.php#L1
* [Declare strict types] Missing declare(strict_types=1).
build: src/Service/SchemaService.php#L15
* [Disallow mixed type hint] Usage of "mixed" type hint is disallowed.
build: src/Service/SchemaService.php#L16
* [Disallow mixed type hint] Usage of "mixed" type hint is disallowed.
build: src/Service/SchemaService.php#L33
* [Parameter type hint] Method \ARiddlestone\PHPStanCakePHP2\Service\SchemaService::__construct() has useless @param annotation for parameter $reflectionProvider.
build: src/Service/SchemaService.php#L53
* [Parameter type hint] Method \ARiddlestone\PHPStanCakePHP2\Service\SchemaService::getTableSchema() has useless @param annotation for parameter $table.