-
-
Notifications
You must be signed in to change notification settings - Fork 77
Closed
Description
Bug report
| Question | Answer |
|---|---|
| PHP-Scoper version | 0.18.18 (phar) |
| PHP version | 8.4 |
| Platform with version | unix |
scoper removes blank lines in all code even in files that are in "excluded-namespaces"
While this usually is not a problem, this results in broken code where whitespace matters, e.g. protobuf or grpc
Additionally, it also alters otherwhitespace unneccessarily, e.g. $foo.'asd' is changed to $foo . 'asd' even in lines where scoper didn't change anything (not 100% sure, but I think this also breaks protobuf stuff, but couldn't really test it since the empty lines already broke it)
Metadata
Metadata
Assignees
Labels
No labels