Fix php-cs #6
ci.yml
on: push
Coding Standard & Static Analysis
35s
Matrix: testsuite
Annotations
31 errors and 20 warnings
|
testsuite (8.3, sqlite)
Process completed with exit code 1.
|
|
testsuite (8.2, sqlite)
Process completed with exit code 1.
|
|
testsuite (8.2, pgsql)
Process completed with exit code 1.
|
|
testsuite (8.3, pgsql)
Process completed with exit code 1.
|
|
testsuite (8.1, sqlite)
Process completed with exit code 1.
|
|
testsuite (8.1, pgsql)
Process completed with exit code 1.
|
|
testsuite (8.1, mysql)
Process completed with exit code 1.
|
|
testsuite (8.1, mysql):
src/TestSuite/IntegrationTestCase.php#L220
Failed asserting that 500 matches expected 422.
|
|
testsuite (8.1, mysql):
src/TestSuite/IntegrationTestCase.php#L193
Failed asserting that two strings are equal.
|
|
testsuite (8.2, mysql)
Process completed with exit code 1.
|
|
Coding Standard & Static Analysis:
src/Service/Action/Auth/Webauthn2faAuthAction.php#L47
Call to static method debug() on an unknown class CakeDC\Api\Service\Action\Auth\Log.
|
|
Coding Standard & Static Analysis:
src/Service/Action/Auth/ResetPasswordAction.php#L125
Access to an undefined property Cake\Datasource\EntityInterface::$password.
|
|
Coding Standard & Static Analysis:
src/Service/Action/Auth/ResetPasswordAction.php#L0
Ignored error pattern #^Call to an undefined method Cake\\ORM\\Table\:\:validationPasswordConfirm\(\)\.$# in path /home/runner/work/cakephp-api/cakephp-api/src/Service/Action/Auth/ResetPasswordAction.php was not matched in reported errors.
|
|
Coding Standard & Static Analysis:
src/Service/Action/Auth/OtpVerifyGetAction.php#L71
Call to an undefined method Cake\ORM\Query\SelectQuery::update().
|
|
Coding Standard & Static Analysis:
src/Service/Action/Auth/OtpVerifyCheckAction.php#L51
Call to an undefined method Cake\ORM\Query\SelectQuery::update().
|
|
Coding Standard & Static Analysis:
src/Rbac/Rules/TwoFactorScope.php#L31
Return type mixed of method CakeDC\Api\Rbac\Rules\TwoFactorScope::allowed() is not covariant with return type bool of method CakeDC\Auth\Rbac\Rules\AbstractRule::allowed().
|
|
Coding Standard & Static Analysis:
src/Rbac/Rules/TwoFactorScope.php#L25
Property CakeDC\Api\Rbac\Rules\TwoFactorScope::$_defaultConfig overriding property CakeDC\Auth\Rbac\Rules\AbstractRule::$_defaultConfig (array) should also have native type array.
|
|
Coding Standard & Static Analysis:
src/Rbac/Rules/TwoFactorPassedScope.php#L31
Return type mixed of method CakeDC\Api\Rbac\Rules\TwoFactorPassedScope::allowed() is not covariant with return type bool of method CakeDC\Auth\Rbac\Rules\AbstractRule::allowed().
|
|
Coding Standard & Static Analysis:
src/Rbac/Rules/TwoFactorPassedScope.php#L25
Property CakeDC\Api\Rbac\Rules\TwoFactorPassedScope::$_defaultConfig overriding property CakeDC\Auth\Rbac\Rules\AbstractRule::$_defaultConfig (array) should also have native type array.
|
|
Coding Standard & Static Analysis:
src/Model/Entity/AuthStore.php#L27
Property CakeDC\Api\Model\Entity\AuthStore::$_accessible overriding property Cake\ORM\Entity::$_accessible (array) should also have native type array.
|
|
RiskyTruthyFalsyComparison:
src/Exception/MethodNotAllowedException.php#L33
src/Exception/MethodNotAllowedException.php:33:13: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
|
UndefinedClass:
src/Controller/AppController.php#L26
src/Controller/AppController.php:26:29: UndefinedClass: Class, interface or enum named App\Controller\AppController does not exist (see https://psalm.dev/019)
|
|
InvalidDocblock:
src/Controller/AppController.php#L26
src/Controller/AppController.php:26:7: InvalidDocblock: Unrecognised annotation @psalm-suppress: in docblock for CakeDC\Api\Controller\AppController (see https://psalm.dev/008)
|
|
InvalidDocblock:
src/Controller/AppController.php#L26
src/Controller/AppController.php:26:1: InvalidDocblock: Unrecognised annotation @psalm-suppress: (see https://psalm.dev/008)
|
|
RiskyTruthyFalsyComparison:
src/Command/ServiceRoutesCommand.php#L107
src/Command/ServiceRoutesCommand.php:107:13: RiskyTruthyFalsyComparison: Operand of type bool|null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
|
RiskyTruthyFalsyComparison:
src/Command/ServiceRoutesCommand.php#L91
src/Command/ServiceRoutesCommand.php:91:17: RiskyTruthyFalsyComparison: Operand of type bool|null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
|
UndefinedFunction:
src/Command/ServiceRoutesCommand.php#L70
src/Command/ServiceRoutesCommand.php:70:24: UndefinedFunction: Function CakeDC\Api\Command\__ does not exist (see https://psalm.dev/021)
|
|
RiskyTruthyFalsyComparison:
src/Command/ServiceRoutesCommand.php#L64
src/Command/ServiceRoutesCommand.php:64:13: RiskyTruthyFalsyComparison: Operand of type bool|null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
|
UndefinedFunction:
src/Command/ServiceRoutesCommand.php#L46
src/Command/ServiceRoutesCommand.php:46:23: UndefinedFunction: Function CakeDC\Api\Command\__ does not exist (see https://psalm.dev/021)
|
|
UndefinedFunction:
src/Command/ServiceRoutesCommand.php#L44
src/Command/ServiceRoutesCommand.php:44:33: UndefinedFunction: Function CakeDC\Api\Command\__ does not exist (see https://psalm.dev/021)
|
|
testsuite (8.3, mysql)
Process completed with exit code 1.
|
|
testsuite (8.3, sqlite)
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/
|
|
testsuite (8.3, sqlite)
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/
|
|
testsuite (8.2, sqlite)
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/
|
|
testsuite (8.2, sqlite)
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/
|
|
testsuite (8.2, pgsql)
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/
|
|
testsuite (8.2, pgsql)
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/
|
|
testsuite (8.3, pgsql)
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/
|
|
testsuite (8.3, pgsql)
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/
|
|
testsuite (8.1, sqlite)
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/
|
|
testsuite (8.1, sqlite)
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/
|
|
testsuite (8.1, pgsql)
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/
|
|
testsuite (8.1, pgsql)
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/
|
|
testsuite (8.1, mysql)
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/
|
|
testsuite (8.1, mysql)
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/
|
|
testsuite (8.2, mysql)
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/
|
|
testsuite (8.2, mysql)
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/
|
|
Coding Standard & Static Analysis
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/
|
|
Coding Standard & Static Analysis
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/
|
|
testsuite (8.3, mysql)
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/
|
|
testsuite (8.3, mysql)
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/
|