-
Notifications
You must be signed in to change notification settings - Fork 438
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
Run PHPCS on tests #1192
Run PHPCS on tests #1192
Conversation
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.
Just some minor nits
@@ -0,0 +1,56 @@ | |||
<?php | |||
/** | |||
* Copyright 2018 Google Inc. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@@ -0,0 +1,30 @@ | |||
<?php | |||
/** | |||
* Copyright 2018 Google Inc. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
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.
Thanks! It's great!
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.
Outside of Takashi's note, LGTM
## Google Cloud PHP v0.73.0 ### google/cloud-bigquery v1.4.1 * Added documentation for BigQuery job time filter. (#1183) * Updated tests to conform to linting requirements. (#1192) ### google/cloud-bigquerydatatransfer v0.7.0 * Updated BigQueryDataTransfer generated client. (#1184) ### google/cloud-core v1.22.0 * Updated Symfony Lock Adapter to provide better exception messaging and context. (#1204) * Added support for custom headers on resumable uploaders. (#1111) * Updated tests to conform to linting requirements. (#1192) ### google/cloud-datastore v1.5.5 * Updated tests to conform to linting requirements. (#1192) ### google/cloud-debugger v0.12.3 * Updated tests to conform to linting requirements. (#1192) ### google/cloud-error-reporting v0.11.3 * Updated tests to conform to linting requirements. (#1192) ### google/cloud-firestore v0.12.1 * Updated tests to conform to linting requirements. (#1192) ### google/cloud-language v0.15.3 * Updated tests to conform to linting requirements. (#1192) ### google/cloud-logging v1.12.6 * Updated tests to conform to linting requirements. (#1192) ### google/cloud-pubsub v1.4.2 * Updated tests to conform to linting requirements. (#1192) ### google/cloud-spanner v1.6.3 * Fixed a bug which prevented field values from being set to `null`. (#1201) * Updated tests to conform to linting requirements. (#1192) ### google/cloud-speech v0.16.0 * **BREAKING CHANGE** Removed deprecated v1beta1 client for Cloud Speech and update generated clients. (#1196) * Updated tests to conform to linting requirements. (#1192) ### google/cloud-storage v1.7.0 * Improve Storage Signed URL support. Added support for CORS headers and improved validation of inputs. (#1111) * Updated tests to conform to linting requirements. (#1192) ### google/cloud-text-to-speech v0.1.2 * Updated tests to conform to linting requirements. (#1192) ### google/cloud-trace v0.10.3 * Updated tests to conform to linting requirements. (#1192) ### google/cloud-translate v1.2.4 * Updated tests to conform to linting requirements. (#1192) ### google/cloud-vision v0.15.2 * Updated tests to conform to linting requirements. (#1192)
This change updates the PHPCS configuration to enforce coding standards on all test files (unit, snippet and system tests). It continues to exclude generated code.
It also includes a sweep of test cleanup to conform to standards and modernizes some very old test code. This change shouldn't include changes to actual client code.