Skip to content

Commit

Permalink
feat: Add @api annotation to interfaces
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mitelg committed Nov 6, 2024
1 parent 270c2ee commit baa72f0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Symfony/ParameterDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

namespace PHPStan\Symfony;

/**
* @api
*/
interface ParameterDefinition
{

Expand Down
3 changes: 3 additions & 0 deletions src/Symfony/ParameterMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
use PhpParser\Node\Expr;
use PHPStan\Analyser\Scope;

/**
* @api
*/
interface ParameterMap
{

Expand Down
3 changes: 3 additions & 0 deletions src/Symfony/ServiceDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

namespace PHPStan\Symfony;

/**
* @api
*/
interface ServiceDefinition
{

Expand Down
3 changes: 3 additions & 0 deletions src/Symfony/ServiceMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
use PhpParser\Node\Expr;
use PHPStan\Analyser\Scope;

/**
* @api
*/
interface ServiceMap
{

Expand Down

0 comments on commit baa72f0

Please sign in to comment.