File "ObjectOperatorSpacingUnitTest.inc.fixed"

Full Path: /home/warrior1/public_html/wp-content/themes/storefront/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/ObjectOperatorSpacingUnitTest.inc.fixed
File size: 1.1 KB
MIME-type: text/x-php
Charset: utf-8

<?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();