87 Commits

Author SHA1 Message Date
Christian Flothmann
fdf31a7aa6 remove getNamespace() and getXsdValidationBasePath() from ExtensionInterface 2025-10-07 14:38:08 +02:00
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
eab16fe6e6 [Config] Add NodeDefinition::docUrl() 2025-04-03 13:53:38 +02:00
Fabien Potencier
900b8add71 Unify how --format is handle by commands 2024-06-26 08:46:14 +02:00
Alexander M. Turek
4875a8487f Prefix all sprintf() calls 2024-06-20 17:52:34 +02:00
Nicolas Grekas
e1facb5f53 More short closures 2023-07-30 22:28:31 +02:00
Nicolas Grekas
f777350f71 Merge branch '6.2' into 6.3
* 6.2:
  [FrameworkBundle] Show non-bundle extensions in `debug:config` & `config:dump` list view & completion
2023-06-08 23:38:26 +02:00
Nicolas Grekas
e178e998f3 Merge branch '5.4' into 6.2
* 5.4:
  [FrameworkBundle] Show non-bundle extensions in `debug:config` & `config:dump` list view & completion
2023-06-08 23:38:19 +02:00
HypeMC
d8cb33b931 [FrameworkBundle] Show non-bundle extensions in debug:config & config:dump list view & completion 2023-06-08 21:34:49 +02:00
Antoine Lamirault
e614e5e566 Harmonize command formats and ensure autocompletion is same 2023-04-08 09:25:02 +02:00
Wouter de Jong
34bd487d2e Add void return types 2023-02-13 14:18:23 +01:00
Alexander M. Turek
fff32c3f0e Merge branch '6.1' into 6.2
* 6.1:
  Fix CS
  Compatibility with doctrine/annotations 2
  [Console] Fix a test when pcntl is not available (following #48329)
  [FrameworkBundle] fix: fix typo about help
2022-12-20 17:41:15 +01:00
Alexander M. Turek
5c1d89ff8e Merge branch '5.4' into 6.0
* 5.4:
  Fix CS
  Compatibility with doctrine/annotations 2
  [Console] Fix a test when pcntl is not available (following #48329)
  [FrameworkBundle] fix: fix typo about help
2022-12-20 17:40:04 +01:00
Jérémy Romey
6a67b52e07 [FrameworkBundle] fix: fix typo about help 2022-12-16 07:44:07 +01:00
Nicolas Grekas
adb98e41c3 Merge branch '6.1' into 6.2
* 6.1:
  [Mailer] Include all transports' debug messages in RoundRobin transport exception
  [FrameworkBundle] fix: fix help message
  Fix HtmlSanitizer default configuration behavior for allowed schemes
  Use relative timestamps
  [Cache] Fix dealing with ext-redis' multi/exec returning a bool
  [Messenger][Amqp] Added missing rpc_timeout option
  [Serializer] Prevent GetSetMethodNormalizer from creating invalid magic method call
  [HttpFoundation] Fix dumping array cookies
  [WebProfilerBundle] Fix dump header not being displayed
  TraceableHttpClient: increase decorator's priority
  Use static methods inside data providers
  [FrameworkBundle] Allow configuring `framework.exceptions` with a config builder
  bug #48313 [Mime] Fix MessagePart serialization
  [HttpKernel][ErrorHandler] Fix reading the SYMFONY_IDE env var
  [ErrorHandler][DebugClassLoader] Fix some new return types support
  Fix getting the name of closures on PHP 8.1.11+
  [Translator] Fix typo "internal" / "interval"
  fix dumping top-level tagged values
  [Console] Fix clear line with question in section
2022-12-14 17:11:27 +01:00
Nicolas Grekas
e4718498e7 Merge branch '5.4' into 6.0
* 5.4:
  [Mailer] Include all transports' debug messages in RoundRobin transport exception
  [FrameworkBundle] fix: fix help message
  Use relative timestamps
  [Cache] Fix dealing with ext-redis' multi/exec returning a bool
  [Messenger][Amqp] Added missing rpc_timeout option
  [Serializer] Prevent GetSetMethodNormalizer from creating invalid magic method call
  [HttpFoundation] Fix dumping array cookies
  [WebProfilerBundle] Fix dump header not being displayed
  TraceableHttpClient: increase decorator's priority
  Use static methods inside data providers
  [FrameworkBundle] Allow configuring `framework.exceptions` with a config builder
  bug #48313 [Mime] Fix MessagePart serialization
  [ErrorHandler][DebugClassLoader] Fix some new return types support
  Fix getting the name of closures on PHP 8.1.11+
  [Translator] Fix typo "internal" / "interval"
  fix dumping top-level tagged values
2022-12-14 16:52:41 +01:00
Jérémy Romey
f3f2e23ba3 [FrameworkBundle] fix: fix help message 2022-12-14 16:04:36 +01:00
Grégoire Pineau
fb7ade8fab [CS] Remove @inheritdoc PHPDoc 2022-08-25 17:27:04 +02:00
Nicolas Grekas
46b93855fc Merge branch '5.4' into 6.0
* 5.4:
  Fix merge
  [FrameworkBundle] fix tests
  [FrameworkBundle] fix wiring of annotations.cached_reader
  [SecurityBundle] Remove dead `class_exists` checks
  Fix BC break
  [DependencyInjection] Ignore unused bindings defined by attribute
  [ErrorHandler] update tentative types
2022-05-23 12:32:42 +02:00
Nicolas Grekas
2ac536edc8 Fix merge 2022-05-23 12:31:37 +02:00
Nicolas Grekas
adaa2a15ed Merge branch '4.4' into 5.4
* 4.4:
  [FrameworkBundle] fix tests
  [FrameworkBundle] fix wiring of annotations.cached_reader
  Fix BC break
2022-05-23 12:27:45 +02:00
Yonel Ceruto
e06d97dfc4 Fix BC break 2022-05-21 15:38:22 -04:00
Nicolas Grekas
30b6044e9a Merge branch '5.4' into 6.0
* 5.4:
  Fix merge
  [Mime] Throw exception when body in Email attach method is not ok
  [VarDumper][VarExporter] Deal with DatePeriod->include_end_date on PHP 8.2
  [Cache] Throw when "redis_sentinel" is used with a non-Predis "class" option
  fix merge
  Bootstrap 4 fieldset for row errors
  [Form] Fix same choice loader with different choice values
  [Filesystem] Safeguard (sym)link calls
  Fix dumping extension config without bundle
  [HttpClient] Honor "max_duration" when replacing requests with async decorators
  [HttpClient] Add missing HttpOptions::setMaxDuration()
  [HttpFoundation] [Session] Overwrite invalid session id
2022-05-21 15:33:31 +02:00
Nicolas Grekas
0f68f04466 Merge branch '4.4' into 5.4
* 4.4:
  [Mime] Throw exception when body in Email attach method is not ok
  [VarDumper][VarExporter] Deal with DatePeriod->include_end_date on PHP 8.2
  [Cache] Throw when "redis_sentinel" is used with a non-Predis "class" option
  Bootstrap 4 fieldset for row errors
  Fix dumping extension config without bundle
2022-05-21 12:24:18 +02:00
Yonel Ceruto
5142c8a611 Fix dumping extension config without bundle 2022-05-19 17:43:28 -04:00
Nicolas Grekas
b6167ca0b4 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.
  ...
2021-10-26 18:02:09 +02:00
Vasilij Dusko
01e34e76fb * config:dump-reference 2021-10-24 16:49:18 +03:00
Nicolas Grekas
54788c67a5 Use #[AsCommand] to describe commands 2021-09-30 17:28:07 +02:00
Nyholm
0700ad9e52 [FrameworkBundle] Add argument KernelInterface to BuildDebugContainerTrait::getContainerBuilder() 2021-04-14 10:59:53 +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
Jan Schädlich
248c5790f1 [FrameworkBundle] Add check for installed yaml component 2020-10-06 18:27:41 +02:00
Guillaume Pédelagrabe
b927de9b4d [FrameworkBundle] Dump kernel extension configuration 2020-03-31 20:59:28 +02:00
Nicolas Grekas
2d0aa18c81 Add more return types after fixing a typo in my script 2019-08-23 14:16:45 +02:00
Nicolas Grekas
d7d3f62f48 Merge branch '3.4' into 4.3
* 3.4:
  Fix inconsistent return points.
  [Security/Core] UserInterface::getPassword() can return null
  [Router] Fix TraceableUrlMatcher behaviour with trailing slash
2019-08-20 16:07:54 +02:00
Alexander M. Turek
beaeac2e25 Fix inconsistent return points. 2019-08-20 15:31:17 +02:00
Fabien Potencier
445fdbb53f Merge branch '3.4' into 4.1
* 3.4:
  fixed CS
  fixed short array CS in comments
  fixed CS in ExpressionLanguage fixtures
  fixed CS in generated files
  fixed CS on generated container files
  fixed CS on Form PHP templates
  fixed CS on YAML fixtures
  fixed fixtures
  switched array() to []
2019-01-16 19:21:11 +01:00
Fabien Potencier
ce7ef306e9 switched array() to [] 2019-01-16 10:39:14 +01:00
Nicolas Grekas
f262579e4a Merge branch '3.4' into 4.0
* 3.4:
  Alpha-ordering for "use" statements
2018-07-26 11:08:35 +02:00
Nicolas Grekas
a281fdb702 Merge branch '2.8' into 3.4
* 2.8:
  Alpha-ordering for "use" statements
2018-07-26 11:06:28 +02:00
Nicolas Grekas
f607411732 Alpha-ordering for "use" statements 2018-07-26 11:03:18 +02:00
Fabien Potencier
89b2f3e289 Merge branch '3.4' into 4.0
* 3.4:
  use brace-style regex delimiters
  Fixed typo RecursiveIterator -> RecursiveIteratorIterator
  [Cache] fix logic for fetching tag versions on TagAwareAdapter
  [FrameworkBundle] Use the correct service id for CachePoolPruneCommand in its compiler pass
  Hide short exception trace by default
  [Doctrine Bridge] fix priority for doctrine event listeners
  [Validator] make phpdoc of ObjectInitializerInterface interface more accurate
  [Validator] fixes phpdoc reference to an interface that was removed in Symfony 3.0
2018-05-07 09:12:24 +02:00
Yonel Ceruto
ba58562370 Hide short exception trace by default 2018-05-03 19:18:14 -04:00
Fabien Potencier
8637e5ae14 removed version in @final @internal for version < 4.0 2018-02-19 13:18:43 +01:00
Nicolas Grekas
afdfb4ef4d Merge branch '3.3' into 3.4
* 3.3:
  [CS][2.7] yoda_style, no_unneeded_curly_braces, no_unneeded_final_method, semicolon_after_instruction
  [Filesystem] mirror - fix copying content with same name as source/target.
  Removed unnecessary getDefinition() call.
  .php_cs.dist - simplify config
  [WebProfilerBundle] fixed TemplateManager when using Twig 2 without compat interfaces
2017-09-15 12:12:22 +02:00
Nicolas Grekas
5c9913f1bf Merge branch '2.8' into 3.3
* 2.8:
  [CS][2.7] yoda_style, no_unneeded_curly_braces, no_unneeded_final_method, semicolon_after_instruction
  [Filesystem] mirror - fix copying content with same name as source/target.
  .php_cs.dist - simplify config
  [WebProfilerBundle] fixed TemplateManager when using Twig 2 without compat interfaces
2017-09-15 12:08:59 +02:00
Nicolas Grekas
e67bd5317c [Console] Add protected static $defaultName to set the default name of a Command 2017-08-24 16:43:56 +02:00
Roland Franssen
fcda14c5ee [FrameworkBundle] Commands as a service 2017-08-06 12:29:12 +02:00