Skip to content

Commit 5855b5e

Browse files
Merge branch '5.4' into 6.0
* 5.4: (26 commits) [Dotenv] Fix testBootEnv() to start from a fresh context fix tests relax expected exception message for forward-compatibility with 5.4 fix expected exception messages after changes made in Definition class [DependencyInjection] show class name on DI errors skip command completion tests with older Symfony Console versions Use GitHub issue form templates Fix CS add ResponseIsUnprocessable Add missing translations for Persian (fa) skip command completion tests with older Symfony Console versions prevent issues with timezones and DST by using only UNIX timestamps Add the missing translations for Bahasa Indonesia (id) [Finder] Fix .gitignore infinite loop Update README.md fix messenger DI dependency for registerAttributeForAutoconfiguration [Messenger] Autoconfigurable attributes Fix deprecations on PHP 8.2 [Dotenv] Fix testLoadEnv() .env.dist isolation Since 5.0, throws \UnexpectedValueException has been removed. ...
2 parents ceb825c + cdf6571 commit 5855b5e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Tests/Command/LintCommandTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,10 @@ public function testLintAutodetectsGithubActionEnvironment()
141141
*/
142142
public function testComplete(array $input, array $expectedSuggestions)
143143
{
144+
if (!class_exists(CommandCompletionTester::class)) {
145+
$this->markTestSkipped('Test command completion requires symfony/console 5.4+.');
146+
}
147+
144148
$tester = new CommandCompletionTester($this->createCommand());
145149

146150
$this->assertSame($expectedSuggestions, $tester->complete($input));

0 commit comments

Comments
 (0)