Skip to content

Commit a9d36b0

Browse files
Drop support for PHP 5.6 and add return type for Symfony 6
1 parent e964f6b commit a9d36b0

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.github/workflows/ci.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
include:
21-
- php-version: '5.6'
22-
symfony-version: '2.8.*'
23-
monolog-version: '^1.0'
24-
2521
- php-version: '7.0'
2622
symfony-version: '3.4.*'
2723
monolog-version: '^1.0'

Tests/Resources/App/AppKernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ protected function prepareContainer(ContainerBuilder $container)
4747
$container->setParameter('cmf_testing.bundle_fqn', 'DTL\Bundle\PhpcrMigrations\PhpcrMigrationsBundle');
4848
}
4949

50-
protected function getKernelParameters()
50+
protected function getKernelParameters(): array
5151
{
5252
$kernelParameters = parent::getKernelParameters();
5353
$kernelParameters['kernel.root_dir'] = $this->getKernelDir();
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
phpcr_migrations:
22
version_node_name: "jcr:migrations"
3+
4+
framework:
5+
annotations: true

Tests/Resources/App/var/cache/AppDTL_Bundle_PhpcrMigrations_Tests_Resources_App_AppKernelPhpcrDebugContainer.php

Whitespace-only changes.

composer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@
99
}
1010
],
1111
"require": {
12+
"php": "^7.0 || ^8.0",
1213
"phpcr/phpcr-migrations": "^1.1",
1314
"phpcr/phpcr-implementation": "^2.1",
1415
"doctrine/phpcr-bundle": "^1.3 || ^2.0",
15-
"symfony/config": "^2.8 || ^3.4 || ^4.0 || ^5.0 || ^6.0",
16-
"symfony/console": "^2.8 || ^3.4 || ^4.0 || ^5.0 || ^6.0",
17-
"symfony/dependency-injection": "^2.8 || ^3.4 || ^4.0 || ^5.0 || ^6.0",
18-
"symfony/http-kernel": "^2.8 || ^3.4 || ^4.0 || ^5.0 || ^6.0"
16+
"symfony/config": "^3.4 || ^4.0 || ^5.0 || ^6.0",
17+
"symfony/console": "^3.4 || ^4.0 || ^5.0 || ^6.0",
18+
"symfony/dependency-injection": "^3.4 || ^4.0 || ^5.0 || ^6.0",
19+
"symfony/http-kernel": "^3.4 || ^4.0 || ^5.0 || ^6.0"
1920
},
2021
"require-dev": {
2122
"doctrine/doctrine-bundle": "^1.8 || ^2.0",

0 commit comments

Comments
 (0)