1 | <?php |
||||||
2 | |||||||
3 | /* |
||||||
4 | * This file has been created by developers from BitBag. |
||||||
5 | * Feel free to contact us once you face any issues or want to start |
||||||
6 | * another great project. |
||||||
7 | * You can find more information about us on https://bitbag.shop and write us |
||||||
8 | * an email on [email protected]. |
||||||
9 | */ |
||||||
10 | |||||||
11 | declare(strict_types=1); |
||||||
12 | |||||||
13 | namespace spec\BitBag\SyliusMolliePlugin; |
||||||
14 | |||||||
15 | use BitBag\SyliusMolliePlugin\MollieSubscriptionGatewayFactory; |
||||||
0 ignored issues
–
show
|
|||||||
16 | use Payum\Core\GatewayFactory; |
||||||
17 | use PhpSpec\ObjectBehavior; |
||||||
18 | |||||||
19 | final class MollieSubscriptionGatewayFactorySpec extends ObjectBehavior |
||||||
20 | { |
||||||
21 | function it_is_initializable(): void |
||||||
0 ignored issues
–
show
|
|||||||
22 | { |
||||||
23 | $this->shouldHaveType(MollieSubscriptionGatewayFactory::class); |
||||||
24 | $this->shouldHaveType(GatewayFactory::class); |
||||||
25 | } |
||||||
26 | |||||||
27 | function it_populateConfig_run(): void |
||||||
28 | { |
||||||
29 | $this->createConfig([]); |
||||||
0 ignored issues
–
show
The method
createConfig() does not exist on spec\BitBag\SyliusMollie...ptionGatewayFactorySpec . Since you implemented __call , consider adding a @method annotation.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
![]() |
|||||||
30 | } |
||||||
31 | } |
||||||
32 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths