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

Upgraded package to be compatible with eZ Platform v3.0 #119

Merged
merged 7 commits into from
Apr 10, 2020

Conversation

alongosz
Copy link
Member

@alongosz alongosz commented Apr 6, 2020

This PR fixes outstanding issues discovered by CI and upgrades code and test setup to be compatible with eZ Platform v3.0.

I recommend fast-forward merge because the PR contains out of scope fix for EZP-31512 (see ezsystems/ezplatform-richtext#128 for details).

I've upgraded test setup not to rely on dropped eZc Database Handler and while at it updated code to rely on Doctrine instead of PDO (PDO::FETCH_* usages). Using PDO constants in relevant changed places is deprecated in Doctrine.

There was also one outstanding change - Symfony ContextErrorException has been dropped in Symfony 4.0 in favor of native \ErrorException.

TODO:

  • Wait for Travis
  • Fix new code according to Coding Standards ($ composer fix-cs).
  • Ask for Code Review.

alongosz added 5 commits April 6, 2020 19:29
* Delegated importing test fixtures to eZ Platform Kernel FixtureImporter.

* Replaced usages of eZc Database Handler with Doctrine Connection.

* Aligned CS to follow eZ Platform Code Style.
ContextErrorException was dropped in Symfony 4.0 in favor of the native \ErrorException
@andrerom
Copy link
Contributor

andrerom commented Apr 7, 2020

@alongosz Proposed additions to README to specify support limitations

@alongosz
Copy link
Member Author

alongosz commented Apr 7, 2020

Proposed additions to README to specify support limitations

+1

@andrerom andrerom merged commit d0a83c0 into ezsystems:master Apr 10, 2020
@alongosz alongosz deleted the upgrade-to-v3 branch April 17, 2020 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants