Skip to content

Commit

Permalink
Merge pull request #14 from mpdude/update-php-versions
Browse files Browse the repository at this point in the history
Update PHP, PHPUnit and Symfony versions to currently supported ones
  • Loading branch information
jbouzekri authored Dec 20, 2019
2 parents ac04c9a + 5ca62e5 commit 4ced82c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
language: php

php:
- 5.6
- 7.0
- 7.2
- 7.3
- 7.4

before_script:
- pear install pear/PHP_CodeSniffer
Expand Down
13 changes: 8 additions & 5 deletions Tests/phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="bootstrap.php"
>

Expand All @@ -17,8 +16,12 @@
</testsuite>
</testsuites>
<filter>
<blacklist>
<directory>../vendor</directory>
</blacklist>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">.</directory>
<exclude>
<directory>vendor</directory>
<directory>Tests</directory>
</exclude>
</whitelist>
</filter>
</phpunit>
</phpunit>
11 changes: 6 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@
"webfactory/phumbor": "^1.1"
},
"require-dev": {
"symfony/config": "~2.4",
"symfony/http-kernel": "~2.4",
"symfony/dependency-injection": "~2.4",
"twig/extensions": "~1.0",
"phpunit/phpunit": "~4.8|~5.7"
"symfony/config": "^3.4",
"symfony/dependency-injection": "^3.4",
"symfony/http-kernel": "^3.4",
"symfony/yaml": "^3.4",
"phpunit/phpunit": "^7.0",
"twig/extensions": "~1.0"
},
"autoload": {
"psr-4": { "Jb\\Bundle\\PhumborBundle\\": "" }
Expand Down

0 comments on commit 4ced82c

Please sign in to comment.