From f8ee82baa5c08539cb85554d863fa1d66a5453bb Mon Sep 17 00:00:00 2001 From: Jonathan Date: Thu, 1 Feb 2024 11:07:49 +0100 Subject: [PATCH] cs-fixer changes --- .github/workflows/quality.yaml | 2 +- src/Adapter/Filesystem/Satellite.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/quality.yaml b/.github/workflows/quality.yaml index 81e014bd..75470482 100644 --- a/.github/workflows/quality.yaml +++ b/.github/workflows/quality.yaml @@ -14,7 +14,7 @@ jobs: run: | wget -q https://cs.symfony.com/download/php-cs-fixer-v3.phar -O php-cs-fixer chmod a+x php-cs-fixer - PHP_CS_FIXER_IGNORE_ENV=true ./php-cs-fixer fix src --dry-run + ./php-cs-fixer fix src --dry-run phpstan: runs-on: ubuntu-latest diff --git a/src/Adapter/Filesystem/Satellite.php b/src/Adapter/Filesystem/Satellite.php index b02f5fc5..05195d10 100644 --- a/src/Adapter/Filesystem/Satellite.php +++ b/src/Adapter/Filesystem/Satellite.php @@ -48,9 +48,9 @@ public function build( fclose($stream); } } else { - $dirname = dirname($this->workdir.'/'.$file->getPath()); + $dirname = \dirname($this->workdir.'/'.$file->getPath()); if (!file_exists($dirname)) { - mkdir($dirname, 0755, true); + mkdir($dirname, 0o755, true); } $stream = fopen($this->workdir.'/'.$file->getPath(), 'wb'); stream_copy_to_stream($file->asResource(), $stream);