Skip to content

Commit

Permalink
Merge fb7df1f into b9f1a0b
Browse files Browse the repository at this point in the history
  • Loading branch information
dbu committed Jul 5, 2022
2 parents b9f1a0b + fb7df1f commit 126d1f9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ jobs:

- name: Pull in optional dependencies
run: |
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
composer update --no-dev --no-progress
composer global require symfony/flex
composer global config --no-plugins allow-plugins.symfony/flex true
composer config extra.symfony.require "^5.0"
composer require --no-update symfony/http-kernel symfony/event-dispatcher symfony/process phpunit/phpunit toflar/psr6-symfony-http-cache-store:^3.0
# composer update --no-dev --no-progress

- name: PHPStan
uses: docker://oskarstark/phpstan-ga
Expand All @@ -37,8 +40,11 @@ jobs:

- name: Pull in optional dependencies
run: |
composer global require symfony/flex
composer global config --no-plugins allow-plugins.symfony/flex true
composer config extra.symfony.require "^5.0"
composer require --no-update phpunit/phpunit toflar/psr6-symfony-http-cache-store:^3.0
composer update --no-progress
# composer update --no-progress

- name: PHPStan
uses: docker://oskarstark/phpstan-ga
Expand Down
3 changes: 2 additions & 1 deletion doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
sphinx==1.8.5
git+https://github.com/fabpot/sphinx-php.git
sphinx-rtd-theme
sphinx-rtd-theme==1.0.0
sphinxcontrib-spelling
sphinxcontrib-phpdomain
pyenchant
docutils==0.17.1
jinja2<3.1.0
4 changes: 4 additions & 0 deletions src/Test/EventDispatchingHttpCacheTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ protected function getHttpCachePartialMock(array $mockedMethods = null)
$refOptions->setAccessible(true);
$refOptions->setValue($mock, $options);

$surrogate = $refHttpCache->getProperty('surrogate');
$surrogate->setAccessible(true);
$surrogate->setValue($mock, null);

return $mock;
}

Expand Down

0 comments on commit 126d1f9

Please sign in to comment.