Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug symfony#19849 [Workflow] Make PropertyAccess required dependency …
…(OndraM) This PR was merged into the 3.2-dev branch. Discussion ---------- [Workflow] Make PropertyAccess required dependency | Q | A | ------------- | --- | Branch? | master (3.2 is not yet released) | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | N/A | Fixed tickets | N/A | License | MIT | Doc PR | N/A Hi, when using Workflow as a standalone component (and instantiating new `Workflow()` instance), I'm getting errors like: ``` PHP Fatal error: Class 'Symfony\Component\PropertyAccess\PropertyAccess' not found in .../workflow-example/vendor/symfony/workflow/MarkingStore/PropertyAccessorMarkingStore.php on line 37 ``` The reason is the PropertyAccessorMarkingStore (and the ScalarMarkingStore as well) [uses](https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Workflow/MarkingStore/PropertyAccessorMarkingStore.php#L14) PropertyAccess class. So it is basically not possible to use the component without the symfony/property-access. Is this correct @lyrixx? Commits ------- 5957412 [Workflow] Make PropertyAccess required dependency
- Loading branch information