-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
Use psalm errorLevel 3 #169
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ public function __construct(ObjectManager $wrapped) | |
|
||
class ObjectManagerDecoratorTest extends TestCase | ||
{ | ||
/** @var MockObject|ObjectManager */ | ||
/** @var MockObject&ObjectManager */ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. About this, it was included in PHPStorm apparently in 2018:https://blog.jetbrains.com/phpstorm/2018/09/phpstorm-2018-3-eap-183-2635-12/ Let me now if we should use There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. PHPStorm indeed added parsing for it in 2.018 (it was still treating it as a union type internally as it did not support intersection types, but that's not a reason to avoid it in favor of writing a union type directly). So +1 from me |
||
private $wrapped; | ||
|
||
/** @var NullObjectManagerDecorator */ | ||
|
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.
totallyTyped is deprecated and
resolveFromConfigFile
by default istrue
.