REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 992 B
Close
//opt/cpanel/ea-wappspector/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Strings/UnnecessaryStringConcatUnitTest.1.inc
Text
Base64
<?php $x = 'My '.'string'; $x = 'My '. 1234; $x = 'My '.$y.' test'; echo $data['my'.'index']; echo $data['my'. 4]; echo $data['my'.$x]; echo $data[$x.$y.'My'.'String']; $code = '$actions = array();'."\n"; $code = "$actions = array();"."\n"; // No errors for these because they are needed in some cases. $code = ' ?'.'>'; $code = '<'.'?php '; $string = 'This is a really long string. ' . 'It is being used for errors. ' . 'The message is not translated.'; $shouldBail = 1 + 1; $shouldNotTrigger = 'My' . /* comment */ 'string'; $shouldNotTrigger = 'My' /* comment */ . 'string'; // phpcs:set Generic.Strings.UnnecessaryStringConcat allowMultiline true $string = 'Multiline strings are allowed ' . 'when setting is enabled.'; // phpcs:set Generic.Strings.UnnecessaryStringConcat allowMultiline false // phpcs:set Generic.Strings.UnnecessaryStringConcat error false $throwWarning = 'My' . 'string'; // phpcs:set Generic.Strings.UnnecessaryStringConcat error true
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 10
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
UnnecessaryHeredocUnitTest.1.inc
1.74 KB
lrw-r--r--
2025-11-04 16:30:35
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
UnnecessaryHeredocUnitTest.1.inc.fixed
1.74 KB
lrw-r--r--
2025-11-04 16:30:35
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
UnnecessaryHeredocUnitTest.2.inc
1.98 KB
lrw-r--r--
2025-11-04 16:30:35
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
UnnecessaryHeredocUnitTest.2.inc.fixed
1.98 KB
lrw-r--r--
2025-11-04 16:30:35
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
UnnecessaryHeredocUnitTest.3.inc
155 B
lrw-r--r--
2025-11-04 16:30:35
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
UnnecessaryHeredocUnitTest.php
1.88 KB
lrw-r--r--
2025-11-04 16:30:35
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
UnnecessaryStringConcatUnitTest.1.inc
992 B
lrw-r--r--
2025-11-04 16:30:35
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
UnnecessaryStringConcatUnitTest.2.inc
195 B
lrw-r--r--
2025-11-04 16:30:35
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
UnnecessaryStringConcatUnitTest.js
415 B
lrw-r--r--
2025-11-04 16:30:35
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
UnnecessaryStringConcatUnitTest.php
2.19 KB
lrw-r--r--
2025-11-04 16:30:35
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).