Skip to content

Conversation

@oliverklee
Copy link
Collaborator

This allows the testcase being autoformatted
without breaking the tests for PHP 7.2.

https://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc

This allows the testcase being autoformatted
without breaking the tests for PHP 7.2.

https://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc
@coveralls
Copy link

Coverage Status

coverage: 62.487%. remained the same
when pulling 9617915 on cleanup/heredoc-2
into 51a3c0a on main.

Copy link
Collaborator

@JakeQZ JakeQZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we also indent the contents of the string, etc., as part of this change? It would make the code easier to read.

I don't think the extra whitepsace should matter for the tests - the change as proposed may already be introducing or removing line-feeds (or maybe not - I'm not sure).

If it does matter, would it be possible to use string concatenation - or is that not an option for a constant in PHP 7.2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants