@@ -33,7 +33,7 @@ public function testParseNumericAliasPrefix($input, $expected)
33
33
/**
34
34
* @return array<mixed>
35
35
*/
36
- public function numericAliasVersions ()
36
+ public static function numericAliasVersions ()
37
37
{
38
38
return array (
39
39
array ('0.x-dev ' , '0. ' ),
@@ -62,7 +62,7 @@ public function testNormalizeSucceeds($input, $expected)
62
62
/**
63
63
* @return array<mixed>
64
64
*/
65
- public function successfulNormalizedVersions ()
65
+ public static function successfulNormalizedVersions ()
66
66
{
67
67
return array (
68
68
'none ' => array ('1.0.0 ' , '1.0.0.0 ' ),
@@ -157,7 +157,7 @@ public function testNormalizeFails($input)
157
157
/**
158
158
* @return array<mixed>
159
159
*/
160
- public function failingNormalizedVersions ()
160
+ public static function failingNormalizedVersions ()
161
161
{
162
162
return array (
163
163
'empty ' => array ('' ),
@@ -208,7 +208,7 @@ public function testNormalizeFailsAndReportsAliasIssue($fullInput)
208
208
/**
209
209
* @return array<mixed>
210
210
*/
211
- public function failingNormalizedVersionsWithBadAlias ()
211
+ public static function failingNormalizedVersionsWithBadAlias ()
212
212
{
213
213
return array (
214
214
'Alias and caret ' => array ('1.0.0+foo as ^2.0 ' ),
@@ -238,7 +238,7 @@ public function testNormalizeFailsAndReportsAliaseeIssue($fullInput)
238
238
/**
239
239
* @return array<mixed>
240
240
*/
241
- public function failingNormalizedVersionsWithBadAliasee ()
241
+ public static function failingNormalizedVersionsWithBadAliasee ()
242
242
{
243
243
return array (
244
244
'Alias and caret ' => array ('^2.0 as 1.0.0+foo ' ),
@@ -264,7 +264,7 @@ public function testNormalizeBranch($input, $expected)
264
264
/**
265
265
* @return array<mixed>
266
266
*/
267
- public function successfulNormalizedBranches ()
267
+ public static function successfulNormalizedBranches ()
268
268
{
269
269
return array (
270
270
'parses x ' => array ('v1.x ' , '1.9999999.9999999.9999999-dev ' ),
@@ -333,7 +333,7 @@ public function testParseConstraintsSimple($input, $expected)
333
333
/**
334
334
* @return array<mixed>
335
335
*/
336
- public function simpleConstraints ()
336
+ public static function simpleConstraints ()
337
337
{
338
338
return array (
339
339
'match any ' => array ('* ' , new MatchAllConstraint ()),
@@ -392,7 +392,7 @@ public function testParseConstraintsWildcard($input, $min, $max)
392
392
/**
393
393
* @return array<mixed>
394
394
*/
395
- public function wildcardConstraints ()
395
+ public static function wildcardConstraints ()
396
396
{
397
397
return array (
398
398
array ('v2.* ' , new Constraint ('>= ' , '2.0.0.0-dev ' ), new Constraint ('< ' , '3.0.0.0-dev ' )),
@@ -434,7 +434,7 @@ public function testParseTildeWildcard($input, $min, $max)
434
434
/**
435
435
* @return array<mixed>
436
436
*/
437
- public function tildeConstraints ()
437
+ public static function tildeConstraints ()
438
438
{
439
439
return array (
440
440
array ('~v1 ' , new Constraint ('>= ' , '1.0.0.0-dev ' ), new Constraint ('< ' , '2.0.0.0-dev ' )),
@@ -481,7 +481,7 @@ public function testParseCaretWildcard($input, $min, $max)
481
481
/**
482
482
* @return array<mixed>
483
483
*/
484
- public function caretConstraints ()
484
+ public static function caretConstraints ()
485
485
{
486
486
return array (
487
487
array ('^v1 ' , new Constraint ('>= ' , '1.0.0.0-dev ' ), new Constraint ('< ' , '2.0.0.0-dev ' )),
@@ -531,7 +531,7 @@ public function testParseHyphen($input, $min, $max)
531
531
/**
532
532
* @return array<mixed>
533
533
*/
534
- public function hyphenConstraints ()
534
+ public static function hyphenConstraints ()
535
535
{
536
536
return array (
537
537
array ('v1 - v2 ' , new Constraint ('>= ' , '1.0.0.0-dev ' ), new Constraint ('< ' , '3.0.0.0-dev ' )),
@@ -566,7 +566,7 @@ public function testParseConstraints($constraint, $expected)
566
566
/**
567
567
* @return array<mixed>
568
568
*/
569
- public function constraintProvider ()
569
+ public static function constraintProvider ()
570
570
{
571
571
return array (
572
572
// numeric branch
@@ -618,7 +618,7 @@ public function testParseConstraintsMulti($constraint)
618
618
/**
619
619
* @return array<mixed>
620
620
*/
621
- public function multiConstraintProvider ()
621
+ public static function multiConstraintProvider ()
622
622
{
623
623
return array (
624
624
array ('>2.0,<=3.0 ' ),
@@ -670,7 +670,7 @@ public function testParseConstraintsMultiDisjunctiveHasPrioOverConjuctive($const
670
670
/**
671
671
* @return array<mixed>
672
672
*/
673
- public function multiConstraintProvider2 ()
673
+ public static function multiConstraintProvider2 ()
674
674
{
675
675
return array (
676
676
array ('>2.0,<2.0.5 | >2.0.6 ' ),
@@ -724,7 +724,7 @@ public function testParseConstraintsFails($input)
724
724
/**
725
725
* @return array<mixed>
726
726
*/
727
- public function failingConstraints ()
727
+ public static function failingConstraints ()
728
728
{
729
729
return array (
730
730
'empty ' => array ('' ),
@@ -783,7 +783,7 @@ public function testParseStability($expected, $version)
783
783
/**
784
784
* @return array<mixed>
785
785
*/
786
- public function stabilityProvider ()
786
+ public static function stabilityProvider ()
787
787
{
788
788
return array (
789
789
array ('stable ' , '1 ' ),
0 commit comments