Skip to content

Commit 7e19ada

Browse files
committed
Move stuff to ock/reflector-aware-attributes.
1 parent 45a17d3 commit 7e19ada

10 files changed

Lines changed: 2 additions & 290 deletions

composer.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
],
1010
"minimum-stability": "dev",
1111
"autoload": {
12-
"files": [
13-
"functions/functions.attributes.php"
14-
],
1512
"psr-4": {
1613
"Ock\\ClassDiscovery\\": "src"
1714
}
@@ -26,6 +23,7 @@
2623
"ock/class-files-iterator": "self.version",
2724
"ock/helpers": "self.version",
2825
"ock/reflection": "self.version",
26+
"ock/reflector-aware-attributes": "self.version",
2927
"ext-json": "*"
3028
},
3129
"require-dev": {

functions/functions.attributes.php

Lines changed: 0 additions & 72 deletions
This file was deleted.

src/Attribute/ReflectorAwareAttributeInterface.php

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/Util/AttributesUtil.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
namespace Ock\ClassDiscovery\Util;
66

7-
use Ock\ClassDiscovery\Attribute\ReflectorAwareAttributeInterface;
87
use Ock\ClassDiscovery\Exception\MalformedDeclarationException;
98
use Ock\Helpers\Util\MessageUtil;
109
use Ock\Reflection\FactoryReflectionInterface;
1110
use Ock\Reflection\NameHavingReflectionInterface;
11+
use Ock\ReflectorAwareAttributes\ReflectorAwareAttributeInterface;
1212

1313
/**
1414
* Helper methods to read attributes from reflectors.

tests/src/Fixtures/Attribute/OtherTestAttribute.php

Lines changed: 0 additions & 14 deletions
This file was deleted.

tests/src/Fixtures/Attribute/ReflectorAwareTestAttribute.php

Lines changed: 0 additions & 19 deletions
This file was deleted.

tests/src/Fixtures/Attribute/TestAttribute.php

Lines changed: 0 additions & 14 deletions
This file was deleted.

tests/src/Fixtures/Attribute/TestAttributeInterface.php

Lines changed: 0 additions & 9 deletions
This file was deleted.

tests/src/Fixtures/TestClassWithAttributes.php

Lines changed: 0 additions & 29 deletions
This file was deleted.

tests/src/Functions/GetAttributesTest.php

Lines changed: 0 additions & 108 deletions
This file was deleted.

0 commit comments

Comments
 (0)