Skip to content

Commit dacc948

Browse files
authored
Drop support for Symfony 3.4 (#300)
1 parent a7d07e1 commit dacc948

File tree

4 files changed

+19
-16
lines changed

4 files changed

+19
-16
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ language: php
33
php:
44
- 7.1
55
- 7.2
6+
- 7.3
7+
- 7.4
68

79
sudo: false
810

@@ -17,7 +19,7 @@ before_install:
1719

1820
install:
1921
- composer install
20-
- if [ "$SYMFONY_VERSION" != "" ]; then composer require symfony/symfony:${SYMFONY_VERSION}; fi;
22+
- if [ "$SYMFONY_VERSION" != "" ]; then composer require symfony/symfony:${SYMFONY_VERSION} --with-all-dependencies; fi;
2123

2224
script:
2325
- vendor/bin/phpunit --coverage-text
@@ -28,7 +30,7 @@ matrix:
2830
fast_finish: true
2931
include:
3032
- php: 7.2
31-
env: SYMFONY_VERSION='^4.0'
33+
env: SYMFONY_VERSION='^4.4'
3234
- php: 7.2
3335
env: SYMFONY_VERSION='^5.0'
3436
- php: 7.2

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ Downloads](https://poser.pugx.org/willdurand/js-translation-bundle/downloads.png
88
[![Latest Stable
99
Version](https://poser.pugx.org/willdurand/js-translation-bundle/v/stable.png)](https://packagist.org/packages/willdurand/js-translation-bundle)
1010

11-
A pretty nice way to expose your Symfony2 translation messages to your client
12-
applications.
11+
A pretty nice way to expose your Symfony translation messages to your client applications.
1312

1413

1514
## Documentation

Tests/Dumper/TranslationDumperTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
<?php
22

3-
namespace Bazinga\JsTranslationBundle\Tests\Finder;
3+
namespace Bazinga\Bundle\JsTranslationBundle\Tests\Dumper;
44

55
use Bazinga\Bundle\JsTranslationBundle\Dumper\TranslationDumper;
66
use Bazinga\Bundle\JsTranslationBundle\Tests\WebTestCase;
7+
use Symfony\Component\Filesystem\Filesystem;
78

89
/**
910
* @author Adrien Russo <adrien.russo.qc@gmail.com>
@@ -153,7 +154,7 @@ public function setUp()
153154
$container = $this->getContainer();
154155

155156
$this->target = sys_get_temp_dir() . '/bazinga/js-translation-bundle';
156-
$this->filesystem = $container->get('filesystem');
157+
$this->filesystem = new Filesystem();
157158
$this->dumper = $container->get('bazinga.jstranslation.translation_dumper');
158159

159160
$this->filesystem->mkdir($this->target);

composer.json

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,19 @@
1212
],
1313
"require": {
1414
"php": "^7.1",
15-
"symfony/framework-bundle": "~3.4|~4.0|~5.0",
16-
"symfony/finder": "~3.4|~4.0|~5.0",
17-
"symfony/console": "~3.4|~4.0|~5.0",
18-
"symfony/intl": "~3.4|~4.0|~5.0",
19-
"symfony/translation": "~3.4|~4.0|~5.0",
20-
"symfony/twig-bundle": "~3.4|~4.0|~5.0"
15+
"symfony/framework-bundle": "~4.4|~5.0",
16+
"symfony/finder": "~4.4|~5.0",
17+
"symfony/console": "~4.4|~5.0",
18+
"symfony/intl": "~4.4|~5.0",
19+
"symfony/translation": "~4.4|~5.0",
20+
"symfony/twig-bundle": "~4.4|~5.0"
2121
},
2222
"require-dev": {
23-
"symfony/asset": "~3.4|~4.0|~5.0",
24-
"symfony/yaml": "~3.4|~4.0|~5.0",
25-
"symfony/browser-kit": "~3.4|~4.0|~5.0",
26-
"symfony/twig-bundle": "~3.4|~4.0|~5.0",
23+
"symfony/asset": "~4.4|~5.0",
24+
"symfony/filesystem": "~4.4|~5.0",
25+
"symfony/yaml": "~4.4|~5.0",
26+
"symfony/browser-kit": "~4.4|~5.0",
27+
"symfony/twig-bundle": "~4.4|~5.0",
2728
"symfony/phpunit-bridge": "^5.0",
2829
"phpunit/phpunit": "^4.8|~5.7|~6.5"
2930
},

0 commit comments

Comments
 (0)