Skip to content

Commit

Permalink
Fixing file name
Browse files Browse the repository at this point in the history
  • Loading branch information
elminson committed Oct 18, 2018
1 parent 2224237 commit c1b6e2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,3 @@ After unzip the file you have to run
composer install
```
and you will have your project up and running in 5 minutes or less.

6 changes: 3 additions & 3 deletions src/PHPProjectGen.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ private function generateTestCases()

private function writeFile($name, $data, $prefix = "", $ext = "php")
{
$fp = fopen('src/temp/' . $prefix . $name . '.' . $ext, 'w');
$file = fopen('src/temp/' . $prefix . $name . '.' . $ext, 'w');
fwrite(/** @scrutinizer ignore-type */
$fp, $data);
$file, $data);
fclose(/** @scrutinizer ignore-type */
$fp);
$file);
}

private function generateZipFile()
Expand Down

0 comments on commit c1b6e2c

Please sign in to comment.