Skip to content

Commit a54d922

Browse files
author
Ryan Lee
committed
IBX-10186 Fix PSR deciding to update their libs
1 parent 2c1b555 commit a54d922

File tree

2 files changed

+1
-43
lines changed

2 files changed

+1
-43
lines changed

phpstan-baseline.neon

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -4068,12 +4068,6 @@ parameters:
40684068
count: 1
40694069
path: src/bundle/Core/Imagine/Cache/AliasGeneratorDecorator.php
40704070

4071-
-
4072-
message: '#^PHPDoc tag @throws with type Psr\\Cache\\InvalidArgumentException is not subtype of Throwable$#'
4073-
identifier: throws.notThrowable
4074-
count: 1
4075-
path: src/bundle/Core/Imagine/Cache/AliasGeneratorDecorator.php
4076-
40774071
-
40784072
message: '#^Property Ibexa\\Bundle\\Core\\Imagine\\Cache\\AliasGeneratorDecorator\:\:\$siteAccess \(Ibexa\\Core\\MVC\\Symfony\\SiteAccess\) does not accept Ibexa\\Core\\MVC\\Symfony\\SiteAccess\|null\.$#'
40794073
identifier: assign.propertyType
@@ -17454,12 +17448,6 @@ parameters:
1745417448
count: 1
1745517449
path: src/lib/Persistence/Cache/ContentTypeHandler.php
1745617450

17457-
-
17458-
message: '#^PHPDoc tag @throws with type Psr\\Cache\\InvalidArgumentException is not subtype of Throwable$#'
17459-
identifier: throws.notThrowable
17460-
count: 1
17461-
path: src/lib/Persistence/Cache/ContentTypeHandler.php
17462-
1746317451
-
1746417452
message: '#^Method Ibexa\\Core\\Persistence\\Cache\\Handler\:\:beginTransaction\(\) has no return type specified\.$#'
1746517453
identifier: missingType.return
@@ -17802,18 +17790,6 @@ parameters:
1780217790
count: 1
1780317791
path: src/lib/Persistence/Cache/SectionHandler.php
1780417792

17805-
-
17806-
message: '#^PHPDoc tag @throws with type Psr\\Cache\\CacheException is not subtype of Throwable$#'
17807-
identifier: throws.notThrowable
17808-
count: 1
17809-
path: src/lib/Persistence/Cache/SettingHandler.php
17810-
17811-
-
17812-
message: '#^PHPDoc tag @throws with type Psr\\Cache\\InvalidArgumentException is not subtype of Throwable$#'
17813-
identifier: throws.notThrowable
17814-
count: 2
17815-
path: src/lib/Persistence/Cache/SettingHandler.php
17816-
1781717793
-
1781817794
message: '#^Method Ibexa\\Core\\Persistence\\Cache\\TransactionHandler\:\:beginTransaction\(\) has no return type specified\.$#'
1781917795
identifier: missingType.return
@@ -17916,12 +17892,6 @@ parameters:
1791617892
count: 1
1791717893
path: src/lib/Persistence/Cache/UrlAliasHandler.php
1791817894

17919-
-
17920-
message: '#^PHPDoc tag @throws with type Ibexa\\Core\\Base\\Exceptions\\BadStateException\|Psr\\Cache\\InvalidArgumentException is not subtype of Throwable$#'
17921-
identifier: throws.notThrowable
17922-
count: 1
17923-
path: src/lib/Persistence/Cache/UrlAliasHandler.php
17924-
1792517895
-
1792617896
message: '#^Method Ibexa\\Core\\Persistence\\Cache\\UrlWildcardHandler\:\:find\(\) return type has no value type specified in iterable type array\.$#'
1792717897
identifier: missingType.iterableValue
@@ -17934,12 +17904,6 @@ parameters:
1793417904
count: 1
1793517905
path: src/lib/Persistence/Cache/UrlWildcardHandler.php
1793617906

17937-
-
17938-
message: '#^PHPDoc tag @throws with type Psr\\Cache\\InvalidArgumentException is not subtype of Throwable$#'
17939-
identifier: throws.notThrowable
17940-
count: 1
17941-
path: src/lib/Persistence/Cache/UrlWildcardHandler.php
17942-
1794317907
-
1794417908
message: '#^Method Ibexa\\Core\\Persistence\\Cache\\UserHandler\:\:assignRole\(\) has no return type specified\.$#'
1794517909
identifier: missingType.return
@@ -59604,12 +59568,6 @@ parameters:
5960459568
count: 2
5960559569
path: tests/lib/MVC/Symfony/Templating/Twig/Extension/FileSystemTwigIntegrationTestCase.php
5960659570

59607-
-
59608-
message: '#^Method Ibexa\\Tests\\Core\\MVC\\Symfony\\Templating\\Twig\\Extension\\FileSystemTwigIntegrationTestCase\:\:doIntegrationTest\(\) has no return type specified\.$#'
59609-
identifier: missingType.return
59610-
count: 1
59611-
path: tests/lib/MVC/Symfony/Templating/Twig/Extension/FileSystemTwigIntegrationTestCase.php
59612-
5961359571
-
5961459572
message: '#^Method Ibexa\\Tests\\Core\\MVC\\Symfony\\Templating\\Twig\\Extension\\FileSystemTwigIntegrationTestCase\:\:doIntegrationTest\(\) has parameter \$condition with no type specified\.$#'
5961559573
identifier: missingType.parameter

tests/integration/Core/Repository/LocationServiceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3613,7 +3613,7 @@ public function testGetSubtreeSizeWithInvalidLimitThrowsExpectedError(): Locatio
36133613
}
36143614

36153615
$this->expectException(InvalidArgumentException::class);
3616-
$this->expectExceptionMessageRegExp('/Limit must be greater than 0/');
3616+
$this->expectExceptionMessageMatches('/Limit must be greater than 0/');
36173617

36183618
self::assertSame(3, $locationService->getSubtreeSize($location, -42));
36193619

0 commit comments

Comments
 (0)