PHP Classes

File: vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Strings/UnnecessaryStringConcatUnitTest.js

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Download Installed Plugin   vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Strings/UnnecessaryStringConcatUnitTest.js   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Strings/UnnecessaryStringConcatUnitTest.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Download Installed Plugin
Download a WordPress plugin as a ZIP archive
Author: By
Last change:
Date: 2 days ago
Size: 415 bytes
 

Contents

Class file image Download
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.';