PHP Classes

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

Recommend this page to a friend!
  Classes of milenmk   Simple PHP Password Manager   vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/ObjectOperatorSpacingUnitTest.inc   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/ObjectOperatorSpacingUnitTest.inc
Role: Example script
Content type: text/plain
Description: Example script
Class: Simple PHP Password Manager
Application to store and retrieve user password
Author: By
Last change:
Date: 1 year ago
Size: 1,195 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();