PHP Classes

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

Recommend this page to a friend!
  Classes of milenmk   Simple PHP Password Manager   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: Simple PHP Password Manager
Application to store and retrieve user password
Author: By
Last change:
Date: 1 year ago
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();