@@ -51,40 +51,40 @@ public function testDescribeApplication(Application $application, $expectedDescr
5151 $ this ->assertDescription ($ expectedDescription , $ application );
5252 }
5353
54- public function getDescribeInputArgumentTestData ()
54+ public static function getDescribeInputArgumentTestData ()
5555 {
56- return $ this -> getDescriptionTestData (ObjectsProvider::getInputArguments ());
56+ return static :: getDescriptionTestData (ObjectsProvider::getInputArguments ());
5757 }
5858
59- public function getDescribeInputOptionTestData ()
59+ public static function getDescribeInputOptionTestData ()
6060 {
61- return $ this -> getDescriptionTestData (ObjectsProvider::getInputOptions ());
61+ return static :: getDescriptionTestData (ObjectsProvider::getInputOptions ());
6262 }
6363
64- public function getDescribeInputDefinitionTestData ()
64+ public static function getDescribeInputDefinitionTestData ()
6565 {
66- return $ this -> getDescriptionTestData (ObjectsProvider::getInputDefinitions ());
66+ return static :: getDescriptionTestData (ObjectsProvider::getInputDefinitions ());
6767 }
6868
69- public function getDescribeCommandTestData ()
69+ public static function getDescribeCommandTestData ()
7070 {
71- return $ this -> getDescriptionTestData (ObjectsProvider::getCommands ());
71+ return static :: getDescriptionTestData (ObjectsProvider::getCommands ());
7272 }
7373
74- public function getDescribeApplicationTestData ()
74+ public static function getDescribeApplicationTestData ()
7575 {
76- return $ this -> getDescriptionTestData (ObjectsProvider::getApplications ());
76+ return static :: getDescriptionTestData (ObjectsProvider::getApplications ());
7777 }
7878
7979 abstract protected function getDescriptor ();
8080
81- abstract protected function getFormat ();
81+ abstract protected static function getFormat ();
8282
83- protected function getDescriptionTestData (array $ objects )
83+ protected static function getDescriptionTestData (array $ objects )
8484 {
8585 $ data = [];
8686 foreach ($ objects as $ name => $ object ) {
87- $ description = file_get_contents (sprintf ('%s/../Fixtures/%s.%s ' , __DIR__ , $ name , $ this -> getFormat ()));
87+ $ description = file_get_contents (sprintf ('%s/../Fixtures/%s.%s ' , __DIR__ , $ name , static :: getFormat ()));
8888 $ data [] = [$ object , $ description ];
8989 }
9090
0 commit comments