Cakephp 5 (+ php 8.4, phpunit 11) #2819
php.yml
on: pull_request
Matrix: cs / Check coding style
Matrix: psalm / Check with psalm
Matrix: stan / Static code analyzer
Matrix: unit-5 / Run unit tests
Annotations
23 errors
stan / Static code analyzer (8.4):
src/Application.php#L237
Access to undefined constant Authentication\Identifier\IdentifierInterface::CREDENTIAL_TOKEN.
|
stan / Static code analyzer (8.4):
src/Application.php#L249
Access to undefined constant Authentication\Identifier\IdentifierInterface::CREDENTIAL_USERNAME.
|
stan / Static code analyzer (8.4):
src/Application.php#L250
Access to undefined constant Authentication\Identifier\IdentifierInterface::CREDENTIAL_PASSWORD.
|
stan / Static code analyzer (8.4):
src/Controller/Admin/AppearanceController.php#L36
Type string of property App\Controller\Admin\AppearanceController::$resourceType is not the same as type string|null of overridden property App\Controller\Admin\AdministrationBaseController::$resourceType.
|
stan / Static code analyzer (8.4):
src/Controller/Admin/AppearanceController.php#L41
Property App\Controller\Admin\AppearanceController::$readonly overriding property App\Controller\Admin\AdministrationBaseController::$readonly (bool) should also have native type bool.
|
stan / Static code analyzer (8.4):
src/Controller/Admin/AppearanceController.php#L50
Access to an undefined property App\Controller\Admin\AppearanceController::$Security.
|
stan / Static code analyzer (8.4):
src/Controller/Admin/ApplicationsController.php#L25
Property App\Controller\Admin\ApplicationsController::$resourceType overriding property App\Controller\Admin\AdministrationBaseController::$resourceType (string|null) should also have native type string|null.
|
stan / Static code analyzer (8.4):
src/Controller/Admin/ApplicationsController.php#L30
Property App\Controller\Admin\ApplicationsController::$readonly overriding property App\Controller\Admin\AdministrationBaseController::$readonly (bool) should also have native type bool.
|
stan / Static code analyzer (8.4):
src/Controller/Admin/ApplicationsController.php#L35
Property App\Controller\Admin\ApplicationsController::$properties overriding property App\Controller\Admin\AdministrationBaseController::$properties (array) should also have native type array.
|
stan / Static code analyzer (8.4):
src/Controller/Admin/ApplicationsController.php#L44
Property App\Controller\Admin\ApplicationsController::$propertiesSecrets overriding property App\Controller\Admin\AdministrationBaseController::$propertiesSecrets (array) should also have native type array.
|
UndefinedFunction:
config/bootstrap.php#L59
config/bootstrap.php:59:6: UndefinedFunction: Function env does not exist, consider enabling the allFunctionsGlobal config option if scanning legacy codebases (see https://psalm.dev/021)
|
MissingTemplateParam:
src/Application.php#L43
src/Application.php:43:7: MissingTemplateParam: App\Application has missing template params when extending Cake\Http\BaseApplication, expecting 1 (see https://psalm.dev/182)
|
MissingOverrideAttribute:
src/Application.php#L61
src/Application.php:61:5: MissingOverrideAttribute: Method App\Application::bootstrap should have the "Override" attribute (see https://psalm.dev/358)
|
MissingOverrideAttribute:
src/Application.php#L119
src/Application.php:119:5: MissingOverrideAttribute: Method App\Application::middleware should have the "Override" attribute (see https://psalm.dev/358)
|
MissingOverrideAttribute:
src/Application.php#L213
src/Application.php:213:5: MissingOverrideAttribute: Method App\Application::getauthenticationservice should have the "Override" attribute (see https://psalm.dev/358)
|
MissingOverrideAttribute:
src/Command/TranslateCommand.php#L28
src/Command/TranslateCommand.php:28:5: MissingOverrideAttribute: Method App\Command\TranslateCommand::buildoptionparser should have the "Override" attribute (see https://psalm.dev/358)
|
MissingOverrideAttribute:
src/Command/TranslateCommand.php#L62
src/Command/TranslateCommand.php:62:5: MissingOverrideAttribute: Method App\Command\TranslateCommand::execute should have the "Override" attribute (see https://psalm.dev/358)
|
MissingOverrideAttribute:
src/Controller/Admin/AdministrationBaseController.php#L80
src/Controller/Admin/AdministrationBaseController.php:80:5: MissingOverrideAttribute: Method App\Controller\Admin\AdministrationBaseController::initialize should have the "Override" attribute (see https://psalm.dev/358)
|
MissingOverrideAttribute:
src/Controller/Admin/AdministrationBaseController.php#L92
src/Controller/Admin/AdministrationBaseController.php:92:5: MissingOverrideAttribute: Method App\Controller\Admin\AdministrationBaseController::beforefilter should have the "Override" attribute (see https://psalm.dev/358)
|
UndefinedFunction:
src/Controller/Admin/AdministrationBaseController.php#L103
src/Controller/Admin/AdministrationBaseController.php:103:45: UndefinedFunction: Function App\Controller\Admin\__ does not exist, consider enabling the allFunctionsGlobal config option if scanning legacy codebases (see https://psalm.dev/021)
|
unit-5 / Run unit tests (8.4)
Process completed with exit code 255.
|
unit-5 / Run unit tests (8.3)
The job was canceled because "_8_4" failed.
|
unit-5 / Run unit tests (8.3)
The operation was canceled.
|