Skip to content

Commit

Permalink
Merge branch '6.4' into 7.0
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
derrabus committed May 2, 2024
2 parents a89d01d + 00e5fcc commit 479f3a9
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions Command/DebugCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,24 @@
#[AsCommand(name: 'debug:dotenv', description: 'List all dotenv files with variables and values')]
final class DebugCommand extends Command
{
public function __construct(
private string $kernelEnvironment,
private string $projectDirectory,
) {
/**
* @deprecated since Symfony 6.1
*/
protected static $defaultName = 'debug:dotenv';

/**
* @deprecated since Symfony 6.1
*/
protected static $defaultDescription = 'List all dotenv files with variables and values';

private string $kernelEnvironment;
private string $projectDirectory;

public function __construct(string $kernelEnvironment, string $projectDirectory)
{
$this->kernelEnvironment = $kernelEnvironment;
$this->projectDirectory = $projectDirectory;

parent::__construct();
}

Expand Down

0 comments on commit 479f3a9

Please sign in to comment.