Skip to content

Commit

Permalink
upgrade symfony deps to ^6 (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
ildanno committed Mar 22, 2023
1 parent 12c5029 commit 9e46a21
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
20 changes: 10 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
"require": {
"php": "^8.0",
"ext-json": "*",
"symfony/property-access": "^4.0 || ^5.0",
"symfony/http-foundation": "^4.0 || ^5.0",
"symfony/options-resolver": "^4.0 || ^5.0",
"symfony/dependency-injection": "^4.0 || ^5.0",
"symfony/http-kernel": "^4.0 || ^5.0",
"symfony/config": "^4.0 || ^5.0",
"symfony/event-dispatcher": "^4.0 || ^5.0",
"symfony/property-access": "^4.0 || ^5.0 || ^6.0",
"symfony/http-foundation": "^4.0 || ^5.0 || ^6.0",
"symfony/options-resolver": "^4.0 || ^5.0 || ^6.0",
"symfony/dependency-injection": "^4.0 || ^5.0 || ^6.0",
"symfony/http-kernel": "^4.0 || ^5.0 || ^6.0",
"symfony/config": "^4.0 || ^5.0 || ^6.0",
"symfony/event-dispatcher": "^4.0 || ^5.0 || ^6.0",
"mattiabasone/phpcollection": "^0.7.0"
},
"require-dev": {
Expand All @@ -21,9 +21,9 @@
"yohang/finite": "^1.2",
"doctrine/orm": "^2.9",
"phpspec/prophecy-phpunit": "^2.0",
"phpstan/phpstan": "^0.12.99",
"phpstan/phpstan-doctrine": "^0.12.44",
"phpstan/phpstan-mockery": "^0.12.14"
"phpstan/phpstan": "^1.0",
"phpstan/phpstan-doctrine": "^1.0",
"phpstan/phpstan-mockery": "^1.0"
},
"autoload": {
"psr-4": {
Expand Down
3 changes: 2 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ parameters:
- '#no value type specified in iterable type#'
- '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition::children\(\)#'
- '#Call to an undefined method Prophecy\\Prophecy#'
- '#Method Cypress\\PatchManager\\OperationMatcher::getUnmatchedOperations\(\) should return PhpCollection\\Sequence but returns PhpCollection\\CollectionInterface#'
- '#Method Cypress\\PatchManager\\OperationMatcher::getUnmatchedOperations\(\) should return PhpCollection\\Sequence but returns PhpCollection\\AbstractSequence#'
- '#Property Cypress\\PatchManager\\Tests\\FakeObjects\\Subject(A|B)::\$a is never read, only written#'
2 changes: 1 addition & 1 deletion tests/PatchManager/Bundle/PatchManagerBundleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class PatchManagerBundleTest extends PatchManagerTestCase
public function testBuild(): void
{
$cb = $this->prophesize(ContainerBuilder::class);
$cb->addCompilerPass(new PatchManagerCompilerPass())->shouldBeCalled();
$cb->addCompilerPass(new PatchManagerCompilerPass())->shouldBeCalled()->willReturn($cb->reveal());
$cb->registerForAutoconfiguration(PatchOperationHandler::class)->shouldBeCalled()->willReturn(new ChildDefinition(''));
$bundle = new PatchManagerBundle();
$bundle->build($cb->reveal());
Expand Down

0 comments on commit 9e46a21

Please sign in to comment.