Skip to content

Commit

Permalink
[PHPStan] Dropped obsolete baseline files for PHP <8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
alongosz committed Dec 13, 2024
1 parent 1afd8a2 commit a18b9be
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 122 deletions.
41 changes: 0 additions & 41 deletions phpstan-baseline-7.4.neon

This file was deleted.

6 changes: 0 additions & 6 deletions phpstan-baseline-8.0-specific.neon

This file was deleted.

51 changes: 0 additions & 51 deletions phpstan-baseline-8.0.neon

This file was deleted.

50 changes: 50 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,31 @@ parameters:
count: 1
path: src/lib/Input/Handler/Json.php

-
message: "#^Access to an undefined property DOMNode\\:\\:\\$data\\.$#"
count: 2
path: src/lib/Input/Handler/Xml.php

-
message: "#^Access to an undefined property DOMNode\\:\\:\\$tagName\\.$#"
count: 2
path: src/lib/Input/Handler/Xml.php

-
message: "#^Access to an undefined property DOMNode\\:\\:\\$wholeText\\.$#"
count: 2
path: src/lib/Input/Handler/Xml.php

-
message: "#^Call to an undefined method DOMNode\\:\\:getAttribute\\(\\)\\.$#"
count: 1
path: src/lib/Input/Handler/Xml.php

-
message: "#^Call to an undefined method DOMNode\\:\\:hasAttribute\\(\\)\\.$#"
count: 1
path: src/lib/Input/Handler/Xml.php

-
message: "#^Method Ibexa\\\\Rest\\\\Input\\\\Handler\\\\Xml\\:\\:convert\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
Expand Down Expand Up @@ -565,6 +590,11 @@ parameters:
count: 1
path: src/lib/Input/Handler/Xml.php

-
message: "#^Parameter \\#1 \\$domElement of method Ibexa\\\\Rest\\\\Input\\\\Handler\\\\Xml\\:\\:parseFieldTypeHash\\(\\) expects DOMElement, DOMNode given\\.$#"
count: 1
path: src/lib/Input/Handler/Xml.php

-
message: "#^Property Ibexa\\\\Rest\\\\Input\\\\Handler\\\\Xml\\:\\:\\$fieldTypeHashElements has no type specified\\.$#"
count: 1
Expand Down Expand Up @@ -1215,6 +1245,11 @@ parameters:
count: 1
path: src/lib/Server/Controller/ContentType.php

-
message: "#^Parameter \\#2 \\.\\.\\.\\$arrays of function array_merge expects array, iterable\\<Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\ContentType\\\\ContentType\\> given\\.$#"
count: 1
path: src/lib/Server/Controller/ContentType.php

-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
Expand Down Expand Up @@ -1445,6 +1480,11 @@ parameters:
count: 1
path: src/lib/Server/Controller/Role.php

-
message: "#^Parameter \\#1 \\$array of function array_slice expects array, iterable\\<Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\User\\\\Role\\> given\\.$#"
count: 1
path: src/lib/Server/Controller/Role.php

-
message: "#^Parameter \\#1 \\$locationId of method Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\LocationService\\:\\:loadLocation\\(\\) expects int, string given\\.$#"
count: 4
Expand All @@ -1470,6 +1510,11 @@ parameters:
count: 3
path: src/lib/Server/Controller/Role.php

-
message: "#^Parameter \\#1 \\.\\.\\.\\$arrays of function array_merge expects array, iterable\\<Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\User\\\\Policy\\> given\\.$#"
count: 1
path: src/lib/Server/Controller/Role.php

-
message: "#^Parameter \\#2 \\$policy of method Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\RoleService\\:\\:updatePolicyByRoleDraft\\(\\) expects Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\User\\\\PolicyDraft, Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\User\\\\Policy given\\.$#"
count: 2
Expand Down Expand Up @@ -3420,6 +3465,11 @@ parameters:
count: 1
path: tests/bundle/EventListener/EventListenerTest.php

-
message: "#^Parameter \\#1 \\$string of function base64_encode expects string, string\\|false given\\.$#"
count: 1
path: tests/bundle/Functional/BinaryContentTest.php

-
message: "#^Method Ibexa\\\\Tests\\\\Bundle\\\\Rest\\\\Functional\\\\ContentTest\\:\\:assertTranslationDoesNotExist\\(\\) has parameter \\$versionItem with no value type specified in iterable type array\\.$#"
count: 1
Expand Down
23 changes: 0 additions & 23 deletions phpstan-baseline.neon.php

This file was deleted.

1 change: 0 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ includes:
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-symfony/extension.neon
- vendor/phpstan/phpstan-webmozart-assert/extension.neon
- phpstan-baseline.neon.php
- phpstan-baseline.neon

parameters:
Expand Down

0 comments on commit a18b9be

Please sign in to comment.