Skip to content

Merge pull request #612 from manageruz/develop #85

Merge pull request #612 from manageruz/develop

Merge pull request #612 from manageruz/develop #85

Triggered via push January 11, 2024 17:08
Status Failure
Total duration 30s
Artifacts

phpstan.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 3 warnings
PHP 8.1 Static Analysis: src/Authentication/AuthenticationBase.php#L227
If condition is always true.
PHP 8.1 Static Analysis: src/Authentication/AuthenticationBase.php#L274
If condition is always true.
PHP 8.1 Static Analysis: src/Authentication/LocalAuthenticator.php#L70
Instantiation of deprecated class CodeIgniter\Router\Exceptions\RedirectException: Use \CodeIgniter\HTTP\Exceptions\RedirectException instead
PHP 8.1 Static Analysis: src/Authorization/FlatAuthorization.php#L341
Call to function in_array() with arguments int, array<int, string> and true will always evaluate to false.
PHP 8.1 Static Analysis: src/Commands/Publish.php#L45
PHPDoc type array of property Myth\Auth\Commands\Publish::$arguments is not covariant with PHPDoc type array<string, string> of overridden property CodeIgniter\CLI\BaseCommand::$arguments.
PHP 8.1 Static Analysis: src/Commands/Publish.php#L52
PHPDoc type array of property Myth\Auth\Commands\Publish::$options is not covariant with PHPDoc type array<string, string> of overridden property CodeIgniter\CLI\BaseCommand::$options.
PHP 8.1 Static Analysis: tests/authentication/LocalAuthTest.php#L116
Fetching class constant class of deprecated class CodeIgniter\Router\Exceptions\RedirectException: Use \CodeIgniter\HTTP\Exceptions\RedirectException instead
PHP 8.1 Static Analysis: tests/controllers/LoginTest.php#L55
No error to ignore is reported on line 55.
PHP 8.1 Static Analysis: tests/controllers/RegisterTest.php#L56
No error to ignore is reported on line 56.
PHP 8.1 Static Analysis: tests/controllers/RegisterTest.php#L88
No error to ignore is reported on line 88.
PHP 7.4 Static Analysis: src/Authentication/AuthenticationBase.php#L227
If condition is always true.
PHP 7.4 Static Analysis: src/Authentication/AuthenticationBase.php#L274
If condition is always true.
PHP 7.4 Static Analysis: src/Authentication/LocalAuthenticator.php#L70
Instantiation of deprecated class CodeIgniter\Router\Exceptions\RedirectException: Use \CodeIgniter\HTTP\Exceptions\RedirectException instead
PHP 7.4 Static Analysis: src/Authorization/FlatAuthorization.php#L341
Call to function in_array() with arguments int, array<int, string> and true will always evaluate to false.
PHP 7.4 Static Analysis: src/Commands/Publish.php#L45
PHPDoc type array of property Myth\Auth\Commands\Publish::$arguments is not covariant with PHPDoc type array<string, string> of overridden property CodeIgniter\CLI\BaseCommand::$arguments.
PHP 7.4 Static Analysis: src/Commands/Publish.php#L52
PHPDoc type array of property Myth\Auth\Commands\Publish::$options is not covariant with PHPDoc type array<string, string> of overridden property CodeIgniter\CLI\BaseCommand::$options.
PHP 7.4 Static Analysis: tests/authentication/LocalAuthTest.php#L116
Fetching class constant class of deprecated class CodeIgniter\Router\Exceptions\RedirectException: Use \CodeIgniter\HTTP\Exceptions\RedirectException instead
PHP 7.4 Static Analysis: tests/controllers/LoginTest.php#L55
No error to ignore is reported on line 55.
PHP 7.4 Static Analysis: tests/controllers/RegisterTest.php#L56
No error to ignore is reported on line 56.
PHP 7.4 Static Analysis: tests/controllers/RegisterTest.php#L88
No error to ignore is reported on line 88.
PHP 8.0 Static Analysis: src/Authentication/AuthenticationBase.php#L227
If condition is always true.
PHP 8.0 Static Analysis: src/Authentication/AuthenticationBase.php#L274
If condition is always true.
PHP 8.0 Static Analysis: src/Authentication/LocalAuthenticator.php#L70
Instantiation of deprecated class CodeIgniter\Router\Exceptions\RedirectException: Use \CodeIgniter\HTTP\Exceptions\RedirectException instead
PHP 8.0 Static Analysis: src/Authorization/FlatAuthorization.php#L341
Call to function in_array() with arguments int, array<int, string> and true will always evaluate to false.
PHP 8.0 Static Analysis: src/Commands/Publish.php#L45
PHPDoc type array of property Myth\Auth\Commands\Publish::$arguments is not covariant with PHPDoc type array<string, string> of overridden property CodeIgniter\CLI\BaseCommand::$arguments.
PHP 8.0 Static Analysis: src/Commands/Publish.php#L52
PHPDoc type array of property Myth\Auth\Commands\Publish::$options is not covariant with PHPDoc type array<string, string> of overridden property CodeIgniter\CLI\BaseCommand::$options.
PHP 8.0 Static Analysis: tests/authentication/LocalAuthTest.php#L116
Fetching class constant class of deprecated class CodeIgniter\Router\Exceptions\RedirectException: Use \CodeIgniter\HTTP\Exceptions\RedirectException instead
PHP 8.0 Static Analysis: tests/controllers/LoginTest.php#L55
No error to ignore is reported on line 55.
PHP 8.0 Static Analysis: tests/controllers/RegisterTest.php#L56
No error to ignore is reported on line 56.
PHP 8.0 Static Analysis: tests/controllers/RegisterTest.php#L88
No error to ignore is reported on line 88.
PHP 8.1 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/
PHP 7.4 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/
PHP 8.0 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/