Skip to content

Commit 39901ff

Browse files
authored
Merge pull request #530 from FriendsOfSymfony/fix-build
fix builds
2 parents b9f1a0b + b075944 commit 39901ff

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.github/workflows/static.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ jobs:
1616
uses: actions/checkout@v2
1717

1818
- name: Pull in optional dependencies
19-
run: |
20-
composer require --no-update symfony/http-kernel:^5.0 symfony/event-dispatcher:^5.0 symfony/process:^5.0 phpunit/phpunit toflar/psr6-symfony-http-cache-store:^3.0
21-
composer update --no-dev --no-progress
19+
run: composer require --no-update symfony/http-kernel symfony/event-dispatcher symfony/process phpunit/phpunit toflar/psr6-symfony-http-cache-store:^3.0
2220

2321
- name: PHPStan
2422
uses: docker://oskarstark/phpstan-ga
@@ -36,9 +34,7 @@ jobs:
3634
uses: actions/checkout@v2
3735

3836
- name: Pull in optional dependencies
39-
run: |
40-
composer require --no-update phpunit/phpunit toflar/psr6-symfony-http-cache-store:^3.0
41-
composer update --no-progress
37+
run: composer require --no-update phpunit/phpunit toflar/psr6-symfony-http-cache-store:^3.0
4238

4339
- name: PHPStan
4440
uses: docker://oskarstark/phpstan-ga

doc/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
sphinx==1.8.5
22
git+https://github.com/fabpot/sphinx-php.git
3-
sphinx-rtd-theme
3+
sphinx-rtd-theme==1.0.0
44
sphinxcontrib-spelling
55
sphinxcontrib-phpdomain
66
pyenchant
77
docutils==0.17.1
8+
jinja2<3.1.0

src/Test/EventDispatchingHttpCacheTestCase.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ protected function getHttpCachePartialMock(array $mockedMethods = null)
7272
$refOptions->setAccessible(true);
7373
$refOptions->setValue($mock, $options);
7474

75+
$surrogate = $refHttpCache->getProperty('surrogate');
76+
$surrogate->setAccessible(true);
77+
$surrogate->setValue($mock, null);
78+
7579
return $mock;
7680
}
7781

0 commit comments

Comments
 (0)