From 286337e57a7fd2e7cb196976d6cecf1b7d7c585b Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Tue, 26 Mar 2019 12:02:38 +0100 Subject: [PATCH] add level phpspec40 --- config/level/phpspec/phpspec40.yaml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 config/level/phpspec/phpspec40.yaml diff --git a/config/level/phpspec/phpspec40.yaml b/config/level/phpspec/phpspec40.yaml new file mode 100644 index 00000000000..e290896b743 --- /dev/null +++ b/config/level/phpspec/phpspec40.yaml @@ -0,0 +1,5 @@ +# @see http://www.phpspec.net/en/stable/manual/upgrading-to-phpspec-4.html +services: + Rector\Rector\ClassMethod\AddReturnTypeDeclarationRector: + PhpSpec\ObjectBehavior: + getMatchers: 'array'