Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tests] [Deprecation] Updated bundle notation to accommodate Symfony 4.1 and set browser client to not catch exceptions #1090

Merged
merged 1 commit into from May 8, 2018

Conversation

robfrawley
Copy link
Collaborator

@robfrawley robfrawley commented May 7, 2018

Q A
Branch? 2.0
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

This PR changes the bundle notation to the fully qualified service name followed by a double colon and the action name. Symfony 4.1 deprecated single colon usage, creating a situation where it was impossible to support pre- and post-4.1 without deprecations if the syntax was not changed. This change required moving to the new service id/class naming conventions and creating a liip_imagine.controller alias.

Also, somewhere along the lines the client browser (used in tests) stopped throwing exceptions and began catching them; its configuration was changed to allow exceptions to be thrown through for tests.

Lastly, the 2.0.0 release was intended to target Symfony >=3.4, but this was never memorialized in the composer configuration.

References:

…anged

browser kit client to not catch exceptions to fix our test suite.

References:
  - https://symfony.com/blog/new-in-symfony-4-1-deprecated-the-bundle-notation
  - symfony/symfony#26085
  - symfony/symfony#22890

Signed-off-by: Rob Frawley 2nd <rmf@src.run>
@robfrawley robfrawley added Level: Bug 🐞 This item involves a legitimate regression (bug) to existing functionality. State: Confirmed This item has been confirmed by maintainers as legitimate. Type: Configuration This item pertains to configuration of this project. Type: Source Code This item pertains to the source code of this project. labels May 7, 2018
@robfrawley robfrawley added this to the 2.1.0 milestone May 7, 2018
@robfrawley robfrawley requested a review from maximgubar May 7, 2018 22:42
Copy link
Contributor

@maximgubar maximgubar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Level: Bug 🐞 This item involves a legitimate regression (bug) to existing functionality. State: Confirmed This item has been confirmed by maintainers as legitimate. Type: Configuration This item pertains to configuration of this project. Type: Source Code This item pertains to the source code of this project.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants