Skip to content

Commit 0dcde52

Browse files
author
Sören Jensen
authored
Merge pull request #17 from Textalk/v0.3
Version 0.3.0
2 parents 954802c + 14643e2 commit 0dcde52

34 files changed

+780
-2378
lines changed

.coveralls.yml

-2
This file was deleted.

.gitignore

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
/build/
2-
/vendor/
1+
.DS_Store
2+
.phpunit.result.cache
3+
build/
4+
composer.lock
35
composer.phar
6+
vendor/

.travis.yml

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

33
php:
4-
- 5.6
5-
- 5.5
6-
- 5.4
7-
- 5.3
4+
- 8.0
5+
- 7.4
6+
- 7.3
7+
- 7.2
88

9-
script:
10-
- make update test
9+
before_script:
10+
- make install build
1111

12-
after_script:
13-
- php vendor/bin/coveralls -v
12+
script:
13+
- make coverage
14+
- make cs-check

Makefile

+12-3
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,24 @@ install: composer.phar
22
./composer.phar install
33

44
update: composer.phar
5+
./composer.phar self-update
56
./composer.phar update
67

7-
test: vendor/bin/phpunit build
8-
./vendor/bin/phpunit --strict
8+
test: composer.lock
9+
./vendor/bin/phpunit
10+
11+
cs-check: composer.lock
12+
./vendor/bin/phpcs --standard=PSR1,PSR12 lib tests examples
13+
14+
coverage: composer.lock build
15+
XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
16+
./vendor/bin/php-coveralls -v
917

1018
composer.phar:
1119
curl -s http://getcomposer.org/installer | php
1220

13-
vendor/bin/phpunit: install
21+
composer.lock: composer.phar
22+
./composer.phar --no-interaction install
1423

1524
build:
1625
mkdir build

README.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
Textalk Webshop API-client
1+
Abicart (Textalk Webshop) API-client
22
==========================
33

4-
[![Build Status](https://travis-ci.org/Textalk/textalk-webshopclient-php.png)](https://travis-ci.org/Textalk/textalk-webshopclient-php)
4+
[![Build Status](https://travis-ci.com/Textalk/textalk-webshopclient-php.png)](https://travis-ci.com/Textalk/textalk-webshopclient-php)
55
[![Coverage Status](https://coveralls.io/repos/Textalk/textalk-webshopclient-php/badge.png)](https://coveralls.io/r/Textalk/textalk-webshopclient-php)
66

7-
A library to simplify API-usage on Textalk Webshop API.
7+
A library to simplify API-usage on Abicart API.
88

99

1010
Examples:
@@ -124,7 +124,7 @@ Preferred way to install is with [Composer](https://getcomposer.org/).
124124
Just add
125125

126126
"require": {
127-
"textalk/webshop-client": "0.2.*"
127+
"textalk/webshop-client": "0.3.*"
128128
}
129129

130130
in your projects composer.json.
@@ -133,6 +133,11 @@ in your projects composer.json.
133133
Changelog
134134
---------
135135

136+
0.3.0
137+
138+
* Adding support for php ^7.2 and php ^8.0 versions
139+
* Dropping support for older php versions
140+
136141
0.2.6
137142

138143
* Adding support for http(s) connections (wss as default)

composer.json

+9-7
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,25 @@
44
"license": "MIT",
55
"authors": [
66
{
7-
"name": "Fredrik Liljegren",
8-
"email": "[email protected]"
7+
"name": "Fredrik Liljegren"
98
},
109
{
1110
"name": "Sören Jensen",
12-
"email": "soren.jensen@textalk.se"
11+
"email": "soren@abicart.se"
1312
}
1413
],
1514
"autoload": {
16-
"psr-4": {"Textalk\\WebshopClient\\": "lib"}
15+
"psr-4": {
16+
"Textalk\\WebshopClient\\": "lib"
17+
}
1718
},
1819
"require": {
19-
"php": ">=5.3",
20+
"php": "^7.2|^8.0",
2021
"tivoka/tivoka": "3.5.*"
2122
},
2223
"require-dev": {
23-
"phpunit/phpunit": "4.8.*",
24-
"satooshi/php-coveralls": "1.0.*"
24+
"phpunit/phpunit": "^8.0|^9.0",
25+
"php-coveralls/php-coveralls": "^2.0",
26+
"squizlabs/php_codesniffer": "^3.5"
2527
}
2628
}

0 commit comments

Comments
 (0)