src/PHPFormatter/Command/HeaderCommand.php 1 location
|
@@ 115-117 (lines=3) @@
|
112 |
|
$path = getcwd() . DIRECTORY_SEPARATOR . $path; |
113 |
|
} |
114 |
|
|
115 |
|
if (!is_file($path) && !is_dir($path)) { |
116 |
|
throw new Exception('Directory or file "' . $path . '" does not exist'); |
117 |
|
} |
118 |
|
|
119 |
|
/* |
120 |
|
* Dry-run message |
src/PHPFormatter/Command/UseSortCommand.php 1 location
|
@@ 129-131 (lines=3) @@
|
126 |
|
$path = getcwd() . DIRECTORY_SEPARATOR . $path; |
127 |
|
} |
128 |
|
|
129 |
|
if (!is_file($path) && !is_dir($path)) { |
130 |
|
throw new Exception('Directory or file "' . $path . '" does not exist'); |
131 |
|
} |
132 |
|
|
133 |
|
/* |
134 |
|
* Print dry-run message if needed |
src/PHPFormatter/Command/StrictCommand.php 1 location
|
@@ 116-118 (lines=3) @@
|
113 |
|
$path = getcwd() . DIRECTORY_SEPARATOR . $path; |
114 |
|
} |
115 |
|
|
116 |
|
if (!is_file($path) && !is_dir($path)) { |
117 |
|
throw new Exception('Directory or file "' . $path . '" does not exist'); |
118 |
|
} |
119 |
|
|
120 |
|
/* |
121 |
|
* Dry-run message |