Skip to content

Create PHPStan.yml #1767

Create PHPStan.yml

Create PHPStan.yml #1767

Triggered via push November 15, 2024 11:29
Status Failure
Total duration 28s
Artifacts

PHPStan.yml

on: push
Matrix: run
Fit to window
Zoom out
Zoom in

Annotations

14 errors
Run PHPStan with PHP 8.3 on ubuntu-latest: src/firehub.FireHub.php#L267
PHPDoc tag @SuppressWarnings has invalid value ((PHPMD.UnusedPrivateMethod) PHPMD has a bug where it reports unused method unless directory called.): Unexpected token ".UnusedPrivateMethod)", expected ')' at offset 465 on line 14
Run PHPStan with PHP 8.3 on ubuntu-latest: src/initializers/autoload/firehub.Callback.php#L120
Parameter #1 $path of static method FireHub\Core\Support\LowLevel\File::isFile() expects non-empty-string, mixed given.
Run PHPStan with PHP 8.3 on ubuntu-latest: src/support/lowlevel/firehub.Arr.php#L97
PHPDoc tag @SuppressWarnings has invalid value ((PHPMD.BooleanArgumentFlag)): Unexpected token ".BooleanArgumentFlag)", expected ')' at offset 84 on line 5
Run PHPStan with PHP 8.3 on ubuntu-latest: src/support/lowlevel/firehub.Arr.php#L98
PHPDoc tag @SuppressWarnings has invalid value ((PHPMD.TooManyMethods)): Unexpected token ".TooManyMethods)", expected ')' at offset 132 on line 6
Run PHPStan with PHP 8.3 on ubuntu-latest: src/support/lowlevel/firehub.Arr.php#L99
PHPDoc tag @SuppressWarnings has invalid value ((PHPMD.TooManyPublicMethods)): Unexpected token ".TooManyPublicMethods)", expected ')' at offset 175 on line 7
Run PHPStan with PHP 8.3 on ubuntu-latest: src/support/lowlevel/firehub.Arr.php#L100
PHPDoc tag @SuppressWarnings has invalid value ((PHPMD.ExcessiveClassLength)): Unexpected token ".ExcessiveClassLength)", expected ')' at offset 224 on line 8
Run PHPStan with PHP 8.3 on ubuntu-latest: src/support/lowlevel/firehub.Arr.php#L101
PHPDoc tag @SuppressWarnings has invalid value ((PHPMD.ExcessivePublicCount)): Unexpected token ".ExcessivePublicCount)", expected ')' at offset 273 on line 9
Run PHPStan with PHP 8.3 on ubuntu-latest: src/support/lowlevel/firehub.Arr.php#L102
PHPDoc tag @SuppressWarnings has invalid value ((PHPMD.ExcessiveClassComplexity)): Unexpected token ".ExcessiveClassComplexity)", expected ')' at offset 322 on line 10
Run PHPStan with PHP 8.3 on ubuntu-latest: src/support/lowlevel/firehub.Arr.php#L1550
Parameter &$array @param-out type of method FireHub\Core\Support\LowLevel\Arr::splice() expects array<TKey of (int|string), TValue>, array<TKey of (int|string), mixed> given.
Run PHPStan with PHP 8.3 on ubuntu-latest: src/support/lowlevel/firehub.Cls.php#L32
PHPDoc tag @SuppressWarnings has invalid value ((PHPMD.BooleanArgumentFlag)): Unexpected token ".BooleanArgumentFlag)", expected ')' at offset 144 on line 7
Run PHPStan with PHP 8.3 on macOS-latest
The job was canceled because "ubuntu-latest_8_3" failed.
Run PHPStan with PHP 8.3 on macOS-latest
The operation was canceled.
Run PHPStan with PHP 8.3 on windows-latest
The job was canceled because "ubuntu-latest_8_3" failed.
Run PHPStan with PHP 8.3 on windows-latest
The operation was canceled.