File tree 5 files changed +13
-11
lines changed
5 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 1
1
language : php
2
2
php :
3
- - 5.5
4
- - 5.4
5
- - 7
6
- script : phpunit
3
+ - 5.6
4
+ - 7.1
5
+ - 7.2
6
+ - 7.3
7
+ before_script :
8
+ - composer install --prefer-source --no-interaction --dev
9
+
10
+ script : ./vendor/bin/phpunit
7
11
8
12
env :
9
13
- AUTOLOAD=1
10
-
11
- script : php ./build.php ${AUTOLOAD}
12
- after_script : ./vendor/bin/coveralls -v
13
- sudo : false
Original file line number Diff line number Diff line change
1
+ [ ![ Build Status] ( https://travis-ci.org/robwittman/shopify-php-sdk.svg?branch=master )] ( https://travis-ci.org/robwittman/shopify-php-sdk )
2
+
1
3
# Shopify PHP SDK
2
4
3
5
This SDK was created to enable rapid efficient development using Shopify's API.
Original file line number Diff line number Diff line change 27
27
]
28
28
},
29
29
"require-dev" : {
30
- "phpunit/phpunit" : " ^6 .1" ,
30
+ "phpunit/phpunit" : " ^5 .1" ,
31
31
"squizlabs/php_codesniffer" : " ^3.0" ,
32
32
"overtrue/phplint" : " ^0.2.4"
33
33
},
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ abstract class AbstractService
26
26
const REQUEST_METHOD_PUT = 'PUT ' ;
27
27
const REQUEST_METHOD_DELETE = 'DELETE ' ;
28
28
29
- public static function factory (ApiInterface $ api ): AbstractService
29
+ public static function factory (ApiInterface $ api )
30
30
{
31
31
return new static ($ api );
32
32
}
Original file line number Diff line number Diff line change 12
12
13
13
session_start ();
14
14
15
- class TestCase extends \PHPUnit \ Framework \TestCase
15
+ class TestCase extends \PHPUnit_Framework_TestCase
16
16
{
17
17
public function getApi (array $ params = array ())
18
18
{
You can’t perform that action at this time.
0 commit comments