Skip to content

Update Adapter classes to use Connection pt1 #524

Update Adapter classes to use Connection pt1

Update Adapter classes to use Connection pt1 #524

Triggered via pull request February 23, 2024 05:15
Status Failure
Total duration 2m 55s
Artifacts

ci.yml

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

Annotations

28 errors and 11 warnings
testsuite-linux (8.2, sqlite)
Process completed with exit code 139.
testsuite-linux (8.2, pgsql)
Process completed with exit code 2.
testsuite-linux (8.1, sqlite, prefer-lowest)
Process completed with exit code 139.
testsuite-linux (8.1, sqlite)
Process completed with exit code 139.
testsuite-linux (8.1, pgsql)
Process completed with exit code 2.
cs-stan / Coding Standard & Static Analysis: src/Db/Adapter/MysqlAdapter.php#L1
Ignored error pattern #^Parameter \#4 \$options of method Migrations\\Db\\Adapter\\PdoAdapter\:\:createPdoConnection\(\) expects array\<int, mixed\>, array\<int\|string, mixed\> given\.$# in path /home/runner/work/migrations/migrations/src/Db/Adapter/MysqlAdapter.php was not matched in reported errors.
cs-stan / Coding Standard & Static Analysis: src/Db/Adapter/PdoAdapter.php#L1
Ignored error pattern #^Access to an undefined property PDO\:\:\$connection\.$# in path /home/runner/work/migrations/migrations/src/Db/Adapter/PdoAdapter.php was not matched in reported errors.
cs-stan / Coding Standard & Static Analysis: src/Db/Adapter/PdoAdapter.php#L176
Access to an undefined property Cake\Database\Connection::$connection.
cs-stan / Coding Standard & Static Analysis: src/Db/Adapter/PdoAdapter.php#L222
Instantiated class Migrations\Db\Adapter\ReflectionProperty not found.
cs-stan / Coding Standard & Static Analysis: src/Db/Adapter/PdoAdapter.php#L223
Call to method setValue() on an unknown class Migrations\Db\Adapter\ReflectionProperty.
cs-stan / Coding Standard & Static Analysis: src/Db/Adapter/PdoAdapter.php#L651
Call to an undefined method Cake\Database\Connection::getAttribute().
cs-stan / Coding Standard & Static Analysis: src/Db/Adapter/SqlserverAdapter.php#L1
Ignored error pattern #^Parameter \#4 \$options of method Migrations\\Db\\Adapter\\PdoAdapter\:\:createPdoConnection\(\) expects array\<int, mixed\>, array\<int\|string, mixed\> given\.$# in path /home/runner/work/migrations/migrations/src/Db/Adapter/SqlserverAdapter.php was not matched in reported errors.
cs-stan / Coding Standard & Static Analysis: src/Db/Adapter/SqlserverAdapter.php#L1278
Access to an undefined property Migrations\Db\Adapter\SqlserverAdapter::$decoratedConnection.
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 1.
cs-stan / Coding Standard & Static Analysis: src/Db/Adapter/MysqlAdapter.php#L12
Type Cake\Database\Driver\Mysql (as MysqlDriver) is not used in this file.
cs-stan / Coding Standard & Static Analysis: src/Db/Adapter/MysqlAdapter.php#L20
Type PDO is not used in this file.
cs-stan / Coding Standard & Static Analysis: src/Db/Adapter/MysqlAdapter.php#L22
Type RuntimeException is not used in this file.
cs-stan / Coding Standard & Static Analysis: src/Db/Adapter/MysqlAdapter.php#L23
Type UnexpectedValueException is not used in this file.
cs-stan / Coding Standard & Static Analysis: src/Db/Adapter/MysqlAdapter.php#L109
Missing doc comment for function setConnection()
cs-stan / Coding Standard & Static Analysis: src/Db/Adapter/MysqlAdapter.php#L111
Use single instead of double quotes for simple strings.
cs-stan / Coding Standard & Static Analysis: src/Db/Adapter/MysqlAdapter.php#L1253
Use single instead of double quotes for simple strings.
cs-stan / Coding Standard & Static Analysis: src/Db/Adapter/PostgresAdapter.php#L12
Type Cake\Database\Driver\Postgres (as PostgresDriver) is not used in this file.
cs-stan / Coding Standard & Static Analysis: src/Db/Adapter/PostgresAdapter.php#L21
Type PDOException is not used in this file.
UndefinedClass: src/Db/Adapter/PdoAdapter.php#L222
src/Db/Adapter/PdoAdapter.php:222:21: UndefinedClass: Class, interface or enum named Migrations\Db\Adapter\ReflectionProperty does not exist (see https://psalm.dev/019)
UndefinedMethod: src/Db/Adapter/PdoAdapter.php#L651
src/Db/Adapter/PdoAdapter.php:651:40: UndefinedMethod: Method Cake\Database\Connection::getAttribute does not exist (see https://psalm.dev/022)
UndefinedThisPropertyAssignment: src/Db/Adapter/SqlserverAdapter.php#L1278
src/Db/Adapter/SqlserverAdapter.php:1278:16: UndefinedThisPropertyAssignment: Instance property Migrations\Db\Adapter\SqlserverAdapter::$decoratedConnection is not defined (see https://psalm.dev/040)
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 2.
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.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/.
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.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.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/.
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.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/.
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/.
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/