PHP Classes

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

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Download Installed Plugin   vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/ObjectOperatorSpacingUnitTest.inc.fixed   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/ObjectOperatorSpacingUnitTest.inc.fixed
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: 1,131 bytes
 

Contents

Class file image Download
<?php
$this
->testThis();
$this->testThis();
$this->testThis();
$this->/* comment here */testThis();
$this/* comment here */->testThis();
$this->testThis();
$this->testThis();

// phpcs:set Squiz.WhiteSpace.ObjectOperatorSpacing ignoreNewlines true

$this->testThis();
$this->testThis();
$this->testThis();
$this->/* comment here */testThis();
$this/* comment here */->testThis();
$this
   
->testThis();
$this->
   
testThis();

// phpcs:set Squiz.WhiteSpace.ObjectOperatorSpacing ignoreNewlines false

thisObject::testThis();
thisObject::testThis();
thisObject::testThis();
thisObject::/* comment here */testThis();
thisObject/* comment here */::testThis();
thisObject::testThis();
thisObject::testThis();
   
// phpcs:set Squiz.WhiteSpace.ObjectOperatorSpacing ignoreNewlines true

thisObject::testThis();
thisObject::testThis();
thisObject::testThis();
thisObject::/* comment here */testThis();
thisObject/* comment here */::testThis();
thisObject
   
::testThis();
thisObject::
   
testThis();

// phpcs:set Squiz.WhiteSpace.ObjectOperatorSpacing ignoreNewlines false

$this?->testThis();
$this?->testThis();
$this?->testThis();