20 Commits

Author SHA1 Message Date
Jan Schädlich 38fc5d8a95 [Console] Command::execute() should always return int - deprecate returning null
- added deprecation message for non-int return value in Command::execute()
- fixed all core commands to return proper int values
- added proper return type-hint to Command::execute() method in all core Commands
2019-10-02 16:44:58 +02:00
Fabien Potencier 3d7aab208e fixed CS 2019-01-16 19:35:49 +01:00
Fabien Potencier 0020067cc9 Merge branch '4.0'
* 4.0:
  use brace-style regex delimiters
  Fixed typo RecursiveIterator -> RecursiveIteratorIterator
  [Cache] fix logic for fetching tag versions on TagAwareAdapter
  [FrameworkBundle] Remove dead code
  [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:14:12 +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
Nicolas Grekas 6d52ff701e Merge branch '4.0'
* 4.0:
  [Translation] Process multiple segments within a single unit.
  Document the container.autowiring.strict_mode option
  fix custom radios/inputs for checkbox/radio type
  Another PR template tweak
  [FrameworkBundle] Add missing XML config for circular_reference_handler. Add tests.
  fix CS
  [PropertyInfo] ReflectionExtractor: give a chance to other extractors if no properties
  Clean calls to http_build_query()
  [WebProfilerBundle] limit ajax request to 100 and remove the last one
  Add support for URL-like DSNs for the PdoSessionHandler
  removed version in @final @internal for version < 4.0
  [HttpFoundation] Fix missing "throw" in JsonResponse
  Improve the documentation of
  Suppress warning from sapi_windows_vt100_support on stream other than STDIO
  removed extra-verbose comments
  Fixes #26136: Avoid emitting warning in hasParameterOption()
  Added a README entry to the PR template
  [HttpFoundation] Add x-zip-compressed to MimeTypeExtensionGuesser.
  [DI] Add null check for removeChild
2018-02-22 12:40:25 +01:00
Fabien Potencier 8637e5ae14 removed version in @final @internal for version < 4.0 2018-02-19 13:18:43 +01:00
Grégoire Pineau b7bff7d509 [Workflow] Fixed the dump command
* The 'label' option had a wrong mode
* Simplified the code
2018-02-07 11:09:07 +01:00
Morel Sébastien c7a1f90708 Add option to the workflow:dump command to allow PlantUML format dump 2018-01-25 00:07:42 -08:00
shdev a1fc65e83a Pr/workflow name as graph label 2017-12-11 15:18:49 -08:00
hubert.lenoir c898105413 [FrameworkBundle][Workflow] Fix deprectation when checking workflow.registry service in dump command 2017-10-20 13:32:50 -07:00
Nicolas Grekas 4b45f7ba73 Merge branch '3.4'
* 3.4:
  [Console] Add protected static $defaultName to set the default name of a Command
  removed sf2 references
  [Console] Allow commands to provide a default name for compile time registration
  [DI] Case sensitive parameter names
2017-08-25 12:57:40 +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
Christian Flothmann 669ccec4a6 remove deprecated code 2017-08-07 13:47:51 +02:00
Roland Franssen fcda14c5ee [FrameworkBundle] Commands as a service 2017-08-06 12:29:12 +02:00
Maxime Steinhausser df91907a61 Minor fixes for 3.2 2016-12-11 15:34:22 +01:00
Grégoire Pineau ec2f4f1f65 [Workflow] Fixed graphviz dumper for state machine 2016-11-24 13:22:36 -08:00
Tobias Nyholm 2ee1307d5d [Workflow] Added Definition builder 2016-11-09 16:20:37 +01:00
HeahDude f86385f217 [FrameworkBundle] Fixed WorkflowCommand to support state machines 2016-11-09 13:57:17 +01:00
Grégoire Pineau 24a33d6891 [Workflow] Added initial set of files 2016-06-23 14:28:20 +02:00