Skip to content
This repository has been archived by the owner on Jun 26, 2018. It is now read-only.

Update phpstan requirement to ^0.9.2 #19

Closed
wants to merge 1 commit into from

Conversation

hectorj
Copy link
Contributor

@hectorj hectorj commented Feb 26, 2018

With phpstan 0.9.0, I get this error:

PHP Fatal error:  Cannot make static method PHPStan\Type\DynamicMethodReturnTypeExtension::getClass() non static in class Lookyman\PHPStan\Symfony\Type\ContainerInterfaceDynamicReturnTypeExtension in [...]/vendor/lookyman/phpstan-symfony/src/Type/ContainerInterfaceDynamicReturnTypeExtension.php on line 15

It seems the method getClass was made non-static in phpstan 0.9.2 : phpstan/phpstan@bdc424a

@hectorj
Copy link
Contributor Author

hectorj commented Feb 26, 2018

PR is wrong, this is a dev requirement, it won't help. Shouldn't phpstan be in the non-dev requirements though?

@hectorj hectorj closed this Feb 26, 2018
@hectorj hectorj deleted the patch-1 branch February 26, 2018 08:25
@lookyman
Copy link
Owner

lookyman commented Feb 26, 2018

It probably should. Can you send a new PR?

@hectorj
Copy link
Contributor Author

hectorj commented Feb 26, 2018

I see you did it, all good 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants