diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 994323b..d44c1fd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -66,6 +66,8 @@ jobs: include: - php: '8.2' symfony-version: '7.3.*' + - php: '8.5' + symfony-version: '7.3.*' fail-fast: false steps: - name: Checkout @@ -84,9 +86,6 @@ jobs: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} restore-keys: ${{ runner.os }}-composer- - - name: Setup Composer minimum stability if required - run: composer config minimum-stability dev - if: ${{ contains(fromJSON('["6.4.*", "7.0.*"]'), matrix.symfony-version) }} - name: Install symfony version from matrix env: SYMFONY_VERSION: ${{ matrix.symfony-version }} diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 397b38e..91654eb 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -17,6 +17,7 @@ 'phpdoc_summary' => false, ]) ->setUsingCache(true) + ->setUnsupportedPhpVersionAllowed(true) ->setFinder( PhpCsFixer\Finder::create() ->in(__DIR__) diff --git a/src/Command/ListFeatureCommand.php b/src/Command/ListFeatureCommand.php index 32b32e9..38e4a61 100644 --- a/src/Command/ListFeatureCommand.php +++ b/src/Command/ListFeatureCommand.php @@ -115,7 +115,7 @@ private function getCsvLine(array $columns): string } $fp = fopen('php://temp', 'w+') ?: throw new \RuntimeException('Unable to open temporary file'); - fputcsv($fp, $columns); + fputcsv($fp, $columns, ',', '"', '\\'); rewind($fp); $data = fread($fp, 1_048_576); // 1MB