Skip to content

Commit

Permalink
dropped support for Symfony 3.4 in order to avoid deprecation notices…
Browse files Browse the repository at this point in the history
… while running tests with Symfony >= 5.4
  • Loading branch information
craue committed Aug 30, 2021
1 parent 7aad10a commit 421e6fb
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 24 deletions.
13 changes: 6 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,25 @@ jobs:
include:
- stage: smoke test 🕵️
php: 7.3
env: DEPS='lowest' WITH_DOCTRINE_CACHE_BUNDLE='yes' SYMFONY_DEPRECATIONS_HELPER='max[self]=2&max[direct]=168&max[indirect]=871'
env: DEPS='lowest' WITH_DOCTRINE_CACHE_BUNDLE='yes' SYMFONY_DEPRECATIONS_HELPER='max[indirect]=1066'
-
php: 8.0
env: DEPS='unmodified' WITH_STATIC_ANALYSIS='yes'

- stage: test
php: 7.3
env: SYMFONY_VERSION='3.4.*' WITH_DOCTRINE_CACHE_BUNDLE='yes' SYMFONY_DEPRECATIONS_HELPER='max[indirect]=4'
env: SYMFONY_VERSION='4.4.*' WITH_DOCTRINE_CACHE_BUNDLE='yes' SYMFONY_DEPRECATIONS_HELPER='max[indirect]=4'
-
php: 7.4
dist: focal
env: SYMFONY_VERSION='3.4.*' WITH_DOCTRINE_CACHE_BUNDLE='yes' SYMFONY_DEPRECATIONS_HELPER='max[indirect]=4'
-
php: 7.3
env: SYMFONY_VERSION='4.4.*' WITH_DOCTRINE_CACHE_BUNDLE='yes' SYMFONY_DEPRECATIONS_HELPER='max[indirect]=4'
-
php: 7.3
php: 7.4
dist: focal
env: SYMFONY_VERSION='5.3.*'
-
php: 7.3
php: 7.4
dist: focal
env: SYMFONY_VERSION='5.4.*' MIN_STABILITY='dev'
allow_failures:
- env: SYMFONY_VERSION='5.4.*' MIN_STABILITY='dev'
Expand Down
4 changes: 2 additions & 2 deletions Controller/SettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
use Craue\ConfigBundle\CacheAdapter\CacheAdapterInterface;
use Craue\ConfigBundle\Entity\SettingInterface;
use Craue\ConfigBundle\Form\ModifySettingsForm;
use Symfony\Bridge\Doctrine\ManagerRegistry;
use Doctrine\Common\Persistence\ManagerRegistry;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\Form\FormFactoryInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\Session\Session;
use Symfony\Component\HttpFoundation\Session\SessionInterface;
use Symfony\Component\Translation\TranslatorInterface;
use Symfony\Contracts\Translation\TranslatorInterface;
use Twig\Environment;

/**
Expand Down
30 changes: 15 additions & 15 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,29 +17,29 @@
],
"require": {
"php": "^7.3|^8",
"doctrine/doctrine-bundle": "^1.5.1|~2.0",
"doctrine/doctrine-bundle": "^1.6.11|~2.0",
"psr/simple-cache": "^1.0",
"symfony/cache": "~3.4|~4.4|~5.3",
"symfony/config": "~3.4|~4.4|~5.3",
"symfony/dependency-injection": "~3.4|~4.4|~5.3",
"symfony/form": "~3.4|~4.4|~5.3",
"symfony/framework-bundle": "~3.4|~4.4|~5.3",
"symfony/http-foundation": "~3.4|~4.4|~5.3",
"symfony/http-kernel": "~3.4|~4.4|~5.3",
"symfony/options-resolver": "~3.4|~4.4|~5.3",
"symfony/validator": "~3.4|~4.4|~5.3"
"symfony/cache": "~4.4|~5.3",
"symfony/config": "~4.4|~5.3",
"symfony/dependency-injection": "~4.4|~5.3",
"symfony/form": "~4.4|~5.3",
"symfony/framework-bundle": "~4.4|~5.3",
"symfony/http-foundation": "~4.4|~5.3",
"symfony/http-kernel": "~4.4|~5.3",
"symfony/options-resolver": "~4.4|~5.3",
"symfony/validator": "~4.4|~5.3"
},
"require-dev": {
"craue/translations-tests": "^1.0",
"doctrine/instantiator": "^1.0.5",
"doctrine/orm": "^2.5.14",
"phpunit/phpunit": "^9.5",
"symfony/asset": "~3.4|~4.4|~5.3",
"symfony/browser-kit": "~3.4|~4.4|~5.3",
"symfony/asset": "~4.4|~5.3",
"symfony/browser-kit": "~4.4|~5.3",
"symfony/flex": "^1.13",
"symfony/phpunit-bridge": "~5.3",
"symfony/twig-bundle": "~3.4|~4.4|~5.3",
"symfony/web-profiler-bundle": "~3.4|~4.4|~5.3"
"symfony/twig-bundle": "~4.4|~5.3",
"symfony/web-profiler-bundle": "~4.4|~5.3"
},
"minimum-stability": "stable",
"autoload": {
Expand All @@ -55,7 +55,7 @@
"dev-master": "2.6.x-dev"
},
"symfony": {
"require": "~3.4.23|~4.4|~5.3"
"require": "~4.4|~5.3"
}
},
"config": {
Expand Down

0 comments on commit 421e6fb

Please sign in to comment.