forked from proget-hq/phpstan-phpspec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
extension.neon
38 lines (35 loc) · 1.82 KB
/
extension.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
services:
-
class: Proget\PHPStan\PhpSpec\Reflection\ObjectBehaviorMethodsClassReflectionExtension
tags: [phpstan.broker.methodsClassReflectionExtension]
-
class: Proget\PHPStan\PhpSpec\Reflection\DuringCallMethodsClassReflectionExtension
tags: [phpstan.broker.methodsClassReflectionExtension]
-
class: Proget\PHPStan\PhpSpec\Reflection\DelayedCallMethodsClassReflectionExtension
tags: [phpstan.broker.methodsClassReflectionExtension]
-
class: Proget\PHPStan\PhpSpec\Reflection\SpoofedCollaboratorMethodsClassReflectionExtension
tags: [phpstan.broker.methodsClassReflectionExtension]
-
class: Proget\PHPStan\PhpSpec\Reflection\ObjectBehaviorPropertiesClassReflectionExtension
tags: [phpstan.broker.propertiesClassReflectionExtension]
-
class: Proget\PHPStan\PhpSpec\Reflection\SpoofedCollaboratorPropertiesClassReflectionExtension
tags: [phpstan.broker.propertiesClassReflectionExtension]
-
class: Proget\PHPStan\PhpSpec\Type\ObjectBehaviorDynamicMethodReturnTypeExtension
tags: [phpstan.broker.dynamicMethodReturnTypeExtension]
-
class: Proget\PHPStan\PhpSpec\Type\ObjectBehaviorDynamicStaticMethodReturnTypeExtension
tags: [phpstan.broker.dynamicStaticMethodReturnTypeExtension]
directParser:
class: Proget\PHPStan\PhpSpec\Parser\SpecAwareDirectParser
arguments:
specDir: %currentWorkingDirectory%/%specDir%
autowired: no
parameters:
specDir: 'spec/'
ignoreErrors:
- '#Method Symfony\\Contracts\\EventDispatcher\\EventDispatcherInterface::dispatch\(\) invoked with 2 parameters, 0-1 required.#'
- '#Parameter \#1 \$event of method Symfony\\Contracts\\EventDispatcher\\EventDispatcherInterface::dispatch\(\) expects object, string given.#'