Skip to content

Commit 927ca85

Browse files
committed
[PHPStan] Aligned baseline with the changes
1 parent ca03e99 commit 927ca85

File tree

1 file changed

+0
-155
lines changed

1 file changed

+0
-155
lines changed

phpstan-baseline.neon

Lines changed: 0 additions & 155 deletions
Original file line numberDiff line numberDiff line change
@@ -24735,16 +24735,6 @@ parameters:
2473524735
count: 1
2473624736
path: tests/bundle/Core/EventListener/OriginalRequestListenerTest.php
2473724737

24738-
-
24739-
message: "#^Method Ibexa\\\\Tests\\\\Bundle\\\\Core\\\\EventListener\\\\RejectExplicitFrontControllerRequestsListenerTest\\:\\:prohibitedRequestDataProvider\\(\\) return type has no value type specified in iterable type array\\.$#"
24740-
count: 1
24741-
path: tests/bundle/Core/EventListener/RejectExplicitFrontControllerRequestsListenerTest.php
24742-
24743-
-
24744-
message: "#^Method Ibexa\\\\Tests\\\\Bundle\\\\Core\\\\EventListener\\\\RejectExplicitFrontControllerRequestsListenerTest\\:\\:validRequestDataProvider\\(\\) return type has no value type specified in iterable type array\\.$#"
24745-
count: 1
24746-
path: tests/bundle/Core/EventListener/RejectExplicitFrontControllerRequestsListenerTest.php
24747-
2474824738
-
2474924739
message: "#^Method Ibexa\\\\Tests\\\\Bundle\\\\Core\\\\EventListener\\\\RequestEventListenerTest\\:\\:testOnKernelRequestForward\\(\\) has no return type specified\\.$#"
2475024740
count: 1
@@ -57265,76 +57255,11 @@ parameters:
5726557255
count: 1
5726657256
path: tests/lib/Repository/Permission/PermissionCriterionResolverTest.php
5726757257

57268-
-
57269-
message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\Base\\:\\:getEventDispatcher\\(\\) should return PHPUnit\\\\Framework\\\\MockObject\\\\MockObject&Symfony\\\\Contracts\\\\EventDispatcher\\\\EventDispatcherInterface but returns Symfony\\\\Contracts\\\\EventDispatcher\\\\EventDispatcherInterface\\.$#"
57270-
count: 1
57271-
path: tests/lib/Repository/Service/Mock/Base.php
57272-
57273-
-
57274-
message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\Base\\:\\:getRelationProcessorMock\\(\\) has no return type specified\\.$#"
57275-
count: 1
57276-
path: tests/lib/Repository/Service/Mock/Base.php
57277-
57278-
-
57279-
message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\Base\\:\\:getRepository\\(\\) has parameter \\$serviceSettings with no value type specified in iterable type array\\.$#"
57280-
count: 1
57281-
path: tests/lib/Repository/Service/Mock/Base.php
57282-
57283-
-
57284-
message: "#^Parameter \\#1 \\$className of method PHPUnit\\\\Framework\\\\TestCase\\:\\:getMockBuilder\\(\\) expects class\\-string\\<mixed\\>, string given\\.$#"
57285-
count: 1
57286-
path: tests/lib/Repository/Service/Mock/Base.php
57287-
5728857258
-
5728957259
message: "#^Parameter \\#2 \\$searchHandler of class Ibexa\\\\Core\\\\Repository\\\\Repository constructor expects Ibexa\\\\Contracts\\\\Core\\\\Search\\\\Handler, PHPUnit\\\\Framework\\\\MockObject\\\\MockObject given\\.$#"
5729057260
count: 1
5729157261
path: tests/lib/Repository/Service/Mock/Base.php
5729257262

57293-
-
57294-
message: "#^Property Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\Base\\:\\:\\$contentDomainMapperMock \\(Ibexa\\\\Core\\\\Repository\\\\Mapper\\\\ContentDomainMapper&PHPUnit\\\\Framework\\\\MockObject\\\\MockObject\\) in isset\\(\\) is not nullable\\.$#"
57295-
count: 1
57296-
path: tests/lib/Repository/Service/Mock/Base.php
57297-
57298-
-
57299-
message: "#^Property Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\Base\\:\\:\\$contentTypeDomainMapperMock \\(Ibexa\\\\Core\\\\Repository\\\\Mapper\\\\ContentTypeDomainMapper&PHPUnit\\\\Framework\\\\MockObject\\\\MockObject\\) in isset\\(\\) is not nullable\\.$#"
57300-
count: 1
57301-
path: tests/lib/Repository/Service/Mock/Base.php
57302-
57303-
-
57304-
message: "#^Property Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\Base\\:\\:\\$fieldTypeRegistryMock has no type specified\\.$#"
57305-
count: 1
57306-
path: tests/lib/Repository/Service/Mock/Base.php
57307-
57308-
-
57309-
message: "#^Property Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\Base\\:\\:\\$fieldTypeServiceMock has no type specified\\.$#"
57310-
count: 1
57311-
path: tests/lib/Repository/Service/Mock/Base.php
57312-
57313-
-
57314-
message: "#^Property Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\Base\\:\\:\\$permissionServiceMock \\(Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\PermissionService&PHPUnit\\\\Framework\\\\MockObject\\\\MockObject\\) in isset\\(\\) is not nullable\\.$#"
57315-
count: 1
57316-
path: tests/lib/Repository/Service/Mock/Base.php
57317-
57318-
-
57319-
message: "#^Property Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\Base\\:\\:\\$persistenceMock \\(Ibexa\\\\Contracts\\\\Core\\\\Persistence\\\\Handler&PHPUnit\\\\Framework\\\\MockObject\\\\MockObject\\) in isset\\(\\) is not nullable\\.$#"
57320-
count: 1
57321-
path: tests/lib/Repository/Service/Mock/Base.php
57322-
57323-
-
57324-
message: "#^Property Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\Base\\:\\:\\$repositoryMock \\(Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Repository&PHPUnit\\\\Framework\\\\MockObject\\\\MockObject\\) in isset\\(\\) is not nullable\\.$#"
57325-
count: 1
57326-
path: tests/lib/Repository/Service/Mock/Base.php
57327-
57328-
-
57329-
message: "#^Property Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\Base\\:\\:\\$thumbnailStrategyMock \\(Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Strategy\\\\ContentThumbnail\\\\ThumbnailStrategy&PHPUnit\\\\Framework\\\\MockObject\\\\MockObject\\) in isset\\(\\) is not nullable\\.$#"
57330-
count: 1
57331-
path: tests/lib/Repository/Service/Mock/Base.php
57332-
57333-
-
57334-
message: "#^Unable to resolve the template type T in call to method PHPUnit\\\\Framework\\\\TestCase\\:\\:getMockBuilder\\(\\)$#"
57335-
count: 1
57336-
path: tests/lib/Repository/Service/Mock/Base.php
57337-
5733857263
-
5733957264
message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\BookmarkTest\\:\\:createBookmarkService\\(\\) has parameter \\$methods with no value type specified in iterable type array\\.$#"
5734057265
count: 1
@@ -58080,41 +58005,11 @@ parameters:
5808058005
count: 1
5808158006
path: tests/lib/Repository/Service/Mock/ContentTest.php
5808258007

58083-
-
58084-
message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\ContentTest\\:\\:testLoadVersionInfo\\(\\) has no return type specified\\.$#"
58085-
count: 1
58086-
path: tests/lib/Repository/Service/Mock/ContentTest.php
58087-
58088-
-
58089-
message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\ContentTest\\:\\:testLoadVersionInfoById\\(\\) has no return type specified\\.$#"
58090-
count: 1
58091-
path: tests/lib/Repository/Service/Mock/ContentTest.php
58092-
58093-
-
58094-
message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\ContentTest\\:\\:testLoadVersionInfoByIdAndVersionNumber\\(\\) has no return type specified\\.$#"
58095-
count: 1
58096-
path: tests/lib/Repository/Service/Mock/ContentTest.php
58097-
5809858008
-
5809958009
message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\ContentTest\\:\\:testLoadVersionInfoByIdNonPublishedVersion\\(\\) has no return type specified\\.$#"
5810058010
count: 1
5810158011
path: tests/lib/Repository/Service/Mock/ContentTest.php
5810258012

58103-
-
58104-
message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\ContentTest\\:\\:testLoadVersionInfoByIdPublishedVersion\\(\\) has no return type specified\\.$#"
58105-
count: 1
58106-
path: tests/lib/Repository/Service/Mock/ContentTest.php
58107-
58108-
-
58109-
message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\ContentTest\\:\\:testLoadVersionInfoByIdThrowsNotFoundException\\(\\) has no return type specified\\.$#"
58110-
count: 1
58111-
path: tests/lib/Repository/Service/Mock/ContentTest.php
58112-
58113-
-
58114-
message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\ContentTest\\:\\:testLoadVersionInfoByIdThrowsUnauthorizedExceptionNonPublishedVersion\\(\\) has no return type specified\\.$#"
58115-
count: 1
58116-
path: tests/lib/Repository/Service/Mock/ContentTest.php
58117-
5811858013
-
5811958014
message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\ContentTest\\:\\:testUpdateContentNonRedundantFieldSet1\\(\\) has no return type specified\\.$#"
5812058015
count: 1
@@ -58330,11 +58225,6 @@ parameters:
5833058225
count: 1
5833158226
path: tests/lib/Repository/Service/Mock/ContentTest.php
5833258227

58333-
-
58334-
message: "#^PHPDoc tag @var for property Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\ContentTest\\:\\:\\$nameSchemaServiceMock with type PHPUnit\\\\Framework\\\\MockObject\\\\MockObject is not subtype of native type Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\NameSchema\\\\NameSchemaServiceInterface\\.$#"
58335-
count: 1
58336-
path: tests/lib/Repository/Service/Mock/ContentTest.php
58337-
5833858228
-
5833958229
message: "#^Parameter \\#1 \\$languageHandlerMock of method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\ContentTest\\:\\:loadByLanguageCodeMock\\(\\) expects PHPUnit\\\\Framework\\\\MockObject\\\\MockObject, Ibexa\\\\Contracts\\\\Core\\\\Persistence\\\\Content\\\\Language\\\\Handler given\\.$#"
5834058230
count: 1
@@ -58365,11 +58255,6 @@ parameters:
5836558255
count: 1
5836658256
path: tests/lib/Repository/Service/Mock/ContentTest.php
5836758257

58368-
-
58369-
message: "#^Property Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\ContentTest\\:\\:\\$relationProcessorMock has no type specified\\.$#"
58370-
count: 1
58371-
path: tests/lib/Repository/Service/Mock/ContentTest.php
58372-
5837358258
-
5837458259
message: "#^Call to an undefined method Ibexa\\\\Contracts\\\\Core\\\\Persistence\\\\User\\\\Handler\\:\\:expects\\(\\)\\.$#"
5837558260
count: 11
@@ -58385,21 +58270,11 @@ parameters:
5838558270
count: 1
5838658271
path: tests/lib/Repository/Service/Mock/PermissionTest.php
5838758272

58388-
-
58389-
message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\PermissionTest\\:\\:getPermissionResolverMock\\(\\) has parameter \\$methods with no type specified\\.$#"
58390-
count: 1
58391-
path: tests/lib/Repository/Service/Mock/PermissionTest.php
58392-
5839358273
-
5839458274
message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\PermissionTest\\:\\:getPermissionSetsMock\\(\\) return type has no value type specified in iterable type array\\.$#"
5839558275
count: 1
5839658276
path: tests/lib/Repository/Service/Mock/PermissionTest.php
5839758277

58398-
-
58399-
message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\PermissionTest\\:\\:getUserReferenceMock\\(\\) has no return type specified\\.$#"
58400-
count: 1
58401-
path: tests/lib/Repository/Service/Mock/PermissionTest.php
58402-
5840358278
-
5840458279
message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\PermissionTest\\:\\:providerForTestCanUserComplex\\(\\) return type has no value type specified in iterable type array\\.$#"
5840558280
count: 1
@@ -58580,11 +58455,6 @@ parameters:
5858058455
count: 1
5858158456
path: tests/lib/Repository/Service/Mock/PermissionTest.php
5858258457

58583-
-
58584-
message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\PermissionTest\\:\\:testSetAndGetCurrentUserReference\\(\\) has no return type specified\\.$#"
58585-
count: 1
58586-
path: tests/lib/Repository/Service/Mock/PermissionTest.php
58587-
5858858458
-
5858958459
message: "#^PHPDoc tag @var has invalid value \\(\\$policy \\\\Ibexa\\\\Contracts\\\\Core\\\\Persistence\\\\User\\\\Policy\\)\\: Unexpected token \"\\$policy\", expected type at offset 9$#"
5859058460
count: 1
@@ -58615,31 +58485,11 @@ parameters:
5861558485
count: 3
5861658486
path: tests/lib/Repository/Service/Mock/PermissionTest.php
5861758487

58618-
-
58619-
message: "#^Property Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\PermissionTest\\:\\:\\$permissionResolverMock has no type specified\\.$#"
58620-
count: 1
58621-
path: tests/lib/Repository/Service/Mock/PermissionTest.php
58622-
58623-
-
58624-
message: "#^Property Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\PermissionTest\\:\\:\\$repositoryMock has no type specified\\.$#"
58625-
count: 1
58626-
path: tests/lib/Repository/Service/Mock/PermissionTest.php
58627-
58628-
-
58629-
message: "#^Property Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\PermissionTest\\:\\:\\$userReferenceMock has no type specified\\.$#"
58630-
count: 1
58631-
path: tests/lib/Repository/Service/Mock/PermissionTest.php
58632-
5863358488
-
5863458489
message: "#^Variable \\$limitationsPass might not be defined\\.$#"
5863558490
count: 1
5863658491
path: tests/lib/Repository/Service/Mock/PermissionTest.php
5863758492

58638-
-
58639-
message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\PermissionsCriterionHandlerTest\\:\\:getPermissionResolverMock\\(\\) has parameter \\$methods with no type specified\\.$#"
58640-
count: 1
58641-
path: tests/lib/Repository/Service/Mock/PermissionsCriterionHandlerTest.php
58642-
5864358493
-
5864458494
message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\PermissionsCriterionHandlerTest\\:\\:mockServices\\(\\) has no return type specified\\.$#"
5864558495
count: 1
@@ -58745,11 +58595,6 @@ parameters:
5874558595
count: 1
5874658596
path: tests/lib/Repository/Service/Mock/PermissionsCriterionHandlerTest.php
5874758597

58748-
-
58749-
message: "#^Property Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\PermissionsCriterionHandlerTest\\:\\:\\$permissionResolverMock has no type specified\\.$#"
58750-
count: 1
58751-
path: tests/lib/Repository/Service/Mock/PermissionsCriterionHandlerTest.php
58752-
5875358598
-
5875458599
message: "#^Call to an undefined method Ibexa\\\\Contracts\\\\Core\\\\Persistence\\\\Content\\\\Location\\\\Handler\\:\\:expects\\(\\)\\.$#"
5875558600
count: 2

0 commit comments

Comments
 (0)