Skip to content

Commit

Permalink
Update for PHP 7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dongilbert committed May 10, 2017
1 parent 51e61f2 commit 379cdb2
Show file tree
Hide file tree
Showing 4 changed files with 445 additions and 412 deletions.
7 changes: 2 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,11 @@ php:
#- 5.5
- 5.6
- 7.0

matrix:
allow_failures:
- php: 7.0
- 7.1

before_script:
- composer install
- cd app

script:
- phpunit
- composer run-script test
2 changes: 1 addition & 1 deletion app/middlewares/VersionCheckMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class VersionCheckMiddleware implements HttpKernelInterface, PrioritizedMiddlewa
const PRIORITY = 10;

const MAUTIC_MINIMUM_PHP = '5.6.19';
const MAUTIC_MAXIMUM_PHP = '7.0.999';
const MAUTIC_MAXIMUM_PHP = '7.1.999';

/**
* @var HttpKernelInterface
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
]
},
"require": {
"php": "~5.6.19|~7.0",
"php": "~5.6.19|~7.1",

"symfony/console": "~2.8",
"symfony/debug": "~2.8",
Expand Down
Loading

0 comments on commit 379cdb2

Please sign in to comment.