Skip to content

Commit f56d44b

Browse files
committed
[Bug] Fix a redundant white spaces and lines in outputs.
1 parent 95abea8 commit f56d44b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Change Log
22

33
## 1.1.1 - 2020/11/06
4+
- Fixed a redundant white spaces and lines in outputs.
45
- Fixed a bug that listed directories with a name with an extension that is specified with the search option when only files should be listed.
56

67
## 1.1.0 - 2020/09/14

source/PHPClassMapGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ private function ___write( $sOutputFilePath ) {
142142
if ( file_exists( $sOutputFilePath ) ) {
143143
unlink( $sOutputFilePath );
144144
}
145-
file_put_contents( $sOutputFilePath, $this->getMap() . PHP_EOL, FILE_APPEND | LOCK_EX );
145+
file_put_contents( $sOutputFilePath, $this->getMap(),LOCK_EX );
146146
}
147147

148148
/**

0 commit comments

Comments
 (0)