Skip to content

Add shim for date filter #274

Add shim for date filter

Add shim for date filter #274

Triggered via pull request June 30, 2024 04:26
Status Failure
Total duration 46s
Artifacts

ci.yml

on: pull_request
cs-stan  /  Coding Standard & Static Analysis
28s
cs-stan / Coding Standard & Static Analysis
Matrix: testsuite / testsuite-linux
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 5 warnings
testsuite / testsuite-linux (8.1, lowest, false)
Process completed with exit code 2.
cs-stan / Coding Standard & Static Analysis: src/Twig/Extension/TimeExtension.php#L77
PHPDoc tag @param for parameter $date with type Chronos\ChronosDate|DateInterval|DateTimeInterface|string is not subtype of native type Cake\Chronos\ChronosDate|DateInterval|DateTimeInterface|string.
cs-stan / Coding Standard & Static Analysis: src/Twig/Extension/TimeExtension.php#L78
Parameter $date of method Cake\TwigView\Twig\Extension\TimeExtension::formatDate() has invalid type Chronos\ChronosDate.
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 1.
cs-stan / Coding Standard & Static Analysis: tests/TestCase/View/TwigViewTest.php#L142
Found more than a single empty line between content
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 1.
UndefinedDocblockClass: src/Twig/Extension/TimeExtension.php#L73
src/Twig/Extension/TimeExtension.php:73:15: UndefinedDocblockClass: Docblock-defined class, interface or enum named Chronos\ChronosDate does not exist (see https://psalm.dev/200)
MismatchingDocblockParamType: src/Twig/Extension/TimeExtension.php#L73
src/Twig/Extension/TimeExtension.php:73:15: MismatchingDocblockParamType: Parameter $date has wrong type 'Chronos\ChronosDate|DateInterval|DateTimeInterface|string', should be 'Cake\Chronos\ChronosDate|DateInterval|DateTimeInterface|string' (see https://psalm.dev/141)
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 2.
testsuite / testsuite-linux (8.2, 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.3, 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, 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/.
testsuite / testsuite-linux (8.1, 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/.
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/.