-
Notifications
You must be signed in to change notification settings - Fork 146
Many improvements. #299
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
Many improvements. #299
Conversation
| steps: | ||
| - checkout | ||
| - run: composer install --no-interaction | ||
| - run: composer install --no-interaction --no-suggest --prefer-dist |
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.
Prefer dist, and no need to display suggested packages.
| @@ -1,2 +1,2 @@ | |||
| exclude_paths: | |||
| - test/* | |||
| - test/* | |||
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.
Respect .editorconfig file
| @@ -0,0 +1,15 @@ | |||
| root = true | |||
|
|
|||
| [*] | |||
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.
Add a standard .editorconfig file.
| /.codeclimate.yml export-ignore | ||
| * text=auto | ||
|
|
||
| /.circleci export-ignore |
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.
Sort folders, hidden files and files that don't need to be exported.
|
|
||
| # PhpStorm | ||
| .idea | ||
| /.idea |
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.
Properly prefix folders and un-prefix files
| /.idea | ||
|
|
||
| # Composer | ||
| /vendor |
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.
Also, sort folders, then hidden files, the files
| "name": "intercom/intercom-php", | ||
| "description": "Intercom API client built on top of Guzzle 6", | ||
| "keywords": ["intercom", "intercom.io", "api", "guzzle"], | ||
| "keywords": [ |
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.
Format and sort keywords
| { | ||
| "name": "Intercom Platform Team", | ||
| "homepage": "http://intercom.io" | ||
| "homepage": "https://www.intercom.com" |
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.
Update homepage
| "homepage": "https://www.intercom.com" | ||
| } | ||
| ], | ||
| "support": { |
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.
Add support section
| "autoload": { | ||
| "psr-4": { | ||
| "Intercom\\": ["src"] | ||
| "Intercom\\": [ |
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.
Default composer formatting
| "php": ">= 7.1", | ||
| "ext-json": "*", | ||
| "php-http/httplug": "^1.0 || ^2.0", | ||
| "php-http/client-common": "^1.9 || ^2.0", |
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.
Sort packages
| convertWarningsToExceptions="true" | ||
| processIsolation="false" | ||
| stopOnFailure="false"> | ||
| stopOnFailure="false" |
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.
Formatting
GabrielAnca
left a comment
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.
Looks great, thank you for taking care of this!
Why?
Why are you making this change?
We want to add many small improvements to this project.
How?
Technical details on your change
See comments in code for the detailed changes