Skip to content

Commit ed5358e

Browse files
peter279km1guelpf
authored andcommitted
Drop php5.x and php-7.0 supports
1 parent df7062e commit ed5358e

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

.travis.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
language: php
22

33
php:
4-
- 5.5
5-
- 5.6
6-
- 7.0
4+
- 7.1
5+
- 7.2
6+
- 7.3
77

88
env:
99
matrix:
@@ -15,7 +15,7 @@ before_script:
1515
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
1616

1717
script:
18-
- phpunit --coverage-text --coverage-clover=coverage.clover
18+
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
1919

2020
after_script:
2121
- wget https://scrutinizer-ci.com/ocular.phar

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
}
1818
],
1919
"require": {
20-
"php" : "^5.5|^7.0",
20+
"php" : "^7.1",
2121
"guzzlehttp/guzzle":"^6.1"
2222
},
2323
"require-dev": {
24-
"phpunit/phpunit": "4.*"
24+
"phpunit/phpunit": "7.*"
2525
},
2626
"autoload": {
2727
"psr-4": {

phpunit.xml.dist

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<logging>
2323
<log type="tap" target="build/report.tap"/>
2424
<log type="junit" target="build/report.junit.xml"/>
25-
<log type="coverage-html" target="build/coverage" charset="UTF-8" yui="true" highlight="true"/>
25+
<log type="coverage-html" target="build/coverage"/>
2626
<log type="coverage-text" target="build/coverage.txt"/>
2727
<log type="coverage-clover" target="build/logs/clover.xml"/>
2828
</logging>

tests/OrgManagerTest.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@
44

55
use GuzzleHttp\Client;
66
use OrgManager\ApiClient\OrgManager;
7+
use PHPUnit\Framework\TestCase;
78

8-
class OrgManagerTest extends \PHPUnit_Framework_TestCase
9+
class OrgManagerTest extends TestCase
910
{
1011
/** @var \OrgManager\ApiClient\OrgManager */
1112
protected $orgmanager;
1213

13-
public function setUp()
14+
protected function setUp()
1415
{
1516
$this->orgmanager = new OrgManager();
1617

0 commit comments

Comments
 (0)