Skip to content

Commit

Permalink
Adjust baseline to phpstan 1.12.12
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsunet committed Dec 7, 2024
1 parent c0a0c71 commit 49f23e4
Showing 1 changed file with 2 additions and 37 deletions.
39 changes: 2 additions & 37 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -1,25 +1,5 @@
parameters:
ignoreErrors:
-
message: "#^Readonly property Neos\\\\ContentRepository\\\\Core\\\\Infrastructure\\\\Property\\\\PropertyType\\:\\:\\$arrayOfType is already assigned\\.$#"
count: 1
path: Neos.ContentRepository.Core/Classes/Infrastructure/Property/PropertyType.php

-
message: "#^Parameter \\#1 \\$iterator of function iterator_to_array expects Traversable, iterable\\<int, array\\<string, mixed\\>\\> given\\.$#"
count: 1
path: Neos.ContentRepository.LegacyNodeMigration/Classes/Processors/SitesExportProcessor.php

-
message: "#^The internal method \"Neos\\\\ContentRepository\\\\Core\\\\Infrastructure\\\\Property\\\\PropertyConverter\\:\\:deserializePropertyValue\" is called\\.$#"
count: 1
path: Neos.ContentRepository.NodeMigration/src/Transformation/AddNewPropertyTransformationFactory.php

-
message: "#^The internal method \"Neos\\\\ContentRepository\\\\Core\\\\Infrastructure\\\\Property\\\\PropertyConverter\\:\\:deserializePropertyValue\" is called\\.$#"
count: 1
path: Neos.ContentRepository.NodeMigration/src/Transformation/ChangePropertyValueTransformationFactory.php

-
message: "#^The internal method \"Neos\\\\ContentRepository\\\\Core\\\\Projection\\\\Projections\\:\\:getClassNames\" is called\\.$#"
count: 1
Expand Down Expand Up @@ -81,7 +61,7 @@ parameters:
path: Neos.Neos/Classes/Controller/Module/Administration/UsersController.php

-
message: "#^Method Neos\\\\Neos\\\\Controller\\\\Module\\\\Administration\\\\UsersController\\:\\:getAuthenticationProviders\\(\\) should return array\\<string\\> but returns array\\<array\\<string, mixed\\>\\>\\.$#"
message: "#^Method Neos\\\\Neos\\\\Controller\\\\Module\\\\Administration\\\\UsersController\\:\\:getAuthenticationProviders\\(\\) should return array\\<string\\> but returns array\\<int, array\\<string, mixed\\>\\>\\.$#"
count: 1
path: Neos.Neos/Classes/Controller/Module/Administration/UsersController.php

Expand Down Expand Up @@ -155,11 +135,6 @@ parameters:
count: 1
path: Neos.Neos/Classes/Controller/Service/NodesController.php

-
message: "#^The internal method \"Neos\\\\ContentRepository\\\\Core\\\\Feature\\\\NodeDuplication\\\\Dto\\\\NodeSubtreeSnapshot\\:\\:walk\" is called\\.$#"
count: 1
path: Neos.Neos/Classes/Domain/Service/NodeDuplication/NodeAggregateIdMapping.php

-
message: "#^The internal method \"Neos\\\\ContentRepository\\\\Core\\\\Infrastructure\\\\SchemaServiceInterface\\:\\:columnForDimensionSpacePointHash\" is called\\.$#"
count: 2
Expand All @@ -185,16 +160,6 @@ parameters:
count: 1
path: Neos.Neos/Classes/FrontendRouting/Projection/DocumentUriPathSchemaBuilder.php

-
message: "#^Parameter \\#1 \\$iterator of function iterator_to_array expects Traversable, iterable\\<Neos\\\\ContentRepository\\\\Core\\\\Projection\\\\ContentGraph\\\\Node\\> given\\.$#"
count: 2
path: Neos.Neos/Classes/Fusion/Helper/CachingHelper.php

-
message: "#^Parameter \\#1 \\$iterator of function iterator_to_array expects Traversable, iterable\\<string\\> given\\.$#"
count: 1
path: Neos.Neos/Classes/Fusion/Helper/CachingHelper.php

-
message: "#^The internal method \"Neos\\\\ContentRepository\\\\Core\\\\Infrastructure\\\\SchemaServiceInterface\\:\\:columnForContentStreamId\" is called\\.$#"
count: 1
Expand Down Expand Up @@ -286,7 +251,7 @@ parameters:
path: Neos.Neos/Classes/ResourceManagement/NodeTypesStreamWrapper.php

-
message: "#^Parameter \\#2 \\$length of function fread expects int\\<0, max\\>, int given\\.$#"
message: "#^Parameter \\#2 \\$length of function fread expects int\\<1, max\\>, int given\\.$#"
count: 1
path: Neos.Neos/Classes/ResourceManagement/NodeTypesStreamWrapper.php

Expand Down

0 comments on commit 49f23e4

Please sign in to comment.