Skip to content

Commit

Permalink
Upgrade to Symfony 6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fre5h authored Jun 7, 2022
1 parent 405f151 commit b267f4b
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 24 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
- name: 'Setup PHP'
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
php-version: 8.1
ini-values: memory_limit=-1
coverage: none
tools: composer:v2
Expand All @@ -94,11 +94,9 @@ jobs:
fail-fast: false
matrix:
php-version:
- '7.4'
- '8.0'
- '8.1'
symfony-version:
- '5.4'
- '6.1'
steps:
- name: 'Checkout Code'
uses: actions/checkout@v2
Expand Down
12 changes: 6 additions & 6 deletions Resources/config/services.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
services:
_defaults:
autowire: true
autoconfigure: true
public: false
_defaults:
autowire: true
autoconfigure: true
public: false

Doctrine\Migrations\Finder\MigrationFinder:
class: Doctrine\Migrations\Finder\RecursiveRegexFinder
Doctrine\Migrations\Finder\MigrationFinder:
class: Doctrine\Migrations\Finder\RecursiveRegexFinder
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
final class DetectLastMigrationPassTest extends TestCase
{
/** @var MigrationFinder|MockObject */
private $migrationFinder;
private MigrationFinder|MockObject $migrationFinder;

/** @var ContainerBuilder|MockObject */
private $container;
private ContainerBuilder|MockObject $container;

private Configuration $configuration;

Expand Down Expand Up @@ -107,7 +107,7 @@ public function testProcess(): void
$definition
->expects(self::once())
->method('setTags')
->willReturn(['cache.pool' => ['namespace' => 'Version20200101000003']])
->with(['cache.pool' => [['namespace' => 'Version20200101000003']]])
;

$this->detectLastMigrationPass->process($this->container);
Expand Down
22 changes: 11 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@
"issues": "https://github.com/stfalcon-studio/DoctrineRedisCacheBundle/issues"
},
"require": {
"php": ">=7.4",
"php": ">=8.1",
"ext-redis": "*",
"doctrine/doctrine-migrations-bundle": "^3.2",
"symfony/cache": "^5.4",
"symfony/config": "^5.4",
"symfony/dependency-injection": "^5.4",
"symfony/framework-bundle": "^5.4",
"symfony/http-kernel": "^5.4",
"symfony/yaml": "^5.4"
"symfony/cache": "^6.1",
"symfony/config": "^6.1",
"symfony/dependency-injection": "^6.1",
"symfony/framework-bundle": "^6.1",
"symfony/http-kernel": "^6.1",
"symfony/yaml": "^6.1"
},
"require-dev": {
"escapestudios/symfony2-coding-standard": "^3.12",
"phpstan/phpstan": "^1.2",
"phpstan/phpstan-doctrine": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"phpstan/phpstan-symfony": "^1.0",
"phpstan/phpstan": "^1.7.10",
"phpstan/phpstan-doctrine": "^1.3",
"phpstan/phpstan-phpunit": "^1.1",
"phpstan/phpstan-symfony": "^1.2",
"phpunit/phpunit": "^9.5"
},
"autoload": {
Expand Down

0 comments on commit b267f4b

Please sign in to comment.