Skip to content

Commit fa08e1e

Browse files
committed
Fix linting
1 parent 7b016c9 commit fa08e1e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136

137137
- run: ./vendor/bin/phpunit ${{ matrix.phpunit-flags }}
138138
env:
139-
FAST_LINT_TEST_CASES: 0
139+
FAST_LINT_TEST_CASES: ${{ matrix.FAST_LINT_TEST_CASES }}
140140

141141
- if: matrix.calculate-coverage
142142
env:

tests/Fixer/AbstractFixerTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ final protected function lintSource(string $source): ?string
225225
static $linter;
226226

227227
if ($linter === null) {
228-
$linter = \getenv('FAST_LINT_TEST_CASES') !== false ? new Linter() : new ProcessLinter();
228+
$linter = (\getenv('FAST_LINT_TEST_CASES') === '1') ? new Linter() : new ProcessLinter();
229229
}
230230

231231
try {

0 commit comments

Comments
 (0)