Skip to content

fix phpstan

fix phpstan #1649

Triggered via push February 4, 2025 11:23
Status Failure
Total duration 1m 16s
Artifacts

ci.yml

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

Annotations

10 errors
PHP 8.4 on ubuntu-latest: src/Graph/Nodes/Best.php#L1
Ignored error pattern #^Method Rubix\\ML\\Graph\\Nodes\\Best\:\:__construct\(\) has Rubix\\ML\\Exceptions\\InvalidArgumentException in PHPDoc @throws tag but it's not thrown\.$# (throws.unusedType) in path /home/runner/work/ML/ML/src/Graph/Nodes/Best.php was not matched in reported errors.
PHP 8.4 on ubuntu-latest: src/Graph/Nodes/Depth.php#L1
Ignored error pattern #^Method Rubix\\ML\\Graph\\Nodes\\Depth\:\:__construct\(\) has Rubix\\ML\\Exceptions\\InvalidArgumentException in PHPDoc @throws tag but it's not thrown\.$# (throws.unusedType) in path /home/runner/work/ML/ML/src/Graph/Nodes/Depth.php was not matched in reported errors.
PHP 8.4 on ubuntu-latest: src/Graph/Nodes/Isolator.php#L1
Ignored error pattern #^Method Rubix\\ML\\Graph\\Nodes\\Isolator\:\:__construct\(\) has Rubix\\ML\\Exceptions\\InvalidArgumentException in PHPDoc @throws tag but it's not thrown\.$# (throws.unusedType) in path /home/runner/work/ML/ML/src/Graph/Nodes/Isolator.php was not matched in reported errors.
PHP 8.4 on ubuntu-latest: src/Graph/Nodes/Split.php#L1
Ignored error pattern #^Method Rubix\\ML\\Graph\\Nodes\\Split\:\:__construct\(\) has Rubix\\ML\\Exceptions\\InvalidArgumentException in PHPDoc @throws tag but it's not thrown\.$# (throws.unusedType) in path /home/runner/work/ML/ML/src/Graph/Nodes/Split.php was not matched in reported errors.
PHP 8.4 on ubuntu-latest: src/Specifications/SpecificationChain.php#L1
Ignored error pattern #^Method Rubix\\ML\\Specifications\\SpecificationChain\:\:__construct\(\) has Rubix\\ML\\Exceptions\\InvalidArgumentException in PHPDoc @throws tag but it's not thrown\.$# (throws.unusedType) in path /home/runner/work/ML/ML/src/Specifications/SpecificationChain.php was not matched in reported errors.
PHP 8.4 on ubuntu-latest
Process completed with exit code 1.
PHP 8.4 on macos-latest
The job was canceled because "ubuntu-latest_8_4" failed.
PHP 8.4 on macos-latest
The operation was canceled.
PHP 8.4 on windows-latest
The job was canceled because "ubuntu-latest_8_4" failed.
PHP 8.4 on windows-latest
The operation was canceled.