@@ -300,11 +300,6 @@ parameters:
300
300
count : 1
301
301
path : ../src/Composer/Command/CreateProjectCommand.php
302
302
303
- -
304
- message : " #^Parameter \\ #3 \\ $existingRepos of static method Composer\\\\ Repository\\\\ RepositoryFactory\\ :\\ :generateRepositoryName\\ (\\ ) expects array\\ <string, mixed\\ >, array\\ <int\\ |string, mixed\\ > given\\ .$#"
305
- count : 1
306
- path : ../src/Composer/Command/CreateProjectCommand.php
307
-
308
303
-
309
304
message : " #^Variable method call on Composer\\\\ Package\\\\ RootPackageInterface\\ .$#"
310
305
count : 1
@@ -495,11 +490,6 @@ parameters:
495
490
count : 2
496
491
path : ../src/Composer/Command/LicensesCommand.php
497
492
498
- -
499
- message : " #^Only booleans are allowed in a negated boolean, array\\ <int, Composer\\\\ Package\\\\ PackageInterface\\ > given\\ .$#"
500
- count : 1
501
- path : ../src/Composer/Command/ReinstallCommand.php
502
-
503
493
-
504
494
message : " #^Foreach overwrites \\ $type with its key variable\\ .$#"
505
495
count : 1
@@ -955,11 +945,6 @@ parameters:
955
945
count : 1
956
946
path : ../src/Composer/Config.php
957
947
958
- -
959
- message : " #^Only booleans are allowed in a ternary operator condition, string\\ |null given\\ .$#"
960
- count : 1
961
- path : ../src/Composer/Config.php
962
-
963
948
-
964
949
message : " #^Short ternary operator is not allowed\\ . Use null coalesce operator if applicable or consider using long ternary\\ .$#"
965
950
count : 1
@@ -1160,11 +1145,6 @@ parameters:
1160
1145
count : 1
1161
1146
path : ../src/Composer/Downloader/FileDownloader.php
1162
1147
1163
- -
1164
- message : " #^Parameter \\ #3 \\ $cwd of method Composer\\\\ Util\\\\ ProcessExecutor\\ :\\ :execute\\ (\\ ) expects string\\ |null, string\\ |false given\\ .$#"
1165
- count : 5
1166
- path : ../src/Composer/Downloader/FossilDownloader.php
1167
-
1168
1148
-
1169
1149
message : " #^Construct empty\\ (\\ ) is not allowed\\ . Use more strict comparison\\ .$#"
1170
1150
count : 5
@@ -1367,7 +1347,7 @@ parameters:
1367
1347
1368
1348
-
1369
1349
message : " #^Only booleans are allowed in a negated boolean, array\\ <int, array\\ <int, string\\ >\\ > given\\ .$#"
1370
- count : 3
1350
+ count : 2
1371
1351
path : ../src/Composer/Downloader/ZipDownloader.php
1372
1352
1373
1353
-
@@ -2330,11 +2310,6 @@ parameters:
2330
2310
count : 2
2331
2311
path : ../src/Composer/Question/StrictConfirmationQuestion.php
2332
2312
2333
- -
2334
- message : " #^Method Composer\\\\ Repository\\\\ ArrayRepository\\ :\\ :getProviders\\ (\\ ) should return array\\ <string, array\\ {name\\ : string, description\\ : string, type\\ : string\\ }\\ > but returns array\\ <string, array\\ {name\\ : string, description\\ : string\\ |null, type\\ : string\\ }\\ >\\ .$#"
2335
- count : 1
2336
- path : ../src/Composer/Repository/ArrayRepository.php
2337
-
2338
2313
-
2339
2314
message : " #^Only booleans are allowed in a negated boolean, Composer\\\\ Semver\\\\ Constraint\\\\ ConstraintInterface\\ |null given\\ .$#"
2340
2315
count : 1
@@ -2381,7 +2356,7 @@ parameters:
2381
2356
path : ../src/Composer/Repository/ComposerRepository.php
2382
2357
2383
2358
-
2384
- message : " #^Method Composer\\\\ Repository\\\\ ComposerRepository\\ :\\ :getProviders\\ (\\ ) should return array\\ <string, array\\ {name\\ : string, description\\ : string|null, type\\ : string\\ }\\ > but returns array\\ <int\\ |string, array\\ {name\\ : mixed, description\\ : mixed, type\\ : mixed\\ }\\ >\\ .$#"
2359
+ message : " #^Method Composer\\\\ Repository\\\\ ComposerRepository\\ :\\ :getProviders\\ (\\ ) should return array\\ <string, array\\ {name\\ : string, description\\ : string\\ |null, type\\ : string\\ }\\ > but returns array\\ <int\\ |string, array\\ {name\\ : mixed, description\\ : mixed, type\\ : mixed\\ }\\ >\\ .$#"
2385
2360
count : 1
2386
2361
path : ../src/Composer/Repository/ComposerRepository.php
2387
2362
@@ -2496,7 +2471,7 @@ parameters:
2496
2471
path : ../src/Composer/Repository/CompositeRepository.php
2497
2472
2498
2473
-
2499
- message : " #^Only booleans are allowed in a ternary operator condition, array\\ <int, array\\ <string, array\\ <string, string|null\\ >\\ >\\ > given\\ .$#"
2474
+ message : " #^Only booleans are allowed in a ternary operator condition, array\\ <int, array\\ <string, array\\ <string, string\\ |null\\ >\\ >\\ > given\\ .$#"
2500
2475
count : 1
2501
2476
path : ../src/Composer/Repository/CompositeRepository.php
2502
2477
@@ -2714,7 +2689,7 @@ parameters:
2714
2689
path : ../src/Composer/Repository/RepositorySet.php
2715
2690
2716
2691
-
2717
- message : " #^Only booleans are allowed in an if condition, array\\ <string, array\\ <string, string|null\\ >\\ > given\\ .$#"
2692
+ message : " #^Only booleans are allowed in an if condition, array\\ <string, array\\ <string, string\\ |null\\ >\\ > given\\ .$#"
2718
2693
count : 1
2719
2694
path : ../src/Composer/Repository/RepositorySet.php
2720
2695
@@ -2723,21 +2698,6 @@ parameters:
2723
2698
count : 1
2724
2699
path : ../src/Composer/Repository/RepositorySet.php
2725
2700
2726
- -
2727
- message : " #^Only booleans are allowed in a negated boolean, string given\\ .$#"
2728
- count : 1
2729
- path : ../src/Composer/Repository/Vcs/FossilDriver.php
2730
-
2731
- -
2732
- message : " #^Parameter \\ #1 \\ $file of method Composer\\\\ Util\\\\ Filesystem\\ :\\ :remove\\ (\\ ) expects string, string\\ |null given\\ .$#"
2733
- count : 1
2734
- path : ../src/Composer/Repository/Vcs/FossilDriver.php
2735
-
2736
- -
2737
- message : " #^Parameter \\ #1 \\ $filename of function is_file expects string, string\\ |null given\\ .$#"
2738
- count : 1
2739
- path : ../src/Composer/Repository/Vcs/FossilDriver.php
2740
-
2741
2701
-
2742
2702
message : " #^Call to function array_search\\ (\\ ) requires parameter \\ #3 to be set\\ .$#"
2743
2703
count : 2
@@ -3968,11 +3928,6 @@ parameters:
3968
3928
count : 1
3969
3929
path : ../src/Composer/Util/Svn.php
3970
3930
3971
- -
3972
- message : " #^Only booleans are allowed in an if condition, string\\ |null given\\ .$#"
3973
- count : 1
3974
- path : ../src/Composer/Util/Svn.php
3975
-
3976
3931
-
3977
3932
message : " #^Short ternary operator is not allowed\\ . Use null coalesce operator if applicable or consider using long ternary\\ .$#"
3978
3933
count : 1
@@ -4341,6 +4296,11 @@ parameters:
4341
4296
count : 2
4342
4297
path : ../tests/Composer/Test/Mock/ProcessExecutorMock.php
4343
4298
4299
+ -
4300
+ message : " #^Property Composer\\\\ Test\\\\ Mock\\\\ ProcessExecutorMock\\ :\\ :\\ $expectations \\ (array\\ <array\\ {cmd\\ : list\\ <string\\ >\\ |string, return\\ : int, stdout\\ : string, stderr\\ : string, callback\\ : \\ (callable\\ (\\ )\\ : mixed\\ )\\ |null\\ }\\ >\\ |null\\ ) does not accept array\\ <non\\ -empty\\ -array\\ <'callback'\\ |'cmd'\\ |'return'\\ |'stderr'\\ |'stdout'\\ |int\\ <0, max\\ >, non\\ -empty\\ -list\\ <non\\ -empty\\ -list\\ <string\\ >\\ |\\ (callable\\ (\\ )\\ : mixed\\ )\\ |int\\ |string\\ >\\ |\\ (callable\\ (\\ )\\ : mixed\\ )\\ |int\\ |string\\ |null\\ >\\ >\\ .$#"
4301
+ count : 1
4302
+ path : ../tests/Composer/Test/Mock/ProcessExecutorMock.php
4303
+
4344
4304
-
4345
4305
message : " #^Composer\\\\ Test\\\\ Mock\\\\ VersionGuesserMock\\ :\\ :__construct\\ (\\ ) does not call parent constructor from Composer\\\\ Package\\\\ Version\\\\ VersionGuesser\\ .$#"
4346
4306
count : 1
@@ -4486,9 +4446,14 @@ parameters:
4486
4446
count : 1
4487
4447
path : ../tests/Composer/Test/TestCase.php
4488
4448
4449
+ -
4450
+ message : " #^Cannot access an offset on array\\ <int, array\\ <string, array\\ <int, string\\ >\\ |int\\ |string\\ >\\ >\\ |false\\ .$#"
4451
+ count : 2
4452
+ path : ../tests/Composer/Test/Util/GitTest.php
4453
+
4489
4454
-
4490
4455
message : " #^Cannot access an offset on array\\ <int, array\\ <string, int\\ |string\\ >\\ >\\ |false\\ .$#"
4491
- count : 3
4456
+ count : 1
4492
4457
path : ../tests/Composer/Test/Util/GitTest.php
4493
4458
4494
4459
-
0 commit comments