@@ -59,6 +59,9 @@ discard block |
||
59 | 59 | return $this->genFake($file, $path); |
60 | 60 | } |
61 | 61 | |
62 | + /** |
|
63 | + * @param string $path |
|
64 | + */ |
|
62 | 65 | protected function genFake($file, $path) |
63 | 66 | { |
64 | 67 | $text = $this->getView()->render('phpunit/fake.twig', [ |
@@ -83,6 +86,9 @@ discard block |
||
83 | 86 | return $this->genSkel($file); |
84 | 87 | } |
85 | 88 | |
89 | + /** |
|
90 | + * @return string |
|
91 | + */ |
|
86 | 92 | protected static function prepareFile($file) |
87 | 93 | { |
88 | 94 | return substr($file, -4) === '.php' ? substr($file, 0, -4) : $file; |