-
Notifications
You must be signed in to change notification settings - Fork 149
Open
Labels
cleanupdeveloper-specificIssues that only affect maintainers, contributors, and people submitting PRsIssues that only affect maintainers, contributors, and people submitting PRsphpPull requests that update Php codePull requests that update Php coderefactorFor PRs that refactor code without changing functionalityFor PRs that refactor code without changing functionality
Description
'heredoc' is a hangover from when PHP was just a simple scripting language.
Now it is a fully-fledged OO language, the syntax breaks readability in classes, etc., and should not be used (IOO).
- Replace all 'heredoc'
- Add code sniffer rule (or suchlike) to not allow it
- Add further rule to disallow multiline strings indented less than the code
Metadata
Metadata
Assignees
Labels
cleanupdeveloper-specificIssues that only affect maintainers, contributors, and people submitting PRsIssues that only affect maintainers, contributors, and people submitting PRsphpPull requests that update Php codePull requests that update Php coderefactorFor PRs that refactor code without changing functionalityFor PRs that refactor code without changing functionality