Skip to content

Commit

Permalink
54 compat (#171)
Browse files Browse the repository at this point in the history
* Symfony 5.4 compat

* version update

* fix deprec

* fix
  • Loading branch information
sspat authored Apr 11, 2022
1 parent 098025d commit e3448f2
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 16 deletions.
24 changes: 12 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@
"nyholm/psr7": "^1.5",
"phpdocumentor/reflection-docblock": "^5.3",
"sspat/reserved-words": "^3.0",
"symfony/cache": "^5.3",
"symfony/config": "^5.3",
"symfony/console": "^5.3.7",
"symfony/dependency-injection": "^5.3.2",
"symfony/event-dispatcher": "^5.3",
"symfony/http-kernel": "^5.3.12",
"symfony/process": "^5.3.7",
"symfony/cache": "^5.3|^5.4",
"symfony/config": "^5.3|^5.4",
"symfony/console": "^5.3.7|^5.4.7",
"symfony/dependency-injection": "^5.3.2|^5.4.2",
"symfony/event-dispatcher": "^5.3|^5.4",
"symfony/http-kernel": "^5.3.12|^5.4.12",
"symfony/process": "^5.3.7|^5.4.7",
"symfony/psr-http-message-bridge": "^2.1",
"symfony/routing": "^5.3.7",
"symfony/yaml": "^5.3",
"symfony/routing": "^5.3.7|^5.4.7",
"symfony/yaml": "^5.3|^5.4",
"thecodingmachine/safe": "^1.3|^2"
},
"require-dev": {
Expand All @@ -53,9 +53,9 @@
"phpunit/phpunit": "^9.5.13",
"roave/infection-static-analysis-plugin": "^1.16",
"squizlabs/php_codesniffer": "^3.6.1",
"symfony/browser-kit": "^5.3",
"symfony/dom-crawler": "^5.3.7",
"symfony/framework-bundle": "^5.3",
"symfony/browser-kit": "^5.3|^5.4",
"symfony/dom-crawler": "^5.3.7|^5.4.7",
"symfony/framework-bundle": "^5.3|^5.4",
"thecodingmachine/phpstan-safe-rule": "^1.2",
"vimeo/psalm": "^4.20"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ public function generate(GraphDefinition $graphDefinition): GeneratedFileDefinit
->method('getSubscribedServices')
->makePublic()
->makeStatic()
->setReturnType('array')
->setDocComment('/**
* @inheritDoc
*/')
Expand Down
3 changes: 0 additions & 3 deletions src/Interfaces/ResponseDto.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,5 @@
// phpcs:disable PSR2.Methods.MethodDeclaration.Underscore
interface ResponseDto extends Dto
{
/**
* @internal
*/
public static function _getResponseCode(): string;
}
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public function __construct(ContainerInterface $locator)
/**
* @inheritDoc
*/
public static function getSubscribedServices()
public static function getSubscribedServices() : array
{
return array('test' => '?' . ClassName::class);
}
Expand Down

0 comments on commit e3448f2

Please sign in to comment.