Skip to content

Add Router.php stub #53

Add Router.php stub

Add Router.php stub #53

Triggered via pull request January 29, 2024 21:14
Status Success
Total duration 42s
Artifacts

php.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 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
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/.