File "LogicalOperatorSpacingUnitTest.inc.fixed"
Full Path: /home/warrior1/public_html/wp-content/themes/storefront/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/LogicalOperatorSpacingUnitTest.inc.fixed
File size: 261 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
if ($foo || $bar) {}
if ($foo || $bar && $baz) {}
if ($foo || $bar && $baz) {}
if ($foo || $bar && $baz) {}
// Spacing after || below is ignored as it is EOL whitespace.
if ($foo ||
$bar
&& $baz
) {
}
if ($foo ||
$bar
&& $baz
) {
}