You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For more details see #198
Key changes:
* Fixed return type of `Handler::convert` and `Xml::convertDom`
* Improved strict checks in `Xml::convertDom` method
* Aligned Json input handler PHPDoc with the changes
Copy file name to clipboardExpand all lines: phpstan-baseline.neon
-96Lines changed: 0 additions & 96 deletions
Original file line number
Diff line number
Diff line change
@@ -318,12 +318,6 @@ parameters:
318
318
count: 1
319
319
path: src/contracts/Event/ParseEvent.php
320
320
321
-
-
322
-
message: '#^Method Ibexa\\Contracts\\Rest\\Input\\Handler\:\:convert\(\) return type has no value type specified in iterable type array\.$#'
323
-
identifier: missingType.iterableValue
324
-
count: 1
325
-
path: src/contracts/Input/Handler.php
326
-
327
321
-
328
322
message: '#^Method Ibexa\\Contracts\\Rest\\Input\\ParsingDispatcher\:\:__construct\(\) has parameter \$parsers with no value type specified in iterable type array\.$#'
329
323
identifier: missingType.iterableValue
@@ -780,42 +774,12 @@ parameters:
780
774
count: 1
781
775
path: src/lib/Input/FieldTypeParser.php
782
776
783
-
-
784
-
message: '#^Method Ibexa\\Rest\\Input\\Handler\\Json\:\:convert\(\) return type has no value type specified in iterable type array\.$#'
785
-
identifier: missingType.iterableValue
786
-
count: 1
787
-
path: src/lib/Input/Handler/Json.php
788
-
789
777
-
790
778
message: '#^Method Ibexa\\Rest\\Input\\Handler\\Json\:\:jsonDecodeErrorMessage\(\) has parameter \$jsonErrorCode with no type specified\.$#'
791
779
identifier: missingType.parameter
792
780
count: 1
793
781
path: src/lib/Input/Handler/Json.php
794
782
795
-
-
796
-
message: '#^Method Ibexa\\Rest\\Input\\Handler\\Xml\:\:convert\(\) return type has no value type specified in iterable type array\.$#'
797
-
identifier: missingType.iterableValue
798
-
count: 1
799
-
path: src/lib/Input/Handler/Xml.php
800
-
801
-
-
802
-
message: '#^Method Ibexa\\Rest\\Input\\Handler\\Xml\:\:convertDom\(\) return type has no value type specified in iterable type array\.$#'
803
-
identifier: missingType.iterableValue
804
-
count: 1
805
-
path: src/lib/Input/Handler/Xml.php
806
-
807
-
-
808
-
message: '#^Method Ibexa\\Rest\\Input\\Handler\\Xml\:\:convertDom\(\) should return array but returns array\|string\.$#'
809
-
identifier: return.type
810
-
count: 1
811
-
path: src/lib/Input/Handler/Xml.php
812
-
813
-
-
814
-
message: '#^Method Ibexa\\Rest\\Input\\Handler\\Xml\:\:convertDom\(\) should return array but returns null\.$#'
815
-
identifier: return.type
816
-
count: 1
817
-
path: src/lib/Input/Handler/Xml.php
818
-
819
783
-
820
784
message: '#^Method Ibexa\\Rest\\Input\\Handler\\Xml\:\:parseFieldTypeHash\(\) return type has no value type specified in iterable type array\.$#'
821
785
identifier: missingType.iterableValue
@@ -1440,24 +1404,6 @@ parameters:
1440
1404
count: 1
1441
1405
path: src/lib/Server/Controller/Content.php
1442
1406
1443
-
-
1444
-
message: '#^Parameter \#1 \$versions of class Ibexa\\Rest\\Server\\Values\\VersionList constructor expects array\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\VersionInfo\>, iterable\<int, Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\VersionInfo\> given\.$#'
1445
-
identifier: argument.type
1446
-
count: 1
1447
-
path: src/lib/Server/Controller/Content.php
1448
-
1449
-
-
1450
-
message: '#^Parameter \#3 \$relations of class Ibexa\\Rest\\Server\\Values\\Version constructor expects array\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Relation\>, iterable\<int, Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Relation\> given\.$#'
1451
-
identifier: argument.type
1452
-
count: 4
1453
-
path: src/lib/Server/Controller/Content.php
1454
-
1455
-
-
1456
-
message: '#^Parameter \#5 \$relations of class Ibexa\\Rest\\Server\\Values\\RestContent constructor expects array\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Relation\>\|null, iterable\<int, Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Relation\>\|null given\.$#'
1457
-
identifier: argument.type
1458
-
count: 2
1459
-
path: src/lib/Server/Controller/Content.php
1460
-
1461
1407
-
1462
1408
message: '#^Method Ibexa\\Rest\\Server\\Controller\\ContentType\:\:addContentTypeDraftFieldDefinition\(\) has parameter \$contentTypeId with no type specified\.$#'
1463
1409
identifier: missingType.parameter
@@ -2514,18 +2460,6 @@ parameters:
2514
2460
count: 1
2515
2461
path: src/lib/Server/Controller/User.php
2516
2462
2517
-
-
2518
-
message: '#^Parameter \#5 \$relations of class Ibexa\\Rest\\Server\\Values\\RestUser constructor expects array\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Relation\>, iterable\<int, Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Relation\> given\.$#'
2519
-
identifier: argument.type
2520
-
count: 5
2521
-
path: src/lib/Server/Controller/User.php
2522
-
2523
-
-
2524
-
message: '#^Parameter \#5 \$relations of class Ibexa\\Rest\\Server\\Values\\RestUserGroup constructor expects array\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Relation\>, iterable\<int, Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Relation\> given\.$#'
2525
-
identifier: argument.type
2526
-
count: 10
2527
-
path: src/lib/Server/Controller/User.php
2528
-
2529
2463
-
2530
2464
message: '#^Property Ibexa\\Rest\\Server\\Controller\\User\:\:\$csrfTokenStorage is never read, only written\.$#'
2531
2465
identifier: property.onlyWritten
@@ -2838,12 +2772,6 @@ parameters:
2838
2772
count: 1
2839
2773
path: src/lib/Server/Input/Parser/Criterion.php
2840
2774
2841
-
-
2842
-
message: '#^Possibly invalid array key type \(list\<string\>\|string\)\.$#'
2843
-
identifier: offsetAccess.invalidOffset
2844
-
count: 1
2845
-
path: src/lib/Server/Input/Parser/Criterion.php
2846
-
2847
2775
-
2848
2776
message: '#^Property Ibexa\\Rest\\Server\\Input\\Parser\\Criterion\:\:\$criterionIdMap type has no value type specified in iterable type array\.$#'
0 commit comments