PATH:
opt
/
cpanel
/
ea-wappspector
/
vendor
/
squizlabs
/
php_codesniffer
/
src
/
Standards
/
Generic
/
Tests
/
Strings
var x = 'My ' + 'string'; var x = 'My ' + 1234; var x = 'My ' + y + ' test'; this.errors['test'] = x; this.errors['test' + 10] = x; this.errors['test' + y] = x; this.errors['test' + 'blah'] = x; this.errors[y] = x; this.errors[y + z] = x; this.errors[y + z + 'My' + 'String'] = x; var long = 'This is a really long string. ' + 'It is being used for errors. ' + 'The message is not translated.';
[-] UnnecessaryStringConcatUnitTest.2.inc
[edit]
[+]
..
[-] UnnecessaryHeredocUnitTest.2.inc
[edit]
[-] UnnecessaryStringConcatUnitTest.php
[edit]
[-] UnnecessaryHeredocUnitTest.1.inc
[edit]
[-] UnnecessaryHeredocUnitTest.php
[edit]
[-] UnnecessaryStringConcatUnitTest.1.inc
[edit]
[-] UnnecessaryHeredocUnitTest.2.inc.fixed
[edit]
[-] UnnecessaryStringConcatUnitTest.js
[edit]
[-] UnnecessaryHeredocUnitTest.1.inc.fixed
[edit]
[-] UnnecessaryHeredocUnitTest.3.inc
[edit]