Skip to content

Commit 0d1e11b

Browse files
authored
Merge pull request php-opencloud#199 from php-opencloud/update-readme-2.0
Updated README and composer.json
2 parents e70b58e + 9b6e9ef commit 0d1e11b

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ language: php
22

33
sudo: false
44

5-
dist: precise
6-
75
cache:
86
directories:
97
- $HOME/.composer/cache
@@ -21,6 +19,7 @@ before_install:
2119
- cat $HOME/.phpenv/versions/$TRAVIS_PHP_VERSION/etc/conf.d/xdebug.ini > ./xdebug.ini
2220
- phpenv config-rm xdebug.ini || true
2321
- composer self-update
22+
- if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi;
2423

2524
before_script:
2625
- composer install --prefer-source

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,23 @@ OpenStack services, and versions of services, are supported.
1212

1313
* [Official documentation](http://docs.os.php-opencloud.com/)
1414
* [Reference documentation](http://refdocs.os.php-opencloud.com)
15-
* [Developer support](https://developer.rackspace.com/)
16-
* [Mailing list](https://groups.google.com/forum/#!forum/php-opencloud)
1715
* [Contributing guide](/CONTRIBUTING.md)
1816
* [Code of Conduct](/CODE_OF_CONDUCT.md)
1917

18+
## Backward incompatibility
19+
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.
24+
25+
### Version Guidance
26+
27+
| Version | Status | PHP Version | Life span |
28+
| --------- | --------------------------- | ------------- | ----------------------- |
29+
| `^2.0` | Maintained (Bug fixes only) | `>=7.0,<7.2` | March 2016 - March 2018 |
30+
| `^3.0` | Latest | `>=7.0` | March 2018 - March 2020 |
31+
2032
## Getting help
2133

2234
- Meet us on Slack: https://phpopencloud.slack.com ([Get your invitation](https://launchpass.com/phpopencloud))

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
}
4040
],
4141
"require": {
42-
"php": "~7.0",
42+
"php": ">=7.0 <7.2",
4343
"guzzlehttp/guzzle": "~6.1",
4444
"justinrainbow/json-schema": "~5.2"
4545
},

0 commit comments

Comments
 (0)