From afa646144fef3713101b2112b9b39fc793e6bef5 Mon Sep 17 00:00:00 2001 From: maks-rafalko Date: Thu, 19 Aug 2021 18:47:39 +0300 Subject: [PATCH] Update comment, use indented heredoc syntax --- src/Mutator/ProfileList.php | 2 +- .../TestFramework/PhpUnit/Adapter/PestAdapterTest.php | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/Mutator/ProfileList.php b/src/Mutator/ProfileList.php index 17bdf5407..e6be1c08c 100644 --- a/src/Mutator/ProfileList.php +++ b/src/Mutator/ProfileList.php @@ -465,7 +465,7 @@ final class ProfileList 'BCMath' => Mutator\Extensions\BCMath::class, 'MBString' => Mutator\Extensions\MBString::class, - // Internal only usage + // Internal usage only 'SyntaxError' => Mutator\SyntaxError::class, ]; diff --git a/tests/phpunit/TestFramework/PhpUnit/Adapter/PestAdapterTest.php b/tests/phpunit/TestFramework/PhpUnit/Adapter/PestAdapterTest.php index 69ccfb90d..a9a6577bd 100644 --- a/tests/phpunit/TestFramework/PhpUnit/Adapter/PestAdapterTest.php +++ b/tests/phpunit/TestFramework/PhpUnit/Adapter/PestAdapterTest.php @@ -292,12 +292,11 @@ public function syntaxErrorOutputProvider(): iterable yield ['Tests: 1 risked', false]; yield [ - <<"' -TXT - , + syntax error, unexpected ">"' + TXT, true, ]; }