@@ -107,7 +107,7 @@ |
||
107 | 107 | public function getRootDir() |
108 | 108 | { |
109 | 109 | if (null === $this->rootDir) { |
110 | - if (!empty($this->options['root_dir'])) { |
|
110 | + if ( ! empty($this->options['root_dir'])) { |
|
111 | 111 | $this->rootDir = $this->options['root_dir']; |
112 | 112 | } |
113 | 113 | else { |
@@ -31,7 +31,7 @@ |
||
31 | 31 | |
32 | 32 | $resolver->setRequired(array('root_dir')); |
33 | 33 | $resolver->setDefaults(array( |
34 | - 'root_dir' => function(Options $options) { |
|
34 | + 'root_dir' => function (Options $options) { |
|
35 | 35 | return MultiUseCaseTest::getAbsoluteUseCasesDir(). |
36 | 36 | DIRECTORY_SEPARATOR. |
37 | 37 | $options['use_case'] |
@@ -38,12 +38,12 @@ |
||
38 | 38 | */ |
39 | 39 | public static function getAbsoluteUseCasesDir() |
40 | 40 | { |
41 | - $path = static::getPhpUnitXmlDir() . |
|
42 | - DIRECTORY_SEPARATOR . |
|
41 | + $path = static::getPhpUnitXmlDir(). |
|
42 | + DIRECTORY_SEPARATOR. |
|
43 | 43 | static::$useCasesDir |
44 | 44 | ; |
45 | 45 | |
46 | - if (!is_dir($path)) { |
|
46 | + if ( ! is_dir($path)) { |
|
47 | 47 | throw new PathDoesNotExistException( |
48 | 48 | sprintf( |
49 | 49 | "The path '%s' doesn't exist.". |