Skip to content

Conversation

@xabbuh
Copy link
Member

@xabbuh xabbuh commented May 11, 2015

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

This way, the deprecated __toString() method of the ConfigCache
class will not be called.

This way, the deprecated `__toString()` method of the `ConfigCache`
class will not be called.
@xabbuh xabbuh force-pushed the config-cache-deprecations branch from 215c42b to ab70632 Compare May 11, 2015 16:42
@aitboudad
Copy link
Contributor

👍 wouldn't be better to use ConfigCacheFactory too.

@xabbuh
Copy link
Member Author

xabbuh commented May 11, 2015

@aitboudad The instance is passed to the method. What exactly do you propose to change there?

@fabpot
Copy link
Member

fabpot commented May 11, 2015

Thank you @xabbuh.

@fabpot fabpot merged commit ab70632 into symfony:2.7 May 11, 2015
fabpot added a commit that referenced this pull request May 11, 2015
…xists (xabbuh)

This PR was merged into the 2.7 branch.

Discussion
----------

[HttpKernel] use ConfigCache::getPath() method when it exists

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

This way, the deprecated `__toString()` method of the `ConfigCache`
class will not be called.

Commits
-------

ab70632 [HttpKernel] use ConfigCache::getPath() method when it exists
@aitboudad
Copy link
Contributor

@xabbuh see #14178.

@xabbuh xabbuh deleted the config-cache-deprecations branch May 11, 2015 17:45
@xabbuh
Copy link
Member Author

xabbuh commented May 11, 2015

@aitboudad #14178 is already merged, isn't it?

@aitboudad
Copy link
Contributor

@xabbuh yes, but I think we have forgotten to apply the changes in kernel

@xabbuh
Copy link
Member Author

xabbuh commented May 11, 2015

@aitboudad I'm afraid I still don't understand what you mean. Maybe it's better if you create a PR. :)

@aitboudad
Copy link
Contributor

@xabbuh 😄 ok I'll try

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants