More unit tests #7156
backend.yml
on: push
Code Quality
34s
Coding Style
55s
Matrix: tests
Annotations
16 errors and 7 warnings
MethodSignatureMismatch:
src/Content/LabPage.php#L53
src/Content/LabPage.php:53:2: MethodSignatureMismatch: Method Kirby\Content\LabPage::save with return type 'Kirby\Content\LabPage' is different to return type 'Kirby\Cms\PageActions' of inherited method Kirby\Cms\PageActions::save (see https://psalm.dev/042)
|
UndefinedClass:
src/Content/Translation.php#L48
src/Content/Translation.php:48:3: UndefinedClass: Class, interface or enum named Kirby\Content\Helpers does not exist (see https://psalm.dev/019)
|
UndefinedClass:
src/Content/Translation.php#L60
src/Content/Translation.php:60:3: UndefinedClass: Class, interface or enum named Kirby\Content\Helpers does not exist (see https://psalm.dev/019)
|
UndefinedClass:
src/Content/Translation.php#L71
src/Content/Translation.php:71:3: UndefinedClass: Class, interface or enum named Kirby\Content\Helpers does not exist (see https://psalm.dev/019)
|
UndefinedClass:
src/Content/Translation.php#L106
src/Content/Translation.php:106:3: UndefinedClass: Class, interface or enum named Kirby\Content\Helpers does not exist (see https://psalm.dev/019)
|
UndefinedClass:
src/Content/Translation.php#L126
src/Content/Translation.php:126:3: UndefinedClass: Class, interface or enum named Kirby\Content\Helpers does not exist (see https://psalm.dev/019)
|
Unit tests - PHP 8.3
Process completed with exit code 2.
|
Unit tests - PHP 8.3
Process completed with exit code 2.
|
MethodSignatureMismatch:
src/Content/LabPage.php#L53
src/Content/LabPage.php:53:2: MethodSignatureMismatch: Method Kirby\Content\LabPage::save with return type 'Kirby\Content\LabPage' is different to return type 'Kirby\Cms\PageActions' of inherited method Kirby\Cms\PageActions::save (see https://psalm.dev/042)
|
UndefinedClass:
src/Content/Translation.php#L48
src/Content/Translation.php:48:3: UndefinedClass: Class, interface or enum named Kirby\Content\Helpers does not exist (see https://psalm.dev/019)
|
UndefinedClass:
src/Content/Translation.php#L60
src/Content/Translation.php:60:3: UndefinedClass: Class, interface or enum named Kirby\Content\Helpers does not exist (see https://psalm.dev/019)
|
UndefinedClass:
src/Content/Translation.php#L71
src/Content/Translation.php:71:3: UndefinedClass: Class, interface or enum named Kirby\Content\Helpers does not exist (see https://psalm.dev/019)
|
UndefinedClass:
src/Content/Translation.php#L106
src/Content/Translation.php:106:3: UndefinedClass: Class, interface or enum named Kirby\Content\Helpers does not exist (see https://psalm.dev/019)
|
UndefinedClass:
src/Content/Translation.php#L126
src/Content/Translation.php:126:3: UndefinedClass: Class, interface or enum named Kirby\Content\Helpers does not exist (see https://psalm.dev/019)
|
Unit tests - PHP 8.2
Process completed with exit code 2.
|
Unit tests - PHP 8.2
Process completed with exit code 2.
|
Code Quality
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744, actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c, github/codeql-action/upload-sarif@4a8f20f6b9b5114f354129a1e2f391d75bfd640a. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Code Quality
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
|
Coding Style
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744, actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Unit tests - PHP 8.3
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744, actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c, github/codeql-action/upload-sarif@4a8f20f6b9b5114f354129a1e2f391d75bfd640a. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Unit tests - PHP 8.3
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
|
Unit tests - PHP 8.2
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744, actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c, github/codeql-action/upload-sarif@4a8f20f6b9b5114f354129a1e2f391d75bfd640a. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Unit tests - PHP 8.2
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
|