Skip to content

refactor: Replace deprecated Faker property access #88

refactor: Replace deprecated Faker property access

refactor: Replace deprecated Faker property access #88

Triggered via pull request January 12, 2024 18:38
Status Failure
Total duration 36s
Artifacts

phpstan.yml

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

Annotations

30 errors and 3 warnings
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: 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
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.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/