aik099 / CodingStandard

The PHP_CodeSniffer coding standard I'm using on all of my projects
BSD 3-Clause "New" or "Revised" License
5 stars 2 forks source link

Logical not operator without following space #98

Open aik099 opened 8 years ago

aik099 commented 8 years ago

Opposite to https://github.com/squizlabs/PHP_CodeSniffer/commit/128b9864f9892444a609fadf0ad6a6ac407016ba

// changes
if (! $someVar || ! $x instanceOf 'stdClass') {

// to
if (!$someVar || !$x instanceOf 'stdClass') {