Skip to content

Commit c7ae62f

Browse files
committed
Apply fixes from StyleCI
1 parent 0e0d1d9 commit c7ae62f

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/ConfigResolver.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ private static function isAbsolutePath($file): bool
7171
|| (
7272
strlen($file) > 3 && ctype_alpha($file[0])
7373
&& substr($file, 1, 1) === ':'
74-
&& (strspn($file, '/\\', 2, 1))
74+
&& strspn($file, '/\\', 2, 1)
7575
)
7676
|| null !== parse_url($file, PHP_URL_SCHEME);
7777
}

src/PreCompileCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
102102
$output->writeln('- Files: '.($count - $countSkipped).'/'.$count.' (skipped: '.$countSkipped.')');
103103
})());
104104

105-
$output->writeln('- Filesize: '.(round(filesize($outputFile) / 1024)).' kb');
105+
$output->writeln('- Filesize: '.round(filesize($outputFile) / 1024).' kb');
106106

107107
return 0;
108108
}

tests/stubs/Bar.php

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ class Bar
77
public function qwerty()
88
{
99
$foo = new Baz();
10+
1011
// this comment should be removed
1112
return __DIR__;
1213
}

0 commit comments

Comments
 (0)