Skip to content

Commit c7b7e7f

Browse files
mitelgondrejmirtes
authored andcommitted
feat: Add @api annotation to interfaces
The following interfaces are now part of the public API and can be safely relied on. - \PHPStan\Symfony\ParameterDefinition - \PHPStan\Symfony\ParameterMap - \PHPStan\Symfony\ServiceDefinition - \PHPStan\Symfony\ServiceMap
1 parent 270c2ee commit c7b7e7f

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

src/Symfony/ParameterDefinition.php

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
namespace PHPStan\Symfony;
44

5+
/**
6+
* @api
7+
*/
58
interface ParameterDefinition
69
{
710

src/Symfony/ParameterMap.php

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
use PhpParser\Node\Expr;
66
use PHPStan\Analyser\Scope;
77

8+
/**
9+
* @api
10+
*/
811
interface ParameterMap
912
{
1013

src/Symfony/ServiceDefinition.php

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
namespace PHPStan\Symfony;
44

5+
/**
6+
* @api
7+
*/
58
interface ServiceDefinition
69
{
710

src/Symfony/ServiceMap.php

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
use PhpParser\Node\Expr;
66
use PHPStan\Analyser\Scope;
77

8+
/**
9+
* @api
10+
*/
811
interface ServiceMap
912
{
1013

0 commit comments

Comments
 (0)