Skip to content

Commit

Permalink
PHPUnit Update (#25)
Browse files Browse the repository at this point in the history
* Adding composer lock/phar files to gitignore

* Adding unit test expressing SQL groupby

* Updating phpunit to 7.0, setting minimum PHP version requirement to 7.1

* Expresses Issue #23

* Changing whitelist coverage
  • Loading branch information
Howard Gehring committed May 1, 2018
1 parent 86ba856 commit 24f4da9
Show file tree
Hide file tree
Showing 18 changed files with 818 additions and 352 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.idea/
./composer.lock
./composer.phar
docs/
vendor/
vendor/
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: php
php:
- 7.0
- 7.1
- nightly

before_script:
Expand Down
2 changes: 1 addition & 1 deletion build/phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">../lib</directory>
<directory suffix=".php">../src</directory>
<exclude>
<file>../vendor/autoload.php</file>
</exclude>
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
"type": "library",
"license": "BSD-3-Clause",
"require": {
"php": ">=7.0",
"php": ">=7.1",
"ext-mbstring": "*",
"ext-pdo_sqlite": "*",
"phpoffice/phpexcel": "1.8.1",
"gajus/dindent": "2.0.2"
},
"require-dev": {
"phpunit/phpunit": "4.7.*",
"phpunit/phpunit": "^7.0",
"phpmd/phpmd" : "@stable",
"squizlabs/php_codesniffer": "2.3.4",
"satooshi/php-coveralls": "0.6.1"
Expand Down

0 comments on commit 24f4da9

Please sign in to comment.