Skip to content

Commit 1e55dfa

Browse files
committed
fix Symfony deps
1 parent b19a08a commit 1e55dfa

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
tests:
2828
runs-on: ubuntu-20.04
2929
strategy:
30+
fail-fast: false
3031
matrix:
3132
php:
3233
- '7.3'

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"require": {
2525
"php": "^7.3 || ^8.0",
2626
"symfony/event-dispatcher-contracts": "^1.1 || ^2.0",
27-
"symfony/http-foundation": "^4.4 || ^5.3 || ^6.0"
27+
"symfony/http-foundation": "^4.4 || ^5.4 || ^6.0"
2828
},
2929
"require-dev": {
3030
"ext-pdo_sqlite": "*",
@@ -36,8 +36,8 @@
3636
"propel/propel1": "^1.7",
3737
"ruflin/elastica": "^7.0",
3838
"solarium/solarium": "^6.0",
39-
"symfony/http-kernel": "^4.4 || ^5.2",
40-
"symfony/property-access": "^4.4 || ^5.3 || ^6.0"
39+
"symfony/http-kernel": "^4.4 || ^5.4 || ^6.0",
40+
"symfony/property-access": "^4.4 || ^5.4 || ^6.0"
4141
},
4242
"suggest": {
4343
"doctrine/common": "to allow usage pagination with Doctrine ArrayCollection",

tests/bootstrap.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
\Doctrine\Common\Annotations\AnnotationRegistry::registerLoader('class_exists');
66
$reader = new \Doctrine\Common\Annotations\AnnotationReader();
7-
$reader = new \Doctrine\Common\Annotations\CachedReader($reader, new \Doctrine\Common\Cache\ArrayCache());
7+
if (class_exists('Doctrine\Common\Cache\ArrayCache')) {
8+
$reader = new \Doctrine\Common\Annotations\CachedReader($reader, new \Doctrine\Common\Cache\ArrayCache());
9+
}
810
$_ENV['annotation_reader'] = $reader;
9-

0 commit comments

Comments
 (0)