File "LogicalOperatorSpacingUnitTest.inc"

Full Path: /home/warrior1/public_html/languages/wp-content/themes/storefront/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/LogicalOperatorSpacingUnitTest.inc
File size: 259 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
) {
}