-
-
Notifications
You must be signed in to change notification settings - Fork 206
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
Remove baseline #473
Remove baseline #473
Conversation
Requires #475 , a merge up and a bump of the |
f0cd427
to
628494f
Compare
5a0b9f5
to
fe0a2a2
Compare
@@ -9,6 +9,7 @@ | |||
|
|||
class RequiredConstructorArgsFixtures implements ORMFixtureInterface | |||
{ | |||
/** @phpstan-ignore constructor.unusedParameter */ |
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.
This is the only PHPStan issue left in the project, I propose we switch to phpstan-ignore
for it, and now that PHPStan has error identifiers, maybe we should do that for everything.
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's the reason for the constructor to have an argument for the test?
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.
That class was introduced in ee5eb61, which has a commit message that explains the reason.
Also fixing a bug where getDependencies()
Basically, currently getDependencies() won't work if any of your classes
have required constructor args. We've added a clear error message for
this situation.
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.
It's just for a test but maybe the ignore isn't needed when the property is set to public.
67f01c4
to
5b8dd5e
Compare
5b8dd5e
to
d1dd451
Compare
@@ -9,6 +9,7 @@ | |||
|
|||
class RequiredConstructorArgsFixtures implements ORMFixtureInterface | |||
{ | |||
/** @phpstan-ignore constructor.unusedParameter */ |
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.
It's just for a test but maybe the ignore isn't needed when the property is set to public.
This implies bumping psr/log to v2, which adds type declarations to its interface.
d1dd451
to
aa28cd3
Compare
This implies bumping
psr/log
to v2, which adds type declarations to itsinterface.