-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #141 from niektenhoopen/master
Fix code standards
- Loading branch information
Showing
4 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
language: php | ||
php: | ||
- "7.4" | ||
- "7.1" | ||
- "7.0" | ||
- "5.6" | ||
before_script: | ||
- composer self-update | ||
- composer install --prefer-source | ||
|
||
script: | ||
- composer phpcs | ||
- composer phpunit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,10 +11,11 @@ | |
"chat": "https://www.hipchat.com/gIdidQscL" | ||
}, | ||
"require": { | ||
"php": ">=5.6.0", | ||
"ext-openssl": "*", | ||
"guzzlehttp/guzzle": "^6.0 || ^7.0", | ||
"guzzlehttp/guzzle-services": "^1.0", | ||
"php": ">=5.6.0", | ||
"squizlabs/php_codesniffer": "^3.5", | ||
"paragonie/random_compat": "^1.4 || ^2.0" | ||
}, | ||
"require-dev": { | ||
|
@@ -46,5 +47,16 @@ | |
"email": "[email protected]", | ||
"homepage": "http://michaelgallego.fr" | ||
} | ||
] | ||
} | ||
], | ||
"scripts": { | ||
"phpcs": [ | ||
"./vendor/bin/phpcs --colors --standard=PSR2 src" | ||
], | ||
"phpunit": [ | ||
"./vendor/bin/phpunit" | ||
] | ||
}, | ||
"config": { | ||
"sort-packages": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters