PHP Classes

File: vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/LanguageConstructSpacingUnitTest.inc

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Download Installed Plugin   vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/LanguageConstructSpacingUnitTest.inc   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/LanguageConstructSpacingUnitTest.inc
Role: Example script
Content type: text/plain
Description: Example script
Class: Download Installed Plugin
Download a WordPress plugin as a ZIP archive
Author: By
Last change:
Date: Yesterday
Size: 621 bytes
 

Contents

Class file image Download
<?php
echo $blah;
echo
$blah;
echo(
$blah);

print
$blah;
print
$blah;
print(
$blah);

include
$blah;
include
$blah;
include(
$blah);

include_once
$blah;
include_once
$blah;
include_once(
$blah);

require
$blah;
require
$blah;
require(
$blah);

require_once
$blah;
require_once
$blah;
require_once(
$blah);

$obj = new MyClass();
$obj = new MyClass();

return;
return
$blah;
return
$blah;
return(
$blah);

return
$tab;
return
$newLine;

// The following line must have a single space at the end (after return)
return
$spaceAndNewLine;

// The following line must be the last line in the file
return