PATH:
opt
/
cpanel
/
ea-wappspector
/
vendor
/
squizlabs
/
php_codesniffer
/
src
/
Standards
/
Squiz
/
Tests
/
Strings
<?php $string = 'Hello'.$there.'. How are'.$you.$going."today $okay"; $string = 'Hello' . $there . '. How are' . $you . $going . "today $okay"; $string = 'Hello'.$there; $string = 'Hello'. $there; $string = 'Hello' .$there; $y = '1' . '2' . '3'; echo 1 . 'test'; echo 1.1 . 'test'; echo 'test' . 1; echo 'test' . 1.1; echo 'test' . 1 . 'test' . 2.2 . 'test' . 3; get_current_screen()->add_help_tab( array( 'id' => <<<EOD Here comes some text. EOD . '</hr>', ) ); // phpcs:set Squiz.Strings.ConcatenationSpacing spacing 1 $string = 'Hello'.$there.'. How are'.$you.$going. "today $okay"; $string = 'Hello' . $there . '. How are' . $you . $going . "today $okay"; $string = 'Hello'.$there; $string = 'Hello'. $there; $string = 'Hello' .$there; // phpcs:set Squiz.Strings.ConcatenationSpacing ignoreNewlines true $y = '1' . '2' . '3'; $y = '1' . '2' . '3'; $y = '1' . '2' . '3'; $y = '1' .'2'. '3' . '4';
[+]
..
[-] EchoedStringsUnitTest.inc.fixed
[edit]
[-] DoubleQuoteUsageUnitTest.inc.fixed
[edit]
[-] ConcatenationSpacingUnitTest.php
[edit]
[-] EchoedStringsUnitTest.inc
[edit]
[-] ConcatenationSpacingUnitTest.inc
[edit]
[-] DoubleQuoteUsageUnitTest.php
[edit]
[-] ConcatenationSpacingUnitTest.inc.fixed
[edit]
[-] EchoedStringsUnitTest.php
[edit]
[-] DoubleQuoteUsageUnitTest.inc
[edit]