Skip to content

Merge branch 'develop' into php8.1 #180

Merge branch 'develop' into php8.1

Merge branch 'develop' into php8.1 #180

Triggered via push January 7, 2024 11:37
Status Failure
Total duration 51s
Artifacts

ci.yml

on: push
Coding Standard & Static Analysis
24s
Coding Standard & Static Analysis
Windows - PHP 8.2
41s
Windows - PHP 8.2
Matrix: testsuite
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 11 warnings
Coding Standard & Static Analysis
Process completed with exit code 1.
Coding Standard & Static Analysis
Process completed with exit code 1.
MissingTemplateParam: src/ScanEntity.php#L27
src/ScanEntity.php:27:29: MissingTemplateParam: LinkScanner\ScanEntity has missing template params when extending ArrayAccess, expecting 2 (see https://psalm.dev/182)
PossiblyNullArrayOffset: src/ScanEntity.php#L95
src/ScanEntity.php:95:9: PossiblyNullArrayOffset: Cannot access value on variable $this->properties[$offset] using possibly null offset mixed|null (see https://psalm.dev/125)
ArgumentTypeCoercion: src/TestSuite/TestCase.php#L71
src/TestSuite/TestCase.php:71:69: ArgumentTypeCoercion: Argument 1 of PHPUnit\Framework\MockObject\MockBuilder::onlyMethods expects list<non-empty-string>, but parent type array<array-key, mixed> provided (see https://psalm.dev/193)
MissingTemplateParam: src/Utility/LinkScanner.php#L42
src/Utility/LinkScanner.php:42:9: MissingTemplateParam: LinkScanner\Utility\LinkScanner has missing template params when extending Cake\Event\EventDispatcherTrait, expecting 1 (see https://psalm.dev/182)
UnusedBaselineEntry: src/Entity.php#L1
src/Entity.php:0:0: UnusedBaselineEntry: Baseline for issue "PossiblyInvalidPropertyAssignmentValue" has 1 extra entry. (see https://psalm.dev/316)
Coding Standard & Static Analysis
Process completed with exit code 2.
Coding Standard & Static Analysis: tests/TestCase/Command/LinkScannerCommandTest.php#L223
Cannot call method messages() on Cake\Console\TestSuite\StubConsoleOutput|null.
Coding Standard & Static Analysis: tests/TestCase/Command/LinkScannerCommandTest.php#L232
Cannot call method messages() on Cake\Console\TestSuite\StubConsoleOutput|null.
Coding Standard & Static Analysis: tests/TestCase/Command/LinkScannerCommandTest.php#L288
Cannot call method messages() on Cake\Console\TestSuite\StubConsoleOutput|null.
Coding Standard & Static Analysis: tests/TestCase/ScanEntityTest.php#L96
Access to an undefined property LinkScanner\ScanEntity::$key.
Coding Standard & Static Analysis
Ignored error pattern #^Access to an undefined property LinkScanner\\Entity\:\:\$code\.$# in path /home/runner/work/cakephp-link-scanner/cakephp-link-scanner/tests/TestCase/EntityTest.php was not matched in reported errors.
Coding Standard & Static Analysis
Ignored error pattern #^Access to an undefined property LinkScanner\\Entity\:\:\$noExisting\.$# in path /home/runner/work/cakephp-link-scanner/cakephp-link-scanner/tests/TestCase/EntityTest.php was not matched in reported errors.
Coding Standard & Static Analysis
Process completed with exit code 1.
testsuite (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
testsuite (8.3, prefer-lowest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
testsuite (8.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2, codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Coding Standard & Static Analysis: src/TestSuite/TestCase.php#L44
Silencing errors is discouraged; found: @Unlink(LINK_SCANNER_TMP...
Coding Standard & Static Analysis: src/TestSuite/TestCase.php#L134
Silencing errors is discouraged; found: @unserialize(file_get_contents...
Coding Standard & Static Analysis: src/TestSuite/TestCase.php#L136
Silencing errors is discouraged; found: @unserialize(file_get_contents...
Coding Standard & Static Analysis: src/Utility/LinkScanner.php#L448
Silencing errors is discouraged; found: @Unlink($this...
testsuite (8.1, prefer-lowest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
testsuite (8.3)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
testsuite (8.2, prefer-lowest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2, codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Windows - PHP 8.2
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/