Skip to content

Commit

Permalink
bumped dependencies
Browse files Browse the repository at this point in the history
- added support for PHP 8.0
- dropped support for PHP 7.0, 7.1, 7.2
  • Loading branch information
craue committed Dec 18, 2020
1 parent 8396191 commit 14ec5b5
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 21 deletions.
14 changes: 7 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ language: php

matrix:
include:
- php: 7.0
env: DEPS='lowest'
- php: 7.3
env: SYMFONY_VERSION='3.4.*' SYMFONY_DEPRECATIONS_HELPER='max[self]=0&max[direct]=0&max[indirect]=1'
env: DEPS='lowest'
- php: 7.4
env: SYMFONY_VERSION='3.4.*'
# TODO remove as soon as Symfony >= 4.2 is required
- php: 7.3
env: SYMFONY_VERSION='3.4.*' WITH_TRANSLATION_CONTRACTS='yes' SYMFONY_DEPRECATIONS_HELPER='max[self]=0&max[direct]=0&max[indirect]=1'
- php: 7.3
env: SYMFONY_VERSION='4.4.*'
- php: 7.4
env: SYMFONY_VERSION='3.4.*' WITH_TRANSLATION_CONTRACTS='yes'
- php: 7.4
env: SYMFONY_VERSION='4.4.*'
- php: 8.0
env: DEPS='unmodified'
fast_finish: true

Expand Down
2 changes: 1 addition & 1 deletion Tests/IntegrationTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ protected static function createKernel(array $options = []) {
/**
* {@inheritDoc}
*/
protected function setUp() {
protected function setUp() : void {
static::$client = static::createClient();
}

Expand Down
2 changes: 1 addition & 1 deletion Tests/Twig/Extension/CountryExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class CountryExtensionTest extends TestCase {
*/
protected $ext;

protected function setUp() {
protected function setUp() : void {
\Locale::setDefault('en');

$this->ext = new CountryExtension();
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
"symfony/validator": "~3.4|~4.4|~5.1"
},
"require-dev": {
"craue/translations-tests": "^1.0",
"craue/translations-tests": "^1.1",
"doctrine/instantiator": "^1.0.5",
"phpunit/phpunit": "^6.5.13|^7.5.1",
"symfony/phpunit-bridge": "~5.1",
"symfony/symfony": "~3.4|~4.4|~5.1"
"phpunit/phpunit": "^9.4",
"symfony/phpunit-bridge": "^5.2",
"symfony/symfony": "~3.4.23|~4.4|~5.1"
},
"minimum-stability": "stable",
"autoload": {
Expand Down
16 changes: 8 additions & 8 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
<directory suffix="Test.php">Tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<coverage>
<include>
<directory suffix=".php">.</directory>
<exclude>
<directory suffix=".php">Tests</directory>
<directory suffix=".php">vendor</directory>
</exclude>
</whitelist>
</filter>
</include>
<exclude>
<directory suffix=".php">Tests</directory>
<directory suffix=".php">vendor</directory>
</exclude>
</coverage>
<php>
<env name="SHELL_VERBOSITY" value="-1" />
<!--
Expand Down

0 comments on commit 14ec5b5

Please sign in to comment.