Fixed PHP 7.4 compatibility #756
Annotations
9 errors and 4 warnings
Static analysis (7.4):
src/mako/http/routing/Route.php#L196
Call to an undefined method ReflectionClass<object>::getAttributes().
|
Static analysis (7.4):
src/mako/http/routing/Route.php#L197
Call to an undefined method ReflectionMethod::getAttributes().
|
Static analysis (7.4):
src/mako/http/routing/Route.php#L217
Call to an undefined method ReflectionClass<object>::getAttributes().
|
Static analysis (7.4):
src/mako/http/routing/Route.php#L218
Call to an undefined method ReflectionMethod::getAttributes().
|
Static analysis (7.4):
src/mako/http/routing/attributes/Constraint.php#L23
Promoted properties are supported only on PHP 8.0 and later.
|
Static analysis (7.4):
src/mako/http/routing/attributes/Constraint.php#L24
Method mako\http\routing\attributes\Constraint::__construct() uses native union types but they're supported only on PHP 8.0 and later.
|
Static analysis (7.4):
src/mako/http/routing/attributes/Middleware.php#L23
Promoted properties are supported only on PHP 8.0 and later.
|
Static analysis (7.4):
src/mako/http/routing/attributes/Middleware.php#L24
Method mako\http\routing\attributes\Middleware::__construct() uses native union types but they're supported only on PHP 8.0 and later.
|
Static analysis (7.4)
Process completed with exit code 1.
|
Static analysis (7.4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, nick-invision/retry@v2.6.0. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Static analysis (7.4)
The following actions uses node12 which is deprecated and will be forced to run on node16: nick-invision/retry@v2.6.0. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Static analysis (7.4)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Static analysis (7.4)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|