opt
/
cpanel
/
ea-wappspector
/
vendor
/
squizlabs
/
php_codesniffer
/
src
/
Standards
/
Squiz
/
Tests
/
WhiteSpace
➕ New
📤 Upload
✎ Editing:
SuperfluousWhitespaceUnitTest.1.inc
← Back
<?php echo 'hi'; echo 'hello'; if ($something) { } function myFunction() { echo 'code here'; echo 'code here'; // Hello. /* HI */ } /** * Doc comment with a white space at the end. */ function myFunction2() { echo 'code here'; echo 'code here'; } // phpcs:set Squiz.WhiteSpace.SuperfluousWhitespace ignoreBlankLines true function myFunction2() { echo 'code here'; echo 'code here'; } // Ordinary comment with extra whitespace at the end // phpcs:set Squiz.WhiteSpace.SuperfluousWhitespace ignoreBlankLines false // Уберём из системных свойств все кроме информации об услугах class Nested_Function { public function getAnonymousClass() { return new class() { static private final function _nested_function() { echo 'code here'; echo 'code here'; } }; } } ?>
💾 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