PHP code style: No space after unary not operator
Change-Id: I4d3df0cfcda4d88e405164123893e57786fbe15e
This commit is contained in:
parent
6f19bac695
commit
d2997347a2
4 changed files with 5 additions and 5 deletions
|
|
@ -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 [];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -5258,7 +5258,7 @@ class Parser {
|
|||
case 'framed':
|
||||
case 'thumbnail':
|
||||
// use first appearing option, discard others.
|
||||
$validated = ! $seenformat;
|
||||
$validated = !$seenformat;
|
||||
$seenformat = true;
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@ TEXT
|
|||
__METHOD__
|
||||
);
|
||||
|
||||
if ( ! $row ) {
|
||||
if ( !$row ) {
|
||||
$dbw->insert(
|
||||
'interwiki',
|
||||
[
|
||||
|
|
|
|||
Loading…
Reference in a new issue