Import Config and wire it into Manager and Environment #503
ci.yml
on: pull_request
Windows - PHP 8.1 & SQL Server
4m 16s
cs-stan
/
Coding Standard & Static Analysis
56s
Matrix: testsuite-linux
Annotations
17 errors and 11 warnings
cs-stan / Coding Standard & Static Analysis:
src/Config/Config.php#L60
Call to static method setFlagsFromConfig() on an unknown class Migrations\Config\FeatureFlags.
|
cs-stan / Coding Standard & Static Analysis:
src/Config/Config.php#L90
Unsafe usage of new static().
|
cs-stan / Coding Standard & Static Analysis:
src/Config/Config.php#L117
Unsafe usage of new static().
|
cs-stan / Coding Standard & Static Analysis:
src/Config/Config.php#L144
Unsafe usage of new static().
|
cs-stan / Coding Standard & Static Analysis:
src/Config/Config.php#L326
Parameter #1 $string of function substr expects string, string|false given.
|
cs-stan / Coding Standard & Static Analysis:
src/Config/Config.php#L461
PHPDoc tag @param for parameter $tokens with type array<null>|string is not subtype of native type array.
|
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 1.
|
UndefinedClass:
src/Config/Config.php#L60
src/Config/Config.php:60:13: UndefinedClass: Class, interface or enum named Migrations\Config\FeatureFlags does not exist (see https://psalm.dev/019)
|
DeprecatedMethod:
src/Config/Config.php#L172
src/Config/Config.php:172:32: DeprecatedMethod: The method Migrations\Config\Config::getEnvironments has been marked as deprecated (see https://psalm.dev/001)
|
DeprecatedMethod:
src/Config/Config.php#L215
src/Config/Config.php:215:24: DeprecatedMethod: The method Migrations\Config\Config::hasEnvironment has been marked as deprecated (see https://psalm.dev/001)
|
DeprecatedMethod:
src/Config/Config.php#L228
src/Config/Config.php:228:24: DeprecatedMethod: The method Migrations\Config\Config::hasEnvironment has been marked as deprecated (see https://psalm.dev/001)
|
DeprecatedMethod:
src/Config/Config.php#L239
src/Config/Config.php:239:32: DeprecatedMethod: The method Migrations\Config\Config::getEnvironments has been marked as deprecated (see https://psalm.dev/001)
|
LessSpecificImplementedReturnType:
src/Config/Config.php#L279
src/Config/Config.php:279:42: LessSpecificImplementedReturnType: The inherited return type 'array<array-key, string>' for Migrations\Config\ConfigInterface::getMigrationPaths is more specific than the implemented return type for Migrations\Config\Config::getmigrationpaths 'array<array-key, mixed>' (see https://psalm.dev/166)
|
LessSpecificImplementedReturnType:
src/Config/Config.php#L279
src/Config/Config.php:279:42: LessSpecificImplementedReturnType: The inherited return type 'array<array-key, string>' for Phinx\Config\ConfigInterface::getMigrationPaths is more specific than the implemented return type for Migrations\Config\Config::getmigrationpaths 'array<array-key, mixed>' (see https://psalm.dev/166)
|
LessSpecificImplementedReturnType:
src/Config/Config.php#L296
src/Config/Config.php:296:37: LessSpecificImplementedReturnType: The inherited return type 'array<array-key, string>' for Migrations\Config\ConfigInterface::getSeedPaths is more specific than the implemented return type for Migrations\Config\Config::getseedpaths 'array<array-key, mixed>' (see https://psalm.dev/166)
|
LessSpecificImplementedReturnType:
src/Config/Config.php#L296
src/Config/Config.php:296:37: LessSpecificImplementedReturnType: The inherited return type 'array<array-key, string>' for Phinx\Config\ConfigInterface::getSeedPaths is more specific than the implemented return type for Migrations\Config\Config::getseedpaths 'array<array-key, mixed>' (see https://psalm.dev/166)
|
InvalidArgument:
src/Config/Config.php#L451
src/Config/Config.php:451:51: InvalidArgument: Argument 2 of Migrations\Config\Config::recurseArrayForTokens expects array<array-key, null>|string, but array{'%%PHINX_CONFIG_DIR%%': string, '%%PHINX_CONFIG_PATH%%': null|string, ...<string, string>} provided (see https://psalm.dev/004)
|
testsuite-linux (8.1, sqlite, prefer-lowest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
testsuite-linux (8.2, sqlite)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
testsuite-linux (8.1, sqlite)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
testsuite-linux (8.2, pgsql)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
cs-stan / Coding Standard & Static Analysis
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
testsuite-linux (8.1, pgsql)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
testsuite-linux (8.1, mysql)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
testsuite-linux (8.2, mysql)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Windows - PHP 8.1 & SQL Server
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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/
|