Skip to content

Add/improve type declarations for PHP 8.1 #1000

Add/improve type declarations for PHP 8.1

Add/improve type declarations for PHP 8.1 #1000

Triggered via pull request September 15, 2023 04:08
Status Failure
Total duration 3m 32s
Artifacts

ci.yml

on: pull_request
Windows - PHP 8.1 & SQL Server
3m 19s
Windows - PHP 8.1 & SQL Server
Coding Standard & Static Analysis
33s
Coding Standard & Static Analysis
Matrix: testsuite
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 18 warnings
Coding Standard & Static Analysis: src/Phinx/Db/Adapter/AdapterFactory.php#L36
Method Phinx\Db\Adapter\AdapterFactory::instance() should return static(Phinx\Db\Adapter\AdapterFactory) but returns Phinx\Db\Adapter\AdapterFactory.
Coding Standard & Static Analysis: src/Phinx/Db/Adapter/AdapterInterface.php#L392
PHPDoc tag @param for parameter $columnName with type int|string is not subtype of native type string.
Coding Standard & Static Analysis: src/Phinx/Migration/Manager/Environment.php#L1
Ignored error pattern #^Property Phinx\\Migration\\Manager\\Environment\:\:\$adapter \(Phinx\\Db\\Adapter\\AdapterInterface\) in isset\(\) is not nullable\.$# in path /home/runner/work/phinx/phinx/src/Phinx/Migration/Manager/Environment.php was not matched in reported errors.
Coding Standard & Static Analysis: src/Phinx/Migration/Manager/Environment.php#L1
Ignored error pattern #^Unreachable statement \- code above always terminates\.$# in path /home/runner/work/phinx/phinx/src/Phinx/Migration/Manager/Environment.php was not matched in reported errors.
Coding Standard & Static Analysis
Process completed with exit code 1.
testsuite (8.1, mysql)
Process completed with exit code 2.
testsuite (8.2, mysql)
Process completed with exit code 2.
Windows - PHP 8.1 & SQL Server
Process completed with exit code 1.
testsuite (8.1, sqlite, prefer-lowest)
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, prefer-lowest)
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.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.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.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/
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/
Windows - PHP 8.1 & SQL Server
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/
Windows - PHP 8.1 & SQL Server
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/