Skip to content
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

Fix issues found by Scrutinizer #1

Merged
merged 1 commit into from
Jul 1, 2016
Merged

Conversation

elazar
Copy link
Contributor

@elazar elazar commented Jul 1, 2016

No description provided.

@@ -32,7 +33,8 @@ protected function assertValid(array $classes)
parent::assertValid($classes);

foreach ($classes as $config) {
if (!is_subclass_of($config, ConfigurationInterface::class)) {
$reflector = new ReflectionClass($config);
if (!$reflector->implementsInterface(ConfigurationInterface::class)) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The bug in question was reported against 5.3.5 and has been fixed since 2012.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair enough. Reverted this file to its previous state.

@elazar elazar force-pushed the feature/scrutinizer-issues branch from dcef62d to 7797abe Compare July 1, 2016 15:45
@ameech
Copy link

ameech commented Jul 1, 2016

👍

Approved with PullApprove

@elazar elazar merged commit 44241ee into master Jul 1, 2016
@elazar elazar deleted the feature/scrutinizer-issues branch July 1, 2016 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants