Skip to content

Phpstan level 6

Phpstan level 6 #63

Triggered via pull request May 2, 2025 16:03
Status Failure
Total duration 43s
Artifacts

test.yaml

on: pull_request
Matrix: Rector
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

32 errors
Tests (8.4)
Process completed with exit code 1.
Tests (8.4): tests/StrictPoLoaderTest.php#L39
Offset 0 does not exist on array<string, string>.
Tests (8.4): tests/CommentsTest.php#L56
Parameter #1 $state of static method Gettext\Comments::__set_state() expects array<string, string>, array<string, array<int, string>> given.
Tests (8.4): src/Comments.php#L62
Call to function is_int() with string|false will always evaluate to false.
Tests (8.3)
Process completed with exit code 1.
Tests (8.3): tests/StrictPoLoaderTest.php#L39
Offset 0 does not exist on array<string, string>.
Tests (8.3): tests/CommentsTest.php#L56
Parameter #1 $state of static method Gettext\Comments::__set_state() expects array<string, string>, array<string, array<int, string>> given.
Tests (8.3): src/Comments.php#L62
Call to function is_int() with string|false will always evaluate to false.
Tests (7.3)
Process completed with exit code 1.
Tests (7.3): tests/StrictPoLoaderTest.php#L39
Offset 0 does not exist on array<string, string>.
Tests (7.3): tests/CommentsTest.php#L56
Parameter #1 $state of static method Gettext\Comments::__set_state() expects array<string, string>, array<string, array<int, string>> given.
Tests (7.3): src/Comments.php#L62
Call to function is_int() with string|false will always evaluate to false.
Tests (8.1)
Process completed with exit code 1.
Tests (8.1): tests/StrictPoLoaderTest.php#L39
Offset 0 does not exist on array<string, string>.
Tests (8.1): tests/CommentsTest.php#L56
Parameter #1 $state of static method Gettext\Comments::__set_state() expects array<string, string>, array<string, array<int, string>> given.
Tests (8.1): src/Comments.php#L62
Call to function is_int() with string|false will always evaluate to false.
Tests (8.2)
Process completed with exit code 1.
Tests (8.2): tests/StrictPoLoaderTest.php#L39
Offset 0 does not exist on array<string, string>.
Tests (8.2): tests/CommentsTest.php#L56
Parameter #1 $state of static method Gettext\Comments::__set_state() expects array<string, string>, array<string, array<int, string>> given.
Tests (8.2): src/Comments.php#L62
Call to function is_int() with string|false will always evaluate to false.
Tests (8)
Process completed with exit code 1.
Tests (8): tests/StrictPoLoaderTest.php#L39
Offset 0 does not exist on array<string, string>.
Tests (8): tests/CommentsTest.php#L56
Parameter #1 $state of static method Gettext\Comments::__set_state() expects array<string, string>, array<string, array<int, string>> given.
Tests (8): src/Comments.php#L62
Call to function is_int() with string|false will always evaluate to false.
Tests (7.4)
Process completed with exit code 1.
Tests (7.4): tests/StrictPoLoaderTest.php#L39
Offset 0 does not exist on array<string, string>.
Tests (7.4): tests/CommentsTest.php#L56
Parameter #1 $state of static method Gettext\Comments::__set_state() expects array<string, string>, array<string, array<int, string>> given.
Tests (7.4): src/Comments.php#L62
Call to function is_int() with string|false will always evaluate to false.
Tests (7.2)
Process completed with exit code 1.
Tests (7.2): tests/StrictPoLoaderTest.php#L39
Offset 0 does not exist on array<string, string>.
Tests (7.2): tests/CommentsTest.php#L56
Parameter #1 $state of static method Gettext\Comments::__set_state() expects array<string, string>, array<string, array<int, string>> given.
Tests (7.2): src/Comments.php#L62
Call to function is_int() with string|false will always evaluate to false.