Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit fc00fad

Browse files
michalbundyraOcramius
authored andcommitted
More auto CS fixes
1 parent ebf86dd commit fc00fad

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Generator/FileGenerator.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,7 @@ public function generate()
429429
if (preg_match('#/\* Zend_Code_Generator_Php_File-(.*?)Marker:#m', $body)) {
430430
$tokens = token_get_all($body);
431431
foreach ($tokens as $token) {
432-
if (is_array($token) && in_array($token[0], [T_OPEN_TAG, T_COMMENT, T_DOC_COMMENT, T_WHITESPACE])
433-
) {
432+
if (is_array($token) && in_array($token[0], [T_OPEN_TAG, T_COMMENT, T_DOC_COMMENT, T_WHITESPACE])) {
434433
$output .= $token[1];
435434
}
436435
}

src/Scanner/ClassScanner.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,8 @@ protected function scan()
10101010

10111011
case null:
10121012
if (($classContext == T_IMPLEMENTS && $tokenContent == ',')
1013-
|| ($classContext == T_EXTENDS && $tokenContent == ',' && $this->isInterface)) {
1013+
|| ($classContext == T_EXTENDS && $tokenContent == ',' && $this->isInterface)
1014+
) {
10141015
$classInterfaceIndex++;
10151016
$this->shortInterfaces[$classInterfaceIndex] = '';
10161017
}

0 commit comments

Comments
 (0)