Skip to content

Commit 6857eef

Browse files
authored
Merge pull request #322 from laravel/fix/removes-warning
Removes warning
2 parents 6945563 + 5a62e34 commit 6857eef

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

.github/workflows/tests.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,6 @@ jobs:
5050
composer install
5151
5252
- name: Execute lint tests with Laravel preset
53-
if: matrix.php == '8.4'
54-
run: PINT_IGNORE_ENV=1 ./pint --test
55-
56-
- name: Execute lint tests with Laravel preset
57-
if: matrix.php != '8.4'
5853
run: ./pint --test
5954

6055
- name: Execute static analysis

app/Commands/DefaultCommand.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,6 @@ protected function configure()
5757
*/
5858
public function handle($fixCode, $elaborateSummary)
5959
{
60-
if (! ($_ENV['PINT_IGNORE_ENV'] ?? false) && version_compare(PHP_VERSION, '8.4.0', '>=')) {
61-
$this->warn('PHP 8.4 is not currently supported by PHP CS Fixer and you may encounter unexpected behavior.');
62-
$this->warn('You can still force Pint to run by setting the environment variable:');
63-
$this->warn('PINT_IGNORE_ENV=1 vendor/bin/pint');
64-
65-
return 1;
66-
}
67-
6860
[$totalFiles, $changes] = $fixCode->execute();
6961

7062
return $elaborateSummary->execute($totalFiles, $changes);

0 commit comments

Comments
 (0)