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

Feature/fix travis scrutinizer issues #395

Merged
merged 5 commits into from
May 7, 2015

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented May 6, 2015

Fixes one actual bug, fixes the travis run issues and should also fix about half the Scrunitizer run issues.

jrfnl added 3 commits May 6, 2015 23:48
- Remove some unused variables
- Initialize variables which may otherwise not be available / default case for `switch()`
- Better default value for `populate_file_path()` parameter
	- Error prevention: check that that slug is actually in use
- Error prevention: make doubly sure the filesystem is available before using it in a location were we *should* have it as we initialized it ourselves earlier
- Some spelling
@jrfnl jrfnl added this to the 2.5.0 milestone May 6, 2015
@@ -534,7 +534,9 @@ public function admin_init() {

global $tab, $body_id;
$body_id = 'plugin-information';
// @codingStandardsIgnoreStart
Copy link
Member

Choose a reason for hiding this comment

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

Why does this bit need to be ignored?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is an alternative way to get round that one issue where we were considering excluding the rule or lowering the severity.
Now the rule is still being used, just not for that one line.

GaryJones added a commit that referenced this pull request May 7, 2015
@GaryJones GaryJones merged commit ed8c447 into develop May 7, 2015
@GaryJones GaryJones deleted the feature/fix-travis-scrutinizer-issues branch May 7, 2015 12:10
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.

2 participants