Skip to content

Remove 'heredoc' #1412

@JakeQZ

Description

@JakeQZ

'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

Metadata

Metadata

Assignees

No one assigned

    Labels

    cleanupdeveloper-specificIssues that only affect maintainers, contributors, and people submitting PRsphpPull requests that update Php coderefactorFor PRs that refactor code without changing functionality

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions