Skip to content

Commit 7f83674

Browse files
Fixed PHP CS fixer errors
1 parent 33f7cdd commit 7f83674

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/SassBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function getScssCssTargets(): array
7676
throw new \Exception(sprintf('Could not find Sass file: "%s"', $sassPath));
7777
}
7878

79-
$targets[] = $sassPath.':'. self::guessCssNameFromSassFile($sassPath, $fileName, $this->cssPath);
79+
$targets[] = $sassPath.':'.self::guessCssNameFromSassFile($sassPath, $fileName, $this->cssPath);
8080
}
8181

8282
return $targets;
@@ -92,7 +92,7 @@ public function setOutput(SymfonyStyle $output): void
9292
*/
9393
public static function guessCssNameFromSassFile(string $sassFile, string|int $fileName, string $outputDirectory): string
9494
{
95-
if (is_int($fileName)) {
95+
if (\is_int($fileName)) {
9696
$fileName = basename($sassFile, '.scss');
9797
}
9898

tests/SassBuilderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function testPathsConfigWithKeys(): void
4949
$builder = new SassBuilder(
5050
[
5151
'foo' => __DIR__.'/fixtures/assets/app.scss',
52-
'bar' => __DIR__.'/fixtures/assets/admin/app.scss'
52+
'bar' => __DIR__.'/fixtures/assets/admin/app.scss',
5353
],
5454
__DIR__.'/fixtures/assets',
5555
__DIR__.'/fixtures',

0 commit comments

Comments
 (0)