File: SpaceAfterNotUnitTest.inc.fixed

package info (click to toggle)
php-codesniffer 2.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 6,460 kB
  • ctags: 8,660
  • sloc: php: 40,311; xml: 9,505; pascal: 3,365; makefile: 16; sh: 6
file content (5 lines) | stat: -rw-r--r-- 159 bytes parent folder | download
1
2
3
4
5
<?php
if (! $someVar || ! $x instanceOf 'stdClass') {}
if (! $someVar || ! $x instanceOf 'stdClass') {}
if (! foo() && (! $x || true)) {}
$var = ! ($x || $y);