Skip to content

Import most of Phinx\Util\Util #663

Import most of Phinx\Util\Util

Import most of Phinx\Util\Util #663

Triggered via pull request October 4, 2024 03:57
@markstorymarkstory
synchronize #753
import-util
Status Failure
Total duration 2m 37s
Artifacts

ci.yml

on: pull_request
Windows - PHP 8.1 & SQL Server
2m 25s
Windows - PHP 8.1 & SQL Server
cs-stan  /  Coding Standard & Static Analysis
45s
cs-stan / Coding Standard & Static Analysis
Matrix: testsuite-linux
Fit to window
Zoom out
Zoom in

Annotations

32 errors and 4 warnings
testsuite-linux (8.2, sqlite)
Process completed with exit code 2.
testsuite-linux (8.3, sqlite)
Process completed with exit code 2.
cs-stan / Coding Standard & Static Analysis: src/Util/Util.php#L234
Method Migrations\Util\Util::glob() should return array<string> but returns array<int, string>|false.
cs-stan / Coding Standard & Static Analysis: src/Util/Util.php#L250
Parameter #1 $filename of function file_exists expects string, string|false given.
cs-stan / Coding Standard & Static Analysis: src/Util/Util.php#L259
Parameter #1 $filename of function fopen expects string, string|false given.
cs-stan / Coding Standard & Static Analysis: src/Util/Util.php#L271
Method Migrations\Util\Util::loadPhpFile() should return string but returns string|false.
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 1.
cs-stan / Coding Standard & Static Analysis: tests/TestCase/Util/UtilTest.php#L10
Use statements should be sorted alphabetically. The first wrong one is Cake\TestSuite\TestCase.
cs-stan / Coding Standard & Static Analysis: tests/TestCase/Util/_files/migrations/20120111235330_test_migration.php#L5
Each class must be in a namespace of at least one level (a top-level vendor name)
cs-stan / Coding Standard & Static Analysis: tests/TestCase/Util/_files/migrations/20120111235330_test_migration.php#L5
Class name doesn't match filename; expected "class 20120111235330_test_migration"
cs-stan / Coding Standard & Static Analysis: tests/TestCase/Util/_files/migrations/20120116183504_test_migration_2.php#L5
Each class must be in a namespace of at least one level (a top-level vendor name)
cs-stan / Coding Standard & Static Analysis: tests/TestCase/Util/_files/migrations/20120116183504_test_migration_2.php#L5
Class name doesn't match filename; expected "class 20120116183504_test_migration_2"
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 1.
ArgumentTypeCoercion: src/Util/Util.php#L81
src/Util/Util.php:81:28: ArgumentTypeCoercion: Argument 1 of preg_match expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
ArgumentTypeCoercion: src/Util/Util.php#L138
src/Util/Util.php:138:24: ArgumentTypeCoercion: Argument 1 of preg_match expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
ArgumentTypeCoercion: src/Util/Util.php#L140
src/Util/Util.php:140:30: ArgumentTypeCoercion: Argument 1 of preg_match expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
ArgumentTypeCoercion: src/Util/Util.php#L183
src/Util/Util.php:183:33: ArgumentTypeCoercion: Argument 1 of preg_match expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
ArgumentTypeCoercion: src/Util/Util.php#L194
src/Util/Util.php:194:33: ArgumentTypeCoercion: Argument 1 of preg_match expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
ArgumentTypeCoercion: src/Util/Util.php#L195
src/Util/Util.php:195:33: ArgumentTypeCoercion: Argument 1 of preg_match expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
ArgumentTypeCoercion: src/Util/Util.php#L206
src/Util/Util.php:206:33: ArgumentTypeCoercion: Argument 1 of preg_match expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 2.
testsuite-linux (8.4, sqlite)
Process completed with exit code 2.
testsuite-linux (8.4, pgsql)
Process completed with exit code 2.
testsuite-linux (8.2, pgsql)
Process completed with exit code 2.
testsuite-linux (8.3, pgsql)
Process completed with exit code 2.
testsuite-linux (8.3, mysql)
Process completed with exit code 2.
testsuite-linux (8.2, mysql)
Process completed with exit code 2.
testsuite-linux (8.4, mysql)
Process completed with exit code 2.
testsuite-linux (8.1, mysql)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
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
Codecov: Failed to properly create commit: The process 'D:\a\_actions\codecov\codecov-action\v4\dist\codecov.exe' failed with exit code 1
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/