40 Commits

Author SHA1 Message Date
Grégoire Pineau a00b1a7842 [FrameworkBundle] Fix support of dumping workflow when workflow is decorated by TraceableWorkflow 2025-10-01 16:16:33 +02:00
Alexander M. Turek 4875a8487f Prefix all sprintf() calls 2024-06-20 17:52:34 +02:00
Grégoire Pineau dbe315a278 [FrameworkBundle][Workflow] Remove dead code 2023-07-24 17:21:55 +02:00
Nicolas Grekas 7f96ac7269 [7.0] Remove remaining deprecated code paths 2023-07-05 11:17:29 +02:00
Louis-Proffit ca1823cd5d [FrameworkBundle][Workflow] Add metadata dumping support for GraphvizDumper 2023-06-21 11:52:30 +02:00
Antoine Lamirault 340b312db2 Remove unused local variable 2023-02-21 19:48:11 +01:00
Wouter de Jong 34bd487d2e Add void return types 2023-02-13 14:18:23 +01:00
Grégoire Pineau fb7ade8fab [CS] Remove @inheritdoc PHPDoc 2022-08-25 17:27:04 +02:00
Grégoire Pineau ea3bc6489c [Workflow] Mark registry as internal and deprecate the service
Instead, all workflow services are tagged and can be injected with the
following YAML syntax:

```yaml
!tagged_locator  { tag: workflow, index_by: name }
```

or PHP syntax:

```php
tagged_locator('workflow', 'name')
```

Also, two others tags exists for each workflow types
* `workflow.workflow`
* `workflow.state_machine`
2022-08-12 12:26:34 +02:00
Nicolas Grekas 315a7bc18d Merge branch '5.4' into 6.0
* 5.4:
  [5.4] cs fixes
  [5.3] cs fixes
  [Cache] Fix saving items with no expiration through ProxyAdapter
  CS fixes
  [HttpClient] Fix tracing requests made after calling withOptions()
  [Cache] disable lock on CLI
  Revert "feature #41989 [Cache] make `LockRegistry` use semaphores when possible (nicolas-grekas)"
  [HttpKernel] fix how configuring log-level and status-code by exception works
  [VarDumper] add more "transient-on-macos" groups
2021-12-16 23:05:41 +01:00
Nicolas Grekas dda3f6f92d [5.4] cs fixes 2021-12-16 22:58:21 +01:00
Alexander M. Turek bc14095a1b Merge branch '5.4' into 6.0
* 5.4:
  [SecurityBundle] Fix compat with symfony/security-core:^6
  [DependencyInjection] Fix support for unions/intersections together with `ServiceSubscriberInterface`
  fixed leftover deprecations PHP 8.1
  [Runtime] fix defining APP_DEBUG when Dotenv is not enabled
  revert using functions provided by polyfill packages
  [FrameworkBundle] Fix logic in workflow:dump between workflow name and workflow id
  Bump Symfony version to 5.4.0
  Update VERSION for 5.4.0-BETA1
  Update CHANGELOG for 5.4.0-BETA1
  Add getters and setters for attributes property
2021-11-07 14:29:17 +01:00
noniagriconomie 8194642641 [FrameworkBundle] Fix logic in workflow:dump between workflow name and workflow id 2021-11-05 12:34:22 +01:00
Alexander M. Turek 5284b7f841 Merge branch '5.4' into 6.0
* 5.4:
  [Console] Restore psr/log >= 3.0 conflict
  [Security] Make the abstract Voter class implement CacheableVoterInterface
  Add generic types to traversable implementations
  [Security] Fix TypeError message
  [Security] Fix deprecation layer
  [FrameworkBundle] Add completion for workflow:dump
  Fix cancel button
  Fix misleading error on missing provider with authenticator manager
  Don't limit retries of toolbar loading
2021-11-03 14:44:55 +01:00
Vasilij Dusko 63331ab367 [FrameworkBundle] Add completion for workflow:dump 2021-11-03 08:47:07 +01:00
Nicolas Grekas 54788c67a5 Use #[AsCommand] to describe commands 2021-09-30 17:28:07 +02:00
eFrane 730f1a2637 [Workflow] Add Mermaid.js dumper 2021-04-13 10:42:35 +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
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 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