-
-
Notifications
You must be signed in to change notification settings - Fork 922
Fix some SensioLabs Insight violations #2068
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
Conversation
dunglas
commented
Jul 4, 2018
Q | A |
---|---|
Bug fix? | no |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | n/a |
License | MIT |
Doc PR | n/a |
Shouldn't this have been done on |
All those classes are new ones. |
$identifiers = CompositeIdentifierParser::parse($data); | ||
} else { | ||
} else if (0 === $numIdentifier) { |
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.
elseif
{ | ||
const HAS_IDENTIFIER_DENORMALIZER = 'has_identifier_denormalizer'; | ||
const HAS_IDENTIFIER_CONVERTER = 'has_identifier_converter'; |
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.
Could be moved to the interface right?
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.
I'd prefer not to so that we can remove it later
6729457
to
898b0e6
Compare
} | ||
|
||
if (\count($keys) > 1) { | ||
if ($numIdentifiers = \count($keys) > 1) { |
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.
missing parenthesis: ($numIdentifiers = \count($keys))
e055113
to
067eda1
Compare
Thanks @soyuka |