diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index ea447cb6..f5ecfc85 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -27,7 +27,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.11' cache: 'pip' diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 75f1364e..98c609f5 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -34,7 +34,7 @@ jobs: tools: composer:v2 - name: Install Composer dependencies (highest) - uses: ramsey/composer-install@v2 + uses: ramsey/composer-install@v3 with: dependency-versions: highest diff --git a/.github/workflows/qa.yaml b/.github/workflows/qa.yaml index 88366d76..6e5258c2 100644 --- a/.github/workflows/qa.yaml +++ b/.github/workflows/qa.yaml @@ -34,7 +34,7 @@ jobs: tools: composer:v2 - name: Install Composer dependencies (highest) - uses: ramsey/composer-install@v2 + uses: ramsey/composer-install@v3 with: dependency-versions: highest @@ -58,7 +58,7 @@ jobs: tools: composer:v2 - name: Install Composer dependencies (highest) - uses: ramsey/composer-install@v2 + uses: ramsey/composer-install@v3 with: dependency-versions: highest @@ -82,7 +82,7 @@ jobs: tools: composer:v2 - name: Install Composer dependencies (highest) - uses: ramsey/composer-install@v2 + uses: ramsey/composer-install@v3 with: dependency-versions: highest diff --git a/.github/workflows/symfony-lint.yaml b/.github/workflows/symfony-lint.yaml index 85985c06..7db9fc6c 100644 --- a/.github/workflows/symfony-lint.yaml +++ b/.github/workflows/symfony-lint.yaml @@ -34,7 +34,7 @@ jobs: tools: composer:v2 - name: Install Composer dependencies (highest) - uses: ramsey/composer-install@v2 + uses: ramsey/composer-install@v3 with: dependency-versions: highest @@ -58,7 +58,7 @@ jobs: tools: composer:v2 - name: Install Composer dependencies (highest) - uses: ramsey/composer-install@v2 + uses: ramsey/composer-install@v3 with: dependency-versions: highest @@ -82,7 +82,7 @@ jobs: tools: composer:v2 - name: Install Composer dependencies (highest) - uses: ramsey/composer-install@v2 + uses: ramsey/composer-install@v3 with: dependency-versions: highest @@ -106,7 +106,7 @@ jobs: tools: composer:v2 - name: Install Composer dependencies (highest) - uses: ramsey/composer-install@v2 + uses: ramsey/composer-install@v3 with: dependency-versions: highest diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 2e42df1e..b471807b 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -78,7 +78,7 @@ jobs: run: composer require ${{ matrix.variant }} --no-update - name: Install Composer dependencies (${{ matrix.dependencies }}) - uses: ramsey/composer-install@v2 + uses: ramsey/composer-install@v3 with: dependency-versions: ${{ matrix.dependencies }} @@ -86,6 +86,6 @@ jobs: run: make coverage - name: Send coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: files: build/logs/clover.xml diff --git a/composer.json b/composer.json index c839a88c..04062276 100644 --- a/composer.json +++ b/composer.json @@ -52,7 +52,7 @@ "phpunit/phpunit": "^9.5", "psalm/plugin-phpunit": "^0.18", "psalm/plugin-symfony": "^5.0", - "rector/rector": "^0.19", + "rector/rector": "^1.1", "sonata-project/doctrine-orm-admin-bundle": "^4.0", "symfony/browser-kit": "^5.4 || ^6.2", "symfony/css-selector": "^5.4 || ^6.2", diff --git a/src/DependencyInjection/SonataTranslationExtension.php b/src/DependencyInjection/SonataTranslationExtension.php index 3448a20e..009f81eb 100644 --- a/src/DependencyInjection/SonataTranslationExtension.php +++ b/src/DependencyInjection/SonataTranslationExtension.php @@ -20,9 +20,9 @@ use Symfony\Component\Config\FileLocator; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\ContainerInterface; +use Symfony\Component\DependencyInjection\Extension\Extension; use Symfony\Component\DependencyInjection\Loader\PhpFileLoader; use Symfony\Component\DependencyInjection\Reference; -use Symfony\Component\HttpKernel\DependencyInjection\Extension; /** * @author Nicolas Bastien