Skip to content

MSI: #206 - Added strict type static code test #209

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

Merged
merged 2 commits into from
Nov 22, 2017

Conversation

DwayneH
Copy link

@DwayneH DwayneH commented Nov 18, 2017

Added static analysis strict_type test to the LiveCodeTest as discussed in #206.

Copy link
Contributor

@maghamed maghamed left a comment

Choose a reason for hiding this comment

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

Please also provide a blacklist for files which we should exclude from this validation.

For example, we are using legacy code which relies on Duck Typing, and refactoring to comply with Strict Types would cost us a lot.
So, we would just add this file to the Blacklist (files which we skip)

@@ -266,4 +271,22 @@ public function testCopyPaste()
"PHP Copy/Paste Detector has found error(s):" . PHP_EOL . $output
);
}

Copy link
Contributor

Choose a reason for hiding this comment

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

Please provide a description for this method in Comment block before the method

@maghamed
Copy link
Contributor

Hey @DwayneH could you please address comments I mentioned above

@DwayneH
Copy link
Author

DwayneH commented Nov 18, 2017

I'll work on it! 👍

@DwayneH
Copy link
Author

DwayneH commented Nov 18, 2017

@maghamed Blacklisting and description are now included

@maghamed
Copy link
Contributor

Thanks, @DwayneH for your first #MSI contribution!
Good start! Keep it rolling!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants