That does make sense. I think, technically, the prose text says that
needs to be done (ie, the exception you throw would need to implement
both interfaces), but that's not at all clear. I'd be in favor of
making the cache InvalidArgumentException extend CacheException in the code.
Beau, do you feel that's a Review-safe change? (I would argue yes,
given the above.)
--
You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to php-fig+u...@googlegroups.com.
To post to this group, send email to php...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/b4d4ce94-1613-4e15-8cfa-34a028b5732e%40googlegroups.com.
Why are we going back to draft? I thought we were making the one change and then returning to review.
I think the exceptions are fine for now, and we as a group will most likely have to revisit exceptions for everything once "throwable" is the standard.
--
You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to php-fig+u...@googlegroups.com.
To post to this group, send email to php...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/2b746f15-1e12-4336-843d-cdbd1c36482b%40googlegroups.com.
On Wed, Aug 19, 2015 at 2:27 AM, Beau Simensen <sime...@gmail.com> wrote:On Tuesday, August 18, 2015 at 8:19:49 PM UTC-5, Beau Simensen wrote:On Tuesday, August 18, 2015 at 8:09:49 PM UTC-5, Robert Hafner wrote:Why are we going back to draft? I thought we were making the one change and then returning to review.That would be going back to draft. :) Meaning, for that window of time we could consider making other changes that we would otherwise not have made if we didn't go back to review. Larry originally asked if we could change the interface in review; I think we might have been able to but now it does not matter since we can make this change at the same time as the other.I think the exceptions are fine for now, and we as a group will most likely have to revisit exceptions for everything once "throwable" is the standard.Yeah, I threw that out there hastily as a "wish we had this several years ago so we could rely on this now instead of waiting for PHP 7 as it would make this discussion pointless."Actually, let me be more direct.Larry, if you can create a PR making this change, we can get it reviewed and ready to go so that once I take PSR-6 out of review we can merge this and the removal of get expiration at the same time and put it back up for review again.If we get this done in the next few days we can still have the PSR-6 vote finalized well by the end of September.I see this as a regression in usability.