Skip to content

Commit cecd287

Browse files
authored
[Attributes] Create Attributes (#25)
Co-authored-by: onairmarc <[email protected]>
1 parent 29f023c commit cecd287

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

.git-blame-ignore-revs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ fecc1eb0893900aa5f0e840b8b0c94d2472731c2
1111
c709aedfb70105dd006ffbbbf8f82d9716db9614
1212
c10c3ac2613e54de290a9135afe024036174ef20
1313
aef6f8b59ab2ff054b1a823efe242e0cb0cd1164
14+
d521d82e9b14a5f411f3492529800c6b39f17740

phpunit.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<directory suffix=".php">./src</directory>
1515
</include>
1616
<exclude>
17+
<directory suffix=".php">./src/Attributes</directory>
1718
<directory suffix=".php">./src/ObjectHelpers</directory>
1819
<directory suffix=".php">./src/Exceptions</directory>
1920
</exclude>

src/Attributes/Deprecated.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
3+
namespace EncoreDigitalGroup\StdLib\Attributes;
4+
5+
use Attribute;
6+
7+
#[Attribute(Attribute::TARGET_CLASS)]
8+
class Deprecated {}

src/Attributes/Internal.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
3+
namespace EncoreDigitalGroup\StdLib\Attributes;
4+
5+
use Attribute;
6+
7+
#[Attribute(Attribute::TARGET_CLASS)]
8+
class Internal {}

0 commit comments

Comments
 (0)