Skip to content

Commit 87bad20

Browse files
committed
QA/CS: various minor CS fixes
1 parent f071cfa commit 87bad20

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Scripts/CheckSniffCompleteness.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ protected function processCliCommand()
260260

261261
$exclude = \explode(',', $exclude);
262262
$exclude = \array_map(
263-
function ($subdir) {
263+
static function ($subdir) {
264264
return \trim($subdir, '/');
265265
},
266266
$exclude
@@ -405,7 +405,7 @@ public function isComplete()
405405
}
406406

407407
if ($this->showColored === true) {
408-
$feedback = "\033[32m" . $feedback . "\033[0m";
408+
$feedback = "\033[32m{$feedback}\033[0m";
409409
}
410410

411411
echo \PHP_EOL, \PHP_EOL, $feedback, \PHP_EOL;

0 commit comments

Comments
 (0)