Skip to content

Commit 5dcac99

Browse files
authored
Bumped up php-coveralls to remove dated guzzle (#226)
* Bumped up php-coveralls to remove dated guzzle * Display code coverage from coverall * Re-organise README.md
1 parent c9f72c0 commit 5dcac99

File tree

4 files changed

+23
-15
lines changed

4 files changed

+23
-15
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ before_script:
3131
after_script:
3232
- php vendor/bin/coveralls -v
3333

34+
after_success:
35+
- travis_retry php vendor/bin/php-coveralls -v
36+
3437
notifications:
3538
email:
3639
- jamie.hannaford@rackspace.com

README.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# PHP OpenStack SDK
22

33
[![Build Status](https://travis-ci.org/php-opencloud/openstack.svg?branch=master)](https://travis-ci.org/php-opencloud/openstack)
4-
[![Code Coverage](https://scrutinizer-ci.com/g/php-opencloud/openstack/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/php-opencloud/openstack/?branch=master)
4+
[![Coveralls github](https://img.shields.io/coveralls/github/php-opencloud/openstack/master.svg?style=flat-square)](https://coveralls.io/github/php-opencloud/openstack)
55
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/php-opencloud/openstack/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/php-opencloud/openstack/?branch=master)
66

77
`php-opencloud/openstack` is an SDK which allows PHP developers to easily connect to OpenStack APIs in a simple and
@@ -15,12 +15,11 @@ OpenStack services, and versions of services, are supported.
1515
* [Contributing guide](/CONTRIBUTING.md)
1616
* [Code of Conduct](/CODE_OF_CONDUCT.md)
1717

18-
## Backward incompatibility
18+
## Getting help
19+
20+
- Meet us on Slack: https://phpopencloud.slack.com ([Get your invitation](https://launchpass.com/phpopencloud))
21+
- Report and issue: https://github.com/php-opencloud/openstack/issues
1922

20-
Due to new [object typehint](https://wiki.php.net/rfc/object-typehint) since PHP 7.2, `Object` is a reserved keyword
21-
thus class `OpenStack\ObjectStore\v1\Models\Object` had to be renamed to
22-
`OpenStack\ObjectStore\v1\Models\StorageObject`. See [#184](https://github.com/php-opencloud/openstack/pull/184) for
23-
details.
2423

2524
### Version Guidance
2625

@@ -29,14 +28,18 @@ details.
2928
| `^2.0` | Maintained (Bug fixes only) | `>=7.0,<7.2` | March 2016 - March 2018 |
3029
| `^3.0` | Latest | `^7.0` | March 2018 - March 2020 |
3130

32-
## Getting help
33-
34-
- Meet us on Slack: https://phpopencloud.slack.com ([Get your invitation](https://launchpass.com/phpopencloud))
35-
- Report and issue: https://github.com/php-opencloud/openstack/issues
31+
## Upgrade from 2.x to 3.x
32+
33+
Due to new [object typehint](https://wiki.php.net/rfc/object-typehint) since PHP 7.2, `Object` is a reserved keyword
34+
thus class `OpenStack\ObjectStore\v1\Models\Object` had to be renamed to
35+
`OpenStack\ObjectStore\v1\Models\StorageObject`.
36+
37+
This change was introduced in [#184](https://github.com/php-opencloud/openstack/pull/184).
3638

3739
## Requirements
3840

3941
* PHP 7.0
42+
* `ext-curl`
4043

4144
## How to install
4245

@@ -51,4 +54,4 @@ taken the time to write a [contributing guide](CONTRIBUTING.md) for folks intere
5154
If you're not sure how you can get involved, feel free to
5255
[submit an issue](https://github.com/php-opencloud/openstack/issues/new) or
5356
[contact us](https://developer.rackspace.com/support/). You don't need to be a PHP expert - all members of the
54-
community are welcome!
57+
community are welcome!

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@
4646
"require-dev": {
4747
"phpunit/phpunit": "^6.5",
4848
"sami/sami": "dev-master",
49-
"psr/log": "~1.0",
50-
"satooshi/php-coveralls": "~1.0",
51-
"jakub-onderka/php-parallel-lint": "0.*",
49+
"psr/log": "^1.0",
50+
"satooshi/php-coveralls": "^2.0",
51+
"jakub-onderka/php-parallel-lint": "^1.0",
5252
"friendsofphp/php-cs-fixer": "^2.9"
5353
},
5454
"extra": {

phpunit.xml.dist

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit bootstrap="./vendor/autoload.php" colors="true" strict="true">
3-
3+
<logging>
4+
<log type="coverage-clover" target="build/logs/clover.xml"/>
5+
</logging>
46
<testsuites>
57
<testsuite name="OpenStack">
68
<directory>tests/unit</directory>

0 commit comments

Comments
 (0)