PHP code style: No space after unary not operator

Change-Id: I4d3df0cfcda4d88e405164123893e57786fbe15e
This commit is contained in:
Fomafix 2017-01-04 11:46:37 +01:00 committed by Umherirrender
parent 6f19bac695
commit d2997347a2
4 changed files with 5 additions and 5 deletions

View file

@ -471,7 +471,7 @@ class WatchedItemQueryService {
}
private function getStartEndConds( IDatabase $db, array $options ) {
if ( !isset( $options['start'] ) && ! isset( $options['end'] ) ) {
if ( !isset( $options['start'] ) && !isset( $options['end'] ) ) {
return [];
}

View file

@ -182,7 +182,7 @@ class DiffEngine {
}
while ( $i < $len && !$changed[$i] ) {
assert( $j < $other_len && ! $other_changed[$j] );
assert( $j < $other_len && !$other_changed[$j] );
$i++;
$j++;
while ( $j < $other_len && $other_changed[$j] ) {
@ -247,7 +247,7 @@ class DiffEngine {
$i++;
}
assert( $j < $other_len && ! $other_changed[$j] );
assert( $j < $other_len && !$other_changed[$j] );
$j++;
if ( $j < $other_len && $other_changed[$j] ) {
$corresponding = $i;

View file

@ -5258,7 +5258,7 @@ class Parser {
case 'framed':
case 'thumbnail':
// use first appearing option, discard others.
$validated = ! $seenformat;
$validated = !$seenformat;
$seenformat = true;
break;
default:

View file

@ -129,7 +129,7 @@ TEXT
__METHOD__
);
if ( ! $row ) {
if ( !$row ) {
$dbw->insert(
'interwiki',
[