-
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qa: introduce psalm stub for
psr/http-message
UriInterface
This also requires `Uri` to be `psalm-immutable`. Signed-off-by: Maximilian Bösing <[email protected]>
- Loading branch information
Showing
4 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ | |
/psalm.xml.dist export-ignore | ||
/renovate.json export-ignore | ||
/test/ export-ignore | ||
/psalm/ export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
declare(strict_types=1); | ||
|
||
namespace Psr\Http\Message; | ||
|
||
/** | ||
* [...] | ||
* Instances of this interface are considered immutable; all methods that | ||
* might change state MUST be implemented such that they retain the internal | ||
* state of the current instance and return an instance that contains the | ||
* changed state. | ||
* [...] | ||
* @psalm-immutable | ||
*/ | ||
interface UriInterface | ||
{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters