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

Added support for Doctrine\Cache 1.7 with deleteMultiple #22

Merged
merged 3 commits into from
Sep 14, 2017

Conversation

asgrim
Copy link
Member

@asgrim asgrim commented Aug 29, 2017

Fixes #2

@@ -8,26 +8,11 @@

final class CacheException extends \RuntimeException implements PsrCacheException
{
public static function fromNonClearableCache(DoctrineCache $cache) : self
public static function fromNonMultiOperationCache(DoctrineCache $cache) : self
Copy link
Member

Choose a reason for hiding this comment

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

Minor BC break: requires UPGRADE.md notes or revert + deprecation

Copy link
Member Author

Choose a reason for hiding this comment

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

fromNonClearableCache shouldn't have gone, oops. Added that back in :)

));
}

public static function fromNonMultiGetCache(DoctrineCache $cache) : self
Copy link
Member

Choose a reason for hiding this comment

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

Minor BC break: requires UPGRADE.md notes or revert + deprecation

));
}

public static function fromNonMultiPutCache(DoctrineCache $cache) : self
Copy link
Member

Choose a reason for hiding this comment

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

Minor BC break: requires UPGRADE.md notes or revert + deprecation

use Doctrine\Common\Cache\ClearableCache;
use Doctrine\Common\Cache\MultiGetCache;

interface NotMultiPuttableCache extends Cache, ClearableCache, MultiGetCache
Copy link
Member

Choose a reason for hiding this comment

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

Minor BC break: requires UPGRADE.md notes or revert + deprecation

@asgrim
Copy link
Member Author

asgrim commented Sep 13, 2017

All other BC breaks now documented in upgrade notes in README.md.

@Ocramius Ocramius self-assigned this Sep 14, 2017
@Ocramius Ocramius added this to the 2.0.0 milestone Sep 14, 2017
Copy link
Member

@Ocramius Ocramius left a comment

Choose a reason for hiding this comment

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

🚢

@Ocramius Ocramius merged commit c787d27 into master Sep 14, 2017
@Ocramius Ocramius deleted the support-doctrine-delete-multiple branch September 14, 2017 06:42
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.

2 participants