opt
/
cpanel
/
ea-wappspector
/
vendor
/
squizlabs
/
php_codesniffer
/
src
/
Standards
/
Generic
/
Tests
/
Strings
➕ New
📤 Upload
✎ Editing:
UnnecessaryStringConcatUnitTest.js
← Back
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.';
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel