Skip to content

Commit 9a7291c

Browse files
committed
fix tests + minor modernisations...
1 parent 4199a8f commit 9a7291c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1404
-94
lines changed

.gitignore

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1-
# Eclipse + PDT
1+
# osx specific
2+
.DS_Store
3+
4+
# ignore-ide
25
/.settings/
36
/.buildpath
47
/.project
58

9+
# composer
10+
/vendor/
11+
612
# configs
713
/config.php
8-
/coza/
14+
/coza/

.scrutinizer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ filter:
44
- examples/*
55
checks:
66
php:
7-
duplication: false
7+
duplication: false

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
language: php
22

33
php:
4+
- '7.1'
45
- '7.0'
56
- '5.6'
67
- '5.5'
78
- '5.4'
89
- hhvm
9-
10-
script: phpunit --coverage-text
10+
11+
script: vendor/bin/phpunit --coverage-text

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ Features
3737
--------
3838

3939
* modern PHP standards
40-
* autoloader (e.g. lazy loading, we don't want to load XXX php files, if we only need few operations)
41-
* [PSR-1](http://www.php-fig.org/psr/psr-1/) and [PSR-2](http://www.php-fig.org/psr/psr-2/) compliant
40+
* [PSR-1](http://www.php-fig.org/psr/psr-1/), [PSR-2](http://www.php-fig.org/psr/psr-2/) & [PSR-4](http://www.php-fig.org/psr/psr-4/)
4241
* notice and warning free (find them, and I'll fix it!)
4342
* high-level usage (Plug & Play)
4443
* simplified client (auto login/logout, auto inject clTRID)
@@ -74,7 +73,7 @@ this will automatically login on connect() and logout on close()
7473

7574
```php
7675
<?php
77-
require 'src/AfriCC/autoload.php';
76+
require 'vendor/autoload.php';
7877

7978
use AfriCC\EPP\Client as EPPClient;
8079

@@ -111,7 +110,7 @@ add values.
111110

112111
```php
113112
<?php
114-
require 'src/AfriCC/autoload.php';
113+
require 'vendor/autoload.php';
115114

116115
use AfriCC\EPP\Frame\Command\Create\Host as CreateHost;
117116

@@ -193,4 +192,4 @@ License
193192

194193
php-epp2 is released under the GPLv3 License. See the bundled
195194
[LICENSE](https://github.com/AfriCC/php-epp2/blob/master/LICENSE) file for
196-
details.
195+
details.

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,8 @@
2222
"psr-4": {
2323
"AfriCC\\": "src/AfriCC"
2424
}
25+
},
26+
"require-dev": {
27+
"phpunit/phpunit": "^6.0"
2528
}
26-
}
29+
}

0 commit comments

Comments
 (0)