Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Jan 13, 2025
1 parent 0e0d1d9 commit c7ae62f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ConfigResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ private static function isAbsolutePath($file): bool
|| (
strlen($file) > 3 && ctype_alpha($file[0])
&& substr($file, 1, 1) === ':'
&& (strspn($file, '/\\', 2, 1))
&& strspn($file, '/\\', 2, 1)
)
|| null !== parse_url($file, PHP_URL_SCHEME);
}
Expand Down
2 changes: 1 addition & 1 deletion src/PreCompileCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$output->writeln('- Files: '.($count - $countSkipped).'/'.$count.' (skipped: '.$countSkipped.')');
})());

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

return 0;
}
Expand Down
1 change: 1 addition & 0 deletions tests/stubs/Bar.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ class Bar
public function qwerty()
{
$foo = new Baz();

// this comment should be removed
return __DIR__;
}
Expand Down

0 comments on commit c7ae62f

Please sign in to comment.