8000 Merge branch '6.4' into 7.0 · symfony/dotenv@479f3a9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 479f3a9

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: fix compatibility with Twig 3.10 [Strings][EnglishInflector] Fix incorrect pluralisation of 'Album' handle union and intersection types for cascaded validations move wiring of the property info extractor to the ObjectNormalizer restore deprecated properties move Process component dep to require-dev Remove calls to `onConsecutiveCalls()` fix: remove unwanted type cast accept AbstractAsset instances when filtering schemas better distinguish URL schemes and windows drive letters handle edge cases when constructing constraints with named arguments convert empty CSV header names into numeric keys
2 parents a89d01d + 00e5fcc commit 479f3a9

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

Command/DebugCommand.php

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,24 @@
3030
#[AsCommand(name: 'debug:dotenv', description: 'List all dotenv files with variables and values')]
3131
final class DebugCommand extends Command
3232
{
33-
public function __construct(
34-
private string $kernelEnvironment,
35-
private string $projectDirectory,
36-
) {
33+
/**
34+
* @deprecated since Symfony 6.1
35+
*/
36+
protected static $defaultName = 'debug:dotenv';
37+
38+
/**
39+
* @deprecated since Symfony 6.1
40+
*/
41+
protected static $defaultDescription = 'List all dotenv files with variables and values';
42+
43+
private string $kernelEnvironment;
44+
private string $projectDirectory;
45+
46+
public function __construct(string $kernelEnvironment, string $projectDirectory)
47+
{
48+
$this->kernelEnvironment = $kernelEnvironment;
49+
$this->projectDirectory = $projectDirectory;
50+
3751
parent::__construct();
3852
}
3953

0 commit comments

Comments
 (0)
0