File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
/.idea
2
+ /.php_cs.cache
2
3
/.settings
3
4
/.buildpath
4
5
/.project
5
6
/composer.lock
6
7
/vendor
7
8
/report
8
- /build
9
+ /build
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ protected function loop()
183
183
// new lines
184
184
case "\n" :
185
185
// if the next line is something that can't stand alone preserve the newline
186
- if (strpos ('(-+[@ ' , $ this ->b ) !== false ) {
186
+ if ($ this -> b !== false && strpos ('(-+[@ ' , $ this ->b ) !== false ) {
187
187
echo $ this ->a ;
188
188
$ this ->saveString ();
189
189
break ;
@@ -231,7 +231,7 @@ protected function loop()
231
231
// check for some regex that breaks stuff
232
232
if ($ this ->a === '/ ' && ($ this ->b === '\'' || $ this ->b === '" ' )) {
233
233
$ this ->saveRegex ();
234
- continue ;
234
+ continue 3 ;
235
235
}
236
236
237
237
echo $ this ->a ;
You can’t perform that action at this time.
0 commit comments