@@ -26,7 +26,7 @@ public function testAddLink($json, $type, $package, $constraint, $expected)
2626 $ this ->assertEquals ($ expected , $ manipulator ->getContents ());
2727 }
2828
29- public function linkProvider ()
29+ public static function linkProvider ()
3030 {
3131 return array (
3232 array (
@@ -1297,7 +1297,7 @@ public function testAddLinkAndSortPackages($json, $type, $package, $constraint,
12971297 $ this ->assertEquals ($ expected , $ manipulator ->getContents ());
12981298 }
12991299
1300- public function providerAddLinkAndSortPackages ()
1300+ public static function providerAddLinkAndSortPackages ()
13011301 {
13021302 return array (
13031303 array (
@@ -1380,7 +1380,7 @@ public function testRemoveSubNode($json, $name, $expected, $expectedContent = nu
13801380 }
13811381 }
13821382
1383- public function removeSubNodeProvider ()
1383+ public static function removeSubNodeProvider ()
13841384 {
13851385 return array (
13861386 'works on simple ones first ' => array (
@@ -2374,7 +2374,7 @@ public function testAddLinkCaseInsensitive($json, $type, $package, $constraint,
23742374 $ this ->assertEquals ($ expected , $ manipulator ->getContents ());
23752375 }
23762376
2377- public function providerAddLinkCaseInsensitive ()
2377+ public static function providerAddLinkCaseInsensitive ()
23782378 {
23792379 return array (
23802380 array (
@@ -2441,7 +2441,7 @@ public function testAddSubNodeCase($json, $mainNode, $name, $caseInsensitive, $e
24412441 $ this ->assertSame ($ expected , $ manipulator ->getContents ());
24422442 }
24432443
2444- public function providerAddSubNodeCase ()
2444+ public static function providerAddSubNodeCase ()
24452445 {
24462446 return array (
24472447 array (
@@ -2504,7 +2504,7 @@ public function testRemoveSubNodeCaseInsensitive($json, $mainNode, $name, $expec
25042504 }
25052505 }
25062506
2507- public function providerRemoveSubNodeCaseInsensitive ()
2507+ public static function providerRemoveSubNodeCaseInsensitive ()
25082508 {
25092509 return array (
25102510 array (
0 commit comments