From eb43dd94057b63c92ff781ec8230406058c6e8d9 Mon Sep 17 00:00:00 2001 From: Simon Podlipsky Date: Sun, 19 Jun 2022 18:09:32 +0300 Subject: [PATCH] feat: require nowdoc syntax instead of heredoc when possible --- lib/Doctrine/ruleset.xml | 2 ++ tests/fixed/strings.php | 9 +++++++++ tests/input/strings.php | 9 +++++++++ tests/php74-compatibility.patch | 13 +++++++++---- 4 files changed, 29 insertions(+), 4 deletions(-) create mode 100644 tests/fixed/strings.php create mode 100644 tests/input/strings.php diff --git a/lib/Doctrine/ruleset.xml b/lib/Doctrine/ruleset.xml index 504da2cf..ae7ca301 100644 --- a/lib/Doctrine/ruleset.xml +++ b/lib/Doctrine/ruleset.xml @@ -448,6 +448,8 @@ + + diff --git a/tests/fixed/strings.php b/tests/fixed/strings.php new file mode 100644 index 00000000..2da214ea --- /dev/null +++ b/tests/fixed/strings.php @@ -0,0 +1,9 @@ +