Skip to content

Commit

Permalink
Merge branch '2.19'
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/Console/WarningsDetector.php
#	tests/Smoke/CiIntegrationTest.php
  • Loading branch information
keradus committed Nov 15, 2021
2 parents b93ee4b + 29691a1 commit fdc3616
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Console/WarningsDetector.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public function detectOldMajor(): void
// $currentMajorVersion = \intval(explode('.', Application::VERSION)[0], 10);
// $nextMajorVersion = $currentMajorVersion + 1;
// $this->warnings[] = "You are running PHP CS Fixer v{$currentMajorVersion}, which is not maintained anymore. Please update to v{$nextMajorVersion}.";
// $this->warnings[] = "You may find an UPGRADE guide at https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/v{$nextMajorVersion}.0.0/UPGRADE-v{$nextMajorVersion}.md .";
}

public function detectOldVendor(): void
Expand Down
1 change: 1 addition & 0 deletions tests/Smoke/CiIntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ public function testIntegration(
]);

$optionalDeprecatedVersionWarning = 'You are running PHP CS Fixer v3, which is not maintained anymore. Please update to v4.
You may find an UPGRADE guide at https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/v4.0.0/UPGRADE-v4.md .
';

$optionalIncompatibilityWarning = 'PHP needs to be a minimum version of PHP 7.1.3 and maximum version of PHP 8.0.*.
Expand Down

0 comments on commit fdc3616

Please sign in to comment.