Skip to content

Commit

Permalink
Merge pull request #141 from niektenhoopen/master
Browse files Browse the repository at this point in the history
Fix code standards
  • Loading branch information
piotrek-buchman authored Nov 24, 2020
2 parents 8f9ac86 + d9d0d32 commit 581d1bc
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
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
5 changes: 5 additions & 0 deletions CHANGE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Change Log
==========

VERSION 2.8.1
-------------
* Fix code standards
* Check code standards in Travis

VERSION 2.8.0
-------------
* Bumped Guzzle version to 7
Expand Down
18 changes: 15 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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
}
}
2 changes: 1 addition & 1 deletion src/Client/KeenIOClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* @method array getCollection(string $eventCollection, array $args = array()) {@command KeenIO getCollection}
* @method array getCollections(array $args = array()) {@command KeenIO getCollections}
* @method array deleteCollection(array $args = array()) {@command KeenIO getProperty} *
* @method array deleteCollection(array $args = array()) {@command KeenIO getProperty}
* @method array getResources(array $args = array()) {@command KeenIO getResources}
* @method array getProjects(array $args = array()) {@command KeenIO getProjects}
* @method array getProject(array $args = array()) {@command KeenIO getProject}
Expand Down

0 comments on commit 581d1bc

Please sign in to comment.