mirror of
https://github.com/danog/psalm-plugin-symfony.git
synced 2024-12-04 02:17:50 +01:00
21 lines
482 B
Gherkin
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
|