27 Commits

Author SHA1 Message Date
Dariusz Ruminski
be639dea57 chore: heredoc indentation as of PHP 7.3
https://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc
2025-08-10 00:28:14 +02:00
Alexandre Daubois
5b2ddbbf95 Fix multiple CS errors 2024-08-05 10:22:14 +02:00
Christian Flothmann
0643d07ef4 terminate with non-zero exit code when a secret could not be read
The fix for #42038 did a bit too much. Not only did it fix the PHP error that
wasn't caught before, but also changed the exit code of the command. With this
change the PHP error will still be prevented, but the command will terminate
with a non-zero exit code to indicate the failure that occurred while reading
the stored secrets.
2024-07-22 13:27:22 +02:00
Christian Flothmann
41a78cb07e Merge branch '7.1' into 7.2
* 7.1:
  fix merge
  [AssetMapper] Split test dirs in tests
  Fix typo
  Change incorrect check for the `stateless` request attribute
  [Validator] add setGroupProvider to AttributeLoader
  use copy() instead of rename() on Windows
  test: kebab-case to snake_case
  [PropertyInfo] Handle collection in PhpStan same as PhpDoc
  [Messenger] Passing to `WorkerMessageRetriedEvent` envelope with actual stamps after sent
2024-07-09 22:36:12 +02:00
Christian Flothmann
5bdfc57db1 Merge branch '7.0' into 7.1
* 7.0:
  fix merge
  [AssetMapper] Split test dirs in tests
  Fix typo
  Change incorrect check for the `stateless` request attribute
  [Validator] add setGroupProvider to AttributeLoader
  use copy() instead of rename() on Windows
  test: kebab-case to snake_case
  [PropertyInfo] Handle collection in PhpStan same as PhpDoc
  [Messenger] Passing to `WorkerMessageRetriedEvent` envelope with actual stamps after sent
2024-07-09 21:36:07 +02:00
Christian Flothmann
25cb13e74c Merge branch '5.4' into 6.4
* 5.4:
  Fix typo
  use copy() instead of rename() on Windows
  test: kebab-case to snake_case
  [PropertyInfo] Handle collection in PhpStan same as PhpDoc
  [Messenger] Passing to `WorkerMessageRetriedEvent` envelope with actual stamps after sent
2024-07-09 20:29:35 +02:00
Petrisor Ciprian Daniel
a6929df8c5 [FrameworkBundle] Add exit option to secrets:decrypt-to-local command 2024-07-09 11:04:05 +02:00
Oskar Stark
65bb31002c Fix typo 2024-07-08 21:30:21 +02:00
Alexander M. Turek
4875a8487f Prefix all sprintf() calls 2024-06-20 17:52:34 +02:00
Alexander M. Turek
427ab31004 [FrameworkBundle] Use CPP 2024-02-09 15:31:28 +01:00
Nicolas Grekas
3d2ae12694 Merge branch '5.4' into 6.3
* 5.4:
  Fix implicitly-required parameters
  List CS fix in .git-blame-ignore-revs
  Apply php-cs-fixer fix --rules nullable_type_declaration_for_default_null_value
  [Messenger][AmazonSqs] Allow async-aws/sqs version 2
2024-01-23 15:35:58 +01:00
Nicolas Grekas
9f39bd6765 Apply php-cs-fixer fix --rules nullable_type_declaration_for_default_null_value 2024-01-23 14:51:25 +01:00
Wouter de Jong
34bd487d2e Add void return types 2023-02-13 14:18:23 +01:00
Fabien Potencier
dd3bf10773 Revert "bug #44494 Remove FQCN type hints on properties (fabpot)"
This reverts commit 0a13eba7037c6636be7a35c194d7d2e86d6ea6ba, reversing
changes made to e4cfa82c31ffda491b73e181c8d3d4e0a307eee8.
2021-12-09 13:46:12 +01:00
Fabien Potencier
a871a08baa Remove FQCN type hints on properties 2021-12-08 16:13:44 +01:00
Alexander M. Turek
bf9d0d4969 [FrameworkBundle] Add types to private properties 2021-11-02 11:55:16 +01:00
Nicolas Grekas
54788c67a5 Use #[AsCommand] to describe commands 2021-09-30 17:28:07 +02:00
Nicolas Grekas
e6d10d6f5d Merge branch '4.4' into 5.3
* 4.4:
  [FrameworkBundle] Avoid secrets:decrypt-to-local command to fail
2021-09-24 18:08:39 +02:00
noniagriconomie
cc936cd733 [FrameworkBundle] Avoid secrets:decrypt-to-local command to fail 2021-09-23 09:45:14 +02:00
Fabien Potencier
3f8b570669 Merge branch '5.2' into 5.x
* 5.2:
  Fix #36973: Command description consistency
  Render email once
2021-03-06 09:05:19 +01:00
Fabien Potencier
a26f088761 Merge branch '4.4' into 5.2
* 4.4:
  Fix #36973: Command description consistency
  Render email once
2021-03-06 08:59:01 +01:00
Dane Powell
1d7c9a5590 Fix #36973: Command description consistency 2021-03-05 09:58:50 -08:00
Nicolas Grekas
a2ab2c0854 [Console] enable describing commands in ways that make the list command lazy 2021-01-20 12:45:16 +01:00
Carlos Buenosvinos
a713b9210f Secrets, Security, and Messenger commands descriptions should not end with a "." (dot) 2020-05-12 22:47:58 +02:00
Ryan Weaver
c496f9706a Adding better output to secrets:decrypt-to-local command 2020-01-09 20:22:51 -05:00
Nicolas Grekas
699f895882 [FrameworkBundle] Remove suffix convention when using env vars to override secrets from the vault 2019-10-26 15:06:32 +02:00
Nicolas Grekas
3e483f80c7 Restrict secrets management to sodium+filesystem 2019-10-19 20:26:39 +02:00