-
Notifications
You must be signed in to change notification settings - Fork 30
ci: Enforce Static Code Analyzer #155
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
4 similar comments
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 great. Thank you for doing this.
.travis.yml
Outdated
|
||
# Integration tests need to run first to reset the PR build status to pending | ||
# Linting and Integration tests need to run first to reset the PR build status to pending |
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.
nit. integration (lower case i)
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* Copyright 2017, Optimizely | |||
* Copyright 2017,2019, Optimizely |
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.
nit. Space after coma before 2019.
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* Copyright 2016,2018 Optimizely | |||
* Copyright 2016,2018-2019 Optimizely |
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.
nit. Space after ,
[ 'entity_id' => '$opt_user_agent', | ||
array_unshift( | ||
$this->expectedEventParams['visitors'][0]['attributes'], | ||
[ 'entity_id' => '$opt_user_agent', | ||
'key' => '$opt_user_agent', |
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 indentation seems awkward.
Failing due to
|
Summary
phpcs
Test plan
Issues