Skip to content

inspection fixes

inspection fixes #380

Triggered via push September 21, 2023 03:11
Status Failure
Total duration 3m 29s
Artifacts

main.yml

on: push
autoformat
12s
autoformat
Matrix: code-tests
Matrix: codestyle-tests
Matrix: custom
Matrix: static-tests
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 8 warnings
autoformat
Process completed with exit code 127.
static-tests (8.1): Algorithm/Clustering/DBSCAN.php#L56
Property phpOMS\Algorithm\Clustering\DBSCAN::$noisePoints is never read, only written.
static-tests (8.1): Algorithm/Clustering/DBSCAN.php#L158
Property phpOMS\Algorithm\Clustering\DBSCAN::$clusters (array<int, array{x: float, y: float}>) does not accept non-empty-array<int, non-empty-array<'x'|'y'|int<0, max>, mixed>>.
static-tests (8.1): Algorithm/Clustering/DBSCAN.php#L232
Cannot access property $coordinates on float.
static-tests (8.1): Algorithm/Clustering/DBSCAN.php#L240
Parameter #1 $point of static method phpOMS\Math\Geometry\Shape\D2\Polygon::isPointInPolygon() expects array{x: float|int, y: float|int}, array given.
static-tests (8.1): Algorithm/Clustering/DBSCAN.php#L267
Property phpOMS\Algorithm\Clustering\DBSCAN::$distanceMatrix (array<array<float>>) does not accept array<float>.
static-tests (8.1): Algorithm/Clustering/DBSCAN.php#L270
Property phpOMS\Algorithm\Clustering\DBSCAN::$clusters (array<int, array{x: float, y: float}>) does not accept non-empty-array<int, array{}|array{x: float, y: float}>.
static-tests (8.1): Algorithm/Clustering/DBSCAN.php#L276
Property phpOMS\Algorithm\Clustering\DBSCAN::$noisePoints (array<phpOMS\Algorithm\Clustering\PointInterface>) does not accept array<phpOMS\Algorithm\Clustering\PointInterface|string>.
static-tests (8.1): Algorithm/Clustering/DBSCAN.php#L280
Property phpOMS\Algorithm\Clustering\DBSCAN::$clusters (array<int, array{x: float, y: float}>) does not accept non-empty-array<int, array{}|array{x: float, y: float}>.
static-tests (8.1): Algorithm/Clustering/MeanShift.php#L57
Property phpOMS\Algorithm\Clustering\MeanShift::$points is unused.
static-tests (8.1): Algorithm/Clustering/MeanShift.php#L65
Property phpOMS\Algorithm\Clustering\MeanShift::$noisePoints is never read, only written.
code-tests (8.1)
Process completed with exit code 2.
autoformat
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
autoformat
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
codestyle-tests (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
codestyle-tests (8.1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
static-tests (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
static-tests (8.1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
code-tests (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
code-tests (8.1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/