-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Improve type inference for plugin managers, Drop Interop\Container, Drop PHP 7.3 #35
Improve type inference for plugin managers, Drop Interop\Container, Drop PHP 7.3 #35
Conversation
- Bump minimum version of PHP to 7.4 - Require most recent direct dependencies - Remove dependency on Interop\Container - Bump dev dependencies - Allow plugins
…nterop\Container with Psr\Container
…e manager is ^3.x
@@ -4,7 +4,7 @@ | |||
|
|||
namespace Laminas\Router; | |||
|
|||
use Zend\Router\Http\TreeRouteStack; | |||
use Laminas\ServiceManager\ConfigInterface; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What a find! 😱
interface ExceptionInterface | ||
use Throwable; | ||
|
||
interface ExceptionInterface extends Throwable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possibly a BC break, but 🤷♀️
*/ | ||
class RoutePluginManager extends AbstractPluginManager | ||
{ | ||
/** | ||
* Only RouteInterface instances are valid | ||
* | ||
* @var string | ||
* @var class-string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not important, but consider that interface-string
also exists (AFAIK)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oooh! Didn't know that.
Description
ExceptionInterface
extend fromThrowable
RoutePluginManager