brightcove / PHP-API-Wrapper

This project provides a starting point for integrating the Brightcove CMS API into your application. It provides simple ways to interact with the API, as well as a long list of helper functions.
25 stars 33 forks source link

Feature/php72 compatibility #35

Closed chibani closed 5 years ago

chibani commented 6 years ago

PHP 7.2 adds a new reserved keyword that is used in the lib namespaces : "object". Currently, PHP 7.2 allows to use it in namespaces, but it will be forbidden in future released... So, I've renamed "Object" to "Item", to keep a generic naming.

Also, I've updated PHPUnit to support PHP >=7.1 (as PHP 7.0 won't be maintained soon).

Thanks.

chibani commented 6 years ago

I just updated my branch (from master), then made a few changes to composer.json (according to @nicomro 's idea.