psalm-plugin-symfony/tests/acceptance/acceptance/AbstractController.feature

21 lines
482 B
Gherkin
Raw Normal View History

@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