This repository has been archived by the owner on Jan 1, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #395 Fixing 3.0 compatibility problem with ResourceInterface::isF…
…resh() (weaverryan) This PR was merged into the 2.7-dev branch. Discussion ---------- Fixing 3.0 compatibility problem with ResourceInterface::isFresh() Hi guys! The bundle is not ready for 3.0 yet, because of [AsseticResource](https://github.com/symfony/assetic-bundle/blob/master/Config/AsseticResource.php). Implementing `isFresh()` on `ResourceInterface` is deprecated: we need to also implement `SelfCheckingResourceInterface`. But this patch clearly has issues: it makes AsseticBundle require symfony/config 2.8 (and worse, beta currently). Is there a way to make the bundle compatible with 2.7 (where `SelfCheckingResourceInterface` doesn't exist) AND 3.0 (where `SelfCheckingResourceInterface` is required) at the same time? Thanks! Commits ------- 49c7279 Adding a new SelfCheckingAsseticResource for compat with 2.8-3.0+
- Loading branch information