From 88055e40931a56074b6510a631d3403794c91625 Mon Sep 17 00:00:00 2001 From: Klaus Purer <klaus.purer@protonmail.ch> Date: Thu, 15 Jun 2023 09:16:09 +0200 Subject: [PATCH] style(FunctionT): Fix coding standard spacing in test (#3326197) --- tests/Drupal/Semantics/FunctionTUnitTest.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/Drupal/Semantics/FunctionTUnitTest.inc b/tests/Drupal/Semantics/FunctionTUnitTest.inc index 6379f4ed..02aff86c 100644 --- a/tests/Drupal/Semantics/FunctionTUnitTest.inc +++ b/tests/Drupal/Semantics/FunctionTUnitTest.inc @@ -20,7 +20,7 @@ $x = '<p>' . t('Test') . '</p><p>More text.</p>'; $x = t('Test') . ' (disabled)'; class Test { - const FOO='bar'; + const FOO = 'bar'; public function doSomething() { return $this->t('This string should avoid backslashes for \''); @@ -42,7 +42,6 @@ class Test { } // Using constants in t() should be allowed. -const FOO2='bar2'; +const FOO2 = 'bar2'; $x = t(FOO2); $x = t(Test::FOO); - -- GitLab