1919 */
2020final class GeneratePackageCommandTest extends AbstractTestCase
2121{
22- public function testExceptionOnDestination ()
22+ public function testExceptionOnDestination (): void
2323 {
2424 $ this ->expectException (InvalidArgumentException::class);
2525
@@ -35,7 +35,7 @@ public function testExceptionOnDestination()
3535 $ command ->run ($ input , $ output );
3636 }
3737
38- public function testExceptionOnComposerName ()
38+ public function testExceptionOnComposerName (): void
3939 {
4040 $ this ->expectException (InvalidArgumentException::class);
4141
@@ -52,7 +52,7 @@ public function testExceptionOnComposerName()
5252 $ command ->run ($ input , $ output );
5353 }
5454
55- public function testExceptionOnOrigin ()
55+ public function testExceptionOnOrigin (): void
5656 {
5757 $ this ->expectException (InvalidArgumentException::class);
5858
@@ -69,7 +69,7 @@ public function testExceptionOnOrigin()
6969 $ command ->run ($ input , $ output );
7070 }
7171
72- public function testDebugMode ()
72+ public function testDebugMode (): void
7373 {
7474 AbstractYamlReader::resetInstances ();
7575 $ command = new GeneratePackageCommand ('WsdlToPhp ' );
@@ -88,7 +88,7 @@ public function testDebugMode()
8888 $ this ->assertFalse (is_dir (self ::getTestDirectory ().'/debug/ ' ));
8989 }
9090
91- public function testSetSrcDirname ()
91+ public function testSetSrcDirname (): void
9292 {
9393 AbstractYamlReader::resetInstances ();
9494 $ command = new GeneratePackageCommand ('WsdlToPhp ' );
@@ -109,7 +109,7 @@ public function testSetSrcDirname()
109109 $ this ->assertSame ('' , $ command ->getGenerator ()->getOptionSrcDirname ());
110110 }
111111
112- public function testGetOptionValue ()
112+ public function testGetOptionValue (): void
113113 {
114114 $ command = new GeneratePackageCommand ('WsdlToPhp ' );
115115 $ input = new ArrayInput ([
@@ -127,7 +127,7 @@ public function testGetOptionValue()
127127 $ this ->assertSame (__DIR__ .'/../resources/generator_options.yml ' , $ command ->getGeneratorOptionsConfigOption ());
128128 }
129129
130- public function testResolveGeneratorOptionsConfigPathUsingOption ()
130+ public function testResolveGeneratorOptionsConfigPathUsingOption (): void
131131 {
132132 $ command = new GeneratePackageCommand ('WsdlToPhp ' );
133133 $ input = new ArrayInput ([
@@ -145,7 +145,7 @@ public function testResolveGeneratorOptionsConfigPathUsingOption()
145145 $ this ->assertSame (__DIR__ .'/../resources/generator_options.yml ' , $ command ->resolveGeneratorOptionsConfigPath ());
146146 }
147147
148- public function testResolveGeneratorOptionsConfigPathUsingExistingProperUserConfig ()
148+ public function testResolveGeneratorOptionsConfigPathUsingExistingProperUserConfig (): void
149149 {
150150 $ command = new GeneratePackageCommand ('WsdlToPhp ' );
151151 $ input = new ArrayInput ([
@@ -163,7 +163,7 @@ public function testResolveGeneratorOptionsConfigPathUsingExistingProperUserConf
163163 $ this ->assertSame (realpath (self ::getTestDirectory ().'../existing_config/ ' .GeneratePackageCommand::PROPER_USER_CONFIGURATION ), $ command ->resolveGeneratorOptionsConfigPath ());
164164 }
165165
166- public function testResolveGeneratorOptionsConfigPathUsingExistingDistributedConfig ()
166+ public function testResolveGeneratorOptionsConfigPathUsingExistingDistributedConfig (): void
167167 {
168168 $ command = new GeneratePackageCommand ('WsdlToPhp ' );
169169 $ input = new ArrayInput ([
@@ -181,7 +181,7 @@ public function testResolveGeneratorOptionsConfigPathUsingExistingDistributedCon
181181 $ this ->assertSame (realpath (self ::getTestDirectory ().'../../../ ' .GeneratePackageCommand::DEFAULT_CONFIGURATION_FILE ), $ command ->resolveGeneratorOptionsConfigPath ());
182182 }
183183
184- public function testResolveGeneratorOptionsConfigPathUsingDefaultConfig ()
184+ public function testResolveGeneratorOptionsConfigPathUsingDefaultConfig (): void
185185 {
186186 $ command = new GeneratePackageCommand ('WsdlToPhp ' );
187187 $ input = new ArrayInput ([
0 commit comments