fixed issues reported by phpstan #3
ci.yml
on: push
cs-stan
/
Coding Standard & Static Analysis
24s
Matrix: testsuite / testsuite-linux
Annotations
5 errors and 6 warnings
UndefinedClass:
src/Controller/AppController.php#L8
src/Controller/AppController.php:8:29: UndefinedClass: Class, interface or enum named App\Controller\AppController does not exist (see https://psalm.dev/019)
|
PossiblyInvalidArgument:
src/Datatable/Datatable.php#L436
src/Datatable/Datatable.php:436:52: PossiblyInvalidArgument: Argument 1 of Cake\Utility\Inflector::humanize expects string, but possibly different type array<array-key, string>|string provided (see https://psalm.dev/092)
|
PossiblyNullArgument:
src/Datatable/Datatable.php#L701
src/Datatable/Datatable.php:701:35: PossiblyNullArgument: Argument 1 of class_exists cannot be null, possibly null value provided (see https://psalm.dev/078)
|
TypeDoesNotContainType:
src/View/Helper/DatatableHelper.php#L89
src/View/Helper/DatatableHelper.php:89:13: TypeDoesNotContainType: Type CakeDC\Datatables\Datatable\Datatable for $this->dtInstance is always !non-empty (see https://psalm.dev/056)
|
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 2.
|
testsuite / testsuite-linux (8.2, mysql, false)
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 / testsuite-linux (8.1, pgsql, highest, false)
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 / testsuite-linux (8.1, sqlite, lowest, false)
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 / testsuite-linux (8.3, sqlite, highest, false)
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 / testsuite-linux (8.1, mysql, highest, false)
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/.
|