psalm-plugin-symfony/tests/acceptance/acceptance/AbstractController.feature
2021-04-12 10:28:24 +03:00

21 lines
482 B
Gherkin

@symfony-4 @symfony-5
Feature: AbstractController
Background:
Given I have Symfony plugin enabled
Scenario: PropertyNotSetInConstructor error about $container is not raised
Given I have the following code
"""
<?php
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
class MyController extends AbstractController
{
public function __construct() {}
}
"""
When I run Psalm
Then I see no errors