Skip to content

Commit

Permalink
Allow PHP 7 in composer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
alcaeus committed Jan 17, 2016
1 parent a506bd2 commit 354337b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{ "name": "Andreas Braun", "email": "alcaeus@alcaeus.org" }
],
"require": {
"php": "^5.5",
"php": "^5.5 || ^7.0",

This comment has been minimized.

Copy link
@sredni

sredni Mar 7, 2016

There is a bug because php7 have no ext-mongo.
Also there should be updated .travis.yml to test that change.

This comment has been minimized.

Copy link
@alcaeus

alcaeus Mar 7, 2016

Author Member

There is a bug because php7 have no ext-mongo.

There is no bug. There is no problem running this on PHP 7, as long as the ext-mongo dependency is filled. This can be accomplished using a polyfill such as mongo-php-adapter.

"ext-mongo": "^1.5",
"symfony/console": "~2.3|~3.0",
"doctrine/annotations": "~1.0",
Expand Down

0 comments on commit 354337b

Please sign in to comment.