Update Adapter classes to use Connection pt1 #522
ci.yml
on: pull_request
Windows - PHP 8.1 & SQL Server
1m 14s
cs-stan
/
Coding Standard & Static Analysis
45s
Matrix: testsuite-linux
Annotations
35 errors and 11 warnings
testsuite-linux (8.1, sqlite)
Process completed with exit code 139.
|
testsuite-linux (8.1, sqlite, prefer-lowest)
Process completed with exit code 139.
|
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#L117
Parameter #1 $connection of method Migrations\Db\Adapter\PdoAdapter::setConnection() expects Cake\Database\Connection, PDO given.
|
cs-stan / Coding Standard & Static Analysis:
src/Db/Adapter/SqlserverAdapter.php#L158
Parameter #1 $connection of method Migrations\Db\Adapter\PdoAdapter::setConnection() expects Cake\Database\Connection, PDO given.
|
cs-stan / Coding Standard & Static Analysis:
src/Db/Adapter/SqlserverAdapter.php#L366
Call to an undefined method Cake\Database\Connection::quote().
|
cs-stan / Coding Standard & Static Analysis:
src/Db/Adapter/SqlserverAdapter.php#L1372
Access to an undefined property Migrations\Db\Adapter\SqlserverAdapter::$decoratedConnection.
|
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#L20
Type PDO 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)
|
InvalidArgument:
src/Db/Adapter/SqlserverAdapter.php#L117
src/Db/Adapter/SqlserverAdapter.php:117:34: InvalidArgument: Argument 1 of Migrations\Db\Adapter\SqlserverAdapter::setConnection expects Cake\Database\Connection, but PDO provided (see https://psalm.dev/004)
|
InvalidArgument:
src/Db/Adapter/SqlserverAdapter.php#L158
src/Db/Adapter/SqlserverAdapter.php:158:30: InvalidArgument: Argument 1 of Migrations\Db\Adapter\SqlserverAdapter::setConnection expects Cake\Database\Connection, but PDO provided (see https://psalm.dev/004)
|
UndefinedMethod:
src/Db/Adapter/SqlserverAdapter.php#L366
src/Db/Adapter/SqlserverAdapter.php:366:102: UndefinedMethod: Method Cake\Database\Connection::quote does not exist (see https://psalm.dev/022)
|
UndefinedThisPropertyAssignment:
src/Db/Adapter/SqlserverAdapter.php#L1372
src/Db/Adapter/SqlserverAdapter.php:1372: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, pgsql)
Process completed with exit code 2.
|
testsuite-linux (8.2, sqlite)
Process completed with exit code 139.
|
testsuite-linux (8.1, pgsql)
Process completed with exit code 2.
|
testsuite-linux (8.1, mysql)
Process completed with exit code 2.
|
testsuite-linux (8.2, mysql)
Process completed with exit code 2.
|
Windows - PHP 8.1 & SQL Server
Process completed with exit code 1.
|
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, 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/.
|
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, 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.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, 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. 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. 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/
|