Merge branch 'develop' into php8.1 #180
Annotations
15 errors and 4 warnings
Show PHPCS results in PR
Process completed with exit code 1.
|
Run PHP CodeSniffer
Process completed with exit code 1.
|
Run psalm:
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)
|
Run psalm:
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)
|
Run psalm:
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)
|
Run psalm:
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)
|
Run psalm:
src/Entity.php#L1
src/Entity.php:0:0: UnusedBaselineEntry: Baseline for issue "PossiblyInvalidPropertyAssignmentValue" has 1 extra entry. (see https://psalm.dev/316)
|
Run psalm
Process completed with exit code 2.
|
Run phpstan:
tests/TestCase/Command/LinkScannerCommandTest.php#L223
Cannot call method messages() on Cake\Console\TestSuite\StubConsoleOutput|null.
|
Run phpstan:
tests/TestCase/Command/LinkScannerCommandTest.php#L232
Cannot call method messages() on Cake\Console\TestSuite\StubConsoleOutput|null.
|
Run phpstan:
tests/TestCase/Command/LinkScannerCommandTest.php#L288
Cannot call method messages() on Cake\Console\TestSuite\StubConsoleOutput|null.
|
Run phpstan:
tests/TestCase/ScanEntityTest.php#L96
Access to an undefined property LinkScanner\ScanEntity::$key.
|
Run phpstan
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.
|
Run phpstan
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.
|
Run phpstan
Process completed with exit code 1.
|
Show PHPCS results in PR:
src/TestSuite/TestCase.php#L44
Silencing errors is discouraged; found: @Unlink(LINK_SCANNER_TMP...
|
Show PHPCS results in PR:
src/TestSuite/TestCase.php#L134
Silencing errors is discouraged; found: @unserialize(file_get_contents...
|
Show PHPCS results in PR:
src/TestSuite/TestCase.php#L136
Silencing errors is discouraged; found: @unserialize(file_get_contents...
|
Show PHPCS results in PR:
src/Utility/LinkScanner.php#L448
Silencing errors is discouraged; found: @Unlink($this...
|
The logs for this run have expired and are no longer available.
Loading