Skip to content

Fix class registry to be able to work with class const fetch #51

Fix class registry to be able to work with class const fetch

Fix class registry to be able to work with class const fetch #51

Triggered via pull request January 28, 2024 20:20
Status Failure
Total duration 33s
Artifacts

php.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 1 warning
build: src/Service/SchemaService.php#L17
* [Disallow mixed type hint] Usage of "mixed" type hint is disallowed.
build: src/Service/SchemaService.php#L18
* [Disallow mixed type hint] Usage of "mixed" type hint is disallowed.
build: src/Service/SchemaService.php#L35
* [Parameter type hint] Method \PHPStanCakePHP2\Service\SchemaService::__construct() has useless @param annotation for parameter $reflectionProvider.
build: src/Service/SchemaService.php#L55
* [Parameter type hint] Method \PHPStanCakePHP2\Service\SchemaService::getTableSchema() has useless @param annotation for parameter $table.
build: src/Service/SchemaService.php#L78
* [Static closure] Closure not using "$this" should be declared static.
build: src/Service/SchemaService.php#L96
* [Static closure] Closure not using "$this" should be declared static.
build: src/Service/SchemaService.php#L72
* [Function length] Your function is too long. Currently using 35 lines. Can be up to 20 lines.
build: src/Service/SchemaService.php#L81
* [Line length] Line exceeds maximum limit of 100 characters; contains 101 characters
build: src/Service/SchemaService.php#L102
* [Line length] Line exceeds 80 characters; contains 84 characters
build: src/Service/SchemaService.php#L104
* [Line length] Line exceeds 80 characters; contains 81 characters
build
Process completed with exit code 2.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.