Skip to content

Commit

Permalink
minor #31712 Marked several components as incompatible with EventDisp…
Browse files Browse the repository at this point in the history
…atcher 5 (derrabus)

This PR was merged into the 4.4 branch.

Discussion
----------

Marked several components as incompatible with EventDispatcher 5

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | N/A
| License       | MIT
| Doc PR        | N/A

Quite a few components still use the old event class that is to be removed in Symfony 5. This PR ensures that they are only installed with EventDispatcher 4.

Follow up to #31709

Commits
-------

e6a4526 Marked several components as incompatible with EventDispatcher 5.
  • Loading branch information
nicolas-grekas committed May 30, 2019
2 parents ea8c054 + e6a4526 commit b49d59f
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/Symfony/Component/Console/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"require-dev": {
"symfony/config": "^3.4|^4.0|^5.0",
"symfony/event-dispatcher": "^4.3|^5.0",
"symfony/event-dispatcher": "^4.3",
"symfony/dependency-injection": "^3.4|^4.0|^5.0",
"symfony/lock": "^3.4|^4.0|^5.0",
"symfony/process": "^3.4|^4.0|^5.0",
Expand All @@ -41,7 +41,7 @@
},
"conflict": {
"symfony/dependency-injection": "<3.4",
"symfony/event-dispatcher": "<4.3",
"symfony/event-dispatcher": "<4.3|>=5",
"symfony/process": "<3.3"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Form/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
],
"require": {
"php": "^7.1.3",
"symfony/event-dispatcher": "^4.3|^5.0",
"symfony/event-dispatcher": "^4.3",
"symfony/intl": "^4.3|^5.0",
"symfony/options-resolver": "~4.3|^5.0",
"symfony/polyfill-ctype": "~1.8",
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/HttpKernel/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
],
"require": {
"php": "^7.1.3",
"symfony/event-dispatcher": "^4.3|^5.0",
"symfony/event-dispatcher": "^4.3",
"symfony/http-foundation": "^4.1.1|^5.0",
"symfony/debug": "^3.4|^4.0|^5.0",
"symfony/polyfill-ctype": "^1.8",
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Mailer/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"php": "^7.1.3",
"egulias/email-validator": "^2.0",
"psr/log": "~1.0",
"symfony/event-dispatcher": "^4.3|^5.0",
"symfony/event-dispatcher": "^4.3",
"symfony/mime": "^4.3|^5.0"
},
"require-dev": {
Expand Down
4 changes: 2 additions & 2 deletions src/Symfony/Component/Security/Core/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
},
"require-dev": {
"psr/container": "^1.0",
"symfony/event-dispatcher": "^4.3|^5.0",
"symfony/event-dispatcher": "^4.3",
"symfony/expression-language": "^3.4|^4.0|^5.0",
"symfony/http-foundation": "^3.4|^4.0|^5.0",
"symfony/ldap": "^3.4|^4.0|^5.0",
"symfony/validator": "^3.4|^4.0|^5.0",
"psr/log": "~1.0"
},
"conflict": {
"symfony/event-dispatcher": "<4.3",
"symfony/event-dispatcher": "<4.3|>=5",
"symfony/security-guard": "<4.3"
},
"suggest": {
Expand Down
1 change: 1 addition & 0 deletions src/Symfony/Component/Security/Http/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"psr/log": "~1.0"
},
"conflict": {
"symfony/event-dispatcher": ">=5",
"symfony/security-csrf": "<3.4.11|~4.0,<4.0.11"
},
"suggest": {
Expand Down
3 changes: 3 additions & 0 deletions src/Symfony/Component/Security/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
"symfony/ldap": "^3.4|^4.0|^5.0",
"psr/log": "~1.0"
},
"conflict": {
"symfony/event-dispatcher": ">=5"
},
"suggest": {
"psr/container-implementation": "To instantiate the Security class",
"symfony/form": "",
Expand Down
4 changes: 2 additions & 2 deletions src/Symfony/Component/Workflow/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
"require-dev": {
"psr/log": "~1.0",
"symfony/dependency-injection": "^3.4|^4.0|^5.0",
"symfony/event-dispatcher": "^4.3|^5.0",
"symfony/event-dispatcher": "^4.3",
"symfony/expression-language": "^3.4|^4.0|^5.0",
"symfony/security-core": "^3.4|^4.0|^5.0",
"symfony/validator": "^3.4|^4.0|^5.0"
},
"conflict": {
"symfony/event-dispatcher": "<4.3"
"symfony/event-dispatcher": "<4.3|>=5"
},
"autoload": {
"psr-4": { "Symfony\\Component\\Workflow\\": "" }
Expand Down

0 comments on commit b49d59f

Please sign in to comment.