-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
phpstan fixes #7
Comments
I've added phpstan in CI build and fixed some wrong uses of Originally posted by @thomasvargiu at zendframework/zend-servicemanager#272 (comment) |
@thomasvargiu I've just noticed that this targets Originally posted by @Ocramius at zendframework/zend-servicemanager#272 (comment) |
Please rebase, don't merge :) Originally posted by @Ocramius at zendframework/zend-servicemanager#272 (comment) |
My fault, I'm still working on it Originally posted by @thomasvargiu at zendframework/zend-servicemanager#272 (comment) |
@Ocramius
I think we should change PHPDoc of But I'm not sure about this change. We can also ignore the error at the moment. What do you think about it? Originally posted by @thomasvargiu at zendframework/zend-servicemanager#272 (comment) |
Done.
It's not a problem, when I open it I though that it could be useful before to introduce strict type hints. We can merge other PRs and then rebase it. Originally posted by @thomasvargiu at zendframework/zend-servicemanager#272 (comment) |
Rescheduling to 4.0.0 since it targets develop in turn targeting 4.0 Originally posted by @Xerkus at zendframework/zend-servicemanager#272 (comment) |
@weierophinney I rebased it, updated phpstan, done some other fixes. I also allowed Originally posted by @thomasvargiu at zendframework/zend-servicemanager#272 (comment) |
@laminas/technical-steering-committee is PHPStan fixes valid now or are we going all in with Psalm in the future? Do we see value in pull these changes across please? |
Based on this https://github.com/laminas/technical-steering-committee/blob/c896c3af8fcbe0b3df82751e8bfeb54b536cc2e9/meetings/minutes/2020-08-03-TSC-Minutes.md#vote-on-static-analysis-tooling , we are going to use psalm. I am closing this. |
This PR fixes some issues with phpdoc and types. Used phpstan to static analyse the code.
Added
phpstan
in CI build.Originally posted by @thomasvargiu at zendframework/zend-servicemanager#272
The text was updated successfully, but these errors were encountered: