Skip to content
Snippets Groups Projects
Commit 88055e40 authored by Klaus Purer's avatar Klaus Purer
Browse files

style(FunctionT): Fix coding standard spacing in test (#3326197)

parent 1c4a0921
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ $x = '<p>' . t('Test') . '</p><p>More text.</p>'; ...@@ -20,7 +20,7 @@ $x = '<p>' . t('Test') . '</p><p>More text.</p>';
$x = t('Test') . ' (disabled)'; $x = t('Test') . ' (disabled)';
class Test { class Test {
const FOO='bar'; const FOO = 'bar';
public function doSomething() { public function doSomething() {
return $this->t('This string should avoid backslashes for \''); return $this->t('This string should avoid backslashes for \'');
...@@ -42,7 +42,6 @@ class Test { ...@@ -42,7 +42,6 @@ class Test {
} }
// Using constants in t() should be allowed. // Using constants in t() should be allowed.
const FOO2='bar2'; const FOO2 = 'bar2';
$x = t(FOO2); $x = t(FOO2);
$x = t(Test::FOO); $x = t(Test::FOO);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment