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

Skip to content

[FraworkBundle] Add missing doctrine/cache to composer.json #16159

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
merged 1 commit into from
Oct 7, 2015

Conversation

nicolas-grekas
Copy link
Member

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

@nicolas-grekas nicolas-grekas merged commit f377643 into symfony:2.8 Oct 7, 2015
nicolas-grekas added a commit that referenced this pull request Oct 7, 2015
…son (nicolas-grekas)

This PR was merged into the 2.8 branch.

Discussion
----------

[FraworkBundle] Add missing doctrine/cache to composer.json

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

Commits
-------

f377643 [FraworkBundle] Add missing doctrine/cache to composer.json
@@ -30,6 +30,7 @@
"symfony/stopwatch": "~2.3|~3.0.0",
"symfony/templating": "~2.1|~3.0.0",
"symfony/translation": "~2.8",
"doctrine/cache": "~1.0",
Copy link
Member

Choose a reason for hiding this comment

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

I'm pretty sure this is a mistake. We only reference hard-dependencies and Doctrine cache is only used AFAICS for the validator and that's even optional.

Copy link
Member

Choose a reason for hiding this comment

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

it is used for the annotation reader (previously, the FileCachedReader of doctrine/annotations was used by default, but it changed because the class is deprecated)

Copy link
Member Author

Choose a reason for hiding this comment

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

@stof is right, thus the hard dep for caching annotations

@nicolas-grekas nicolas-grekas deleted the fixdeps branch October 7, 2015 07:34
fabpot added a commit that referenced this pull request Oct 7, 2015
This PR was merged into the 2.8 branch.

Discussion
----------

[FrameworkBundle] composer suggest fix

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | none
| License       | MIT
| Doc PR        | no
Since cache is now required (See #16159), it makes no sense to suggest it

Commits
-------

9786868 [FrameworkBundle] composer suggest fix
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.

4 participants