Skip to content

Commit 0b40958

Browse files
More work on attribute objects for #4502
1 parent b401f65 commit 0b40958

File tree

3 files changed

+44
-0
lines changed

3 files changed

+44
-0
lines changed

.psalm/baseline.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,16 @@
357357
<code>Medium</code>
358358
</UnusedClass>
359359
</file>
360+
<file src="src/Framework/Attributes/PostCondition.php">
361+
<UnusedClass occurrences="1">
362+
<code>PostCondition</code>
363+
</UnusedClass>
364+
</file>
365+
<file src="src/Framework/Attributes/PreCondition.php">
366+
<UnusedClass occurrences="1">
367+
<code>PreCondition</code>
368+
</UnusedClass>
369+
</file>
360370
<file src="src/Framework/Attributes/PreserveGlobalState.php">
361371
<UnusedClass occurrences="1">
362372
<code>PreserveGlobalState</code>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?php declare(strict_types=1);
2+
/*
3+
* This file is part of PHPUnit.
4+
*
5+
* (c) Sebastian Bergmann <[email protected]>
6+
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
9+
*/
10+
namespace PHPUnit\Framework\Attributes;
11+
12+
use Attribute;
13+
14+
#[Attribute(Attribute::TARGET_METHOD)]
15+
final class PostCondition
16+
{
17+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?php declare(strict_types=1);
2+
/*
3+
* This file is part of PHPUnit.
4+
*
5+
* (c) Sebastian Bergmann <[email protected]>
6+
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
9+
*/
10+
namespace PHPUnit\Framework\Attributes;
11+
12+
use Attribute;
13+
14+
#[Attribute(Attribute::TARGET_METHOD)]
15+
final class PreCondition
16+
{
17+
}

0 commit comments

Comments
 (0)