Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Allow doctrine/persistence 2 #37639

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

Merged

Conversation

derrabus
Copy link
Member

@derrabus derrabus commented Jul 23, 2020

Q A
Branch? 4.4
Bug fix? no
New feature? no
Deprecations? no
Tickets N/A
License MIT
Doc PR N/A

Replaces #37416.

This PR unblocks the installation of doctrine/persistence version 2.

Notes:

@derrabus derrabus requested a review from sroze as a code owner July 23, 2020 11:45
@derrabus derrabus force-pushed the improvement/bump-doctrine-persistence branch from c447008 to c85fc0c Compare July 23, 2020 11:50
@derrabus derrabus force-pushed the improvement/bump-doctrine-persistence branch from c85fc0c to 6c0f312 Compare July 23, 2020 12:27
jderusse and others added 5 commits July 23, 2020 14:42
This PR was merged into the 3.4 branch.

Discussion
----------

[Lock][Cache] Fix Redis tests

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | /
| License       | MIT
| Doc PR        | /

In branch 3.4, travis started a redis-server container and tests run correctly.

Starting from 4.4, the travis test suite don't start the server anymore, which is not an issue for 4.4's tests because tests are skiped.

The issue is when branch 4.4 run the 3.4's test suite to check if component changes in 4.4 does not affect 3.4. in that case, the 3.4 tests suite is run without redise-server.
see https://travis-ci.org/github/symfony/symfony/jobs/711062047 for example

This PR replace the error handler (didn't worked) by catching the exception in a similar way than symfony#36647

Commits
-------

f524c85 Fix Redis tests
…rabus)

This PR was merged into the 3.4 branch.

Discussion
----------

[DoctrineBridge] Bump doctrine/data-fixtures

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | N/A
| License       | MIT
| Doc PR        | N/A

Discovered while working on symfony#37639: DoctrineBridge is locked to an old an unmaintained branch of `doctrine/data-fixtures`. This is going to be a problem as soon as we want to support `doctrine/persistence` 2.

Commits
-------

4b61101 [DoctrineBridge] Bump doctrine/data-fixtures.
* 3.4:
  Fix Redis tests
  [DoctrineBridge] Bump doctrine/data-fixtures.
@nicolas-grekas nicolas-grekas force-pushed the improvement/bump-doctrine-persistence branch from 6c0f312 to cd22fe6 Compare July 23, 2020 16:50
@nicolas-grekas
Copy link
Member

Thank you @derrabus.

@nicolas-grekas nicolas-grekas merged commit 2c84ea2 into symfony:4.4 Jul 23, 2020
@nicolas-grekas nicolas-grekas added this to the 4.4 milestone Jul 23, 2020
@derrabus derrabus deleted the improvement/bump-doctrine-persistence branch July 23, 2020 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants