44
55namespace Scheb \Tombstone \Tests \Analyzer \Config ;
66
7+ use PHPUnit \Framework \Attributes \Test ;
78use Scheb \Tombstone \Analyzer \Config \Configuration ;
89use Scheb \Tombstone \Tests \TestCase ;
910use Symfony \Component \Config \Definition \Exception \InvalidConfigurationException ;
@@ -64,6 +65,7 @@ private function processConfiguration(array $config): array
6465 /**
6566 * @test
6667 */
68+ #[Test]
6769 public function getConfigTreeBuilder_validFullConfig_returnSameConfig (): void
6870 {
6971 $ config = self ::FULL_CONFIG ;
@@ -76,6 +78,7 @@ public function getConfigTreeBuilder_validFullConfig_returnSameConfig(): void
7678 /**
7779 * @test
7880 */
81+ #[Test]
7982 public function getConfigTreeBuilder_validMinimumConfig_addDefaultValues (): void
8083 {
8184 $ config = self ::MINIMUM_CONFIG ;
@@ -96,6 +99,7 @@ public function getConfigTreeBuilder_validMinimumConfig_addDefaultValues(): void
9699 /**
97100 * @test
98101 */
102+ #[Test]
99103 public function getConfigTreeBuilder_additionalConfigValue_isPassedThrough (): void
100104 {
101105 $ config = self ::FULL_CONFIG ;
@@ -109,6 +113,7 @@ public function getConfigTreeBuilder_additionalConfigValue_isPassedThrough(): vo
109113 /**
110114 * @test
111115 */
116+ #[Test]
112117 public function getConfigTreeBuilder_missingSourceCodeNode_throwsException (): void
113118 {
114119 $ config = self ::FULL_CONFIG ;
@@ -122,6 +127,7 @@ public function getConfigTreeBuilder_missingSourceCodeNode_throwsException(): vo
122127 /**
123128 * @test
124129 */
130+ #[Test]
125131 public function getConfigTreeBuilder_missingRootDirectory_throwsException (): void
126132 {
127133 $ config = self ::FULL_CONFIG ;
@@ -135,6 +141,7 @@ public function getConfigTreeBuilder_missingRootDirectory_throwsException(): voi
135141 /**
136142 * @test
137143 */
144+ #[Test]
138145 public function getConfigTreeBuilder_emptyRootDirectory_throwsException (): void
139146 {
140147 $ config = self ::FULL_CONFIG ;
@@ -148,6 +155,7 @@ public function getConfigTreeBuilder_emptyRootDirectory_throwsException(): void
148155 /**
149156 * @test
150157 */
158+ #[Test]
151159 public function getConfigTreeBuilder_invalidRootDirectory_throwsException (): void
152160 {
153161 $ config = self ::FULL_CONFIG ;
@@ -161,6 +169,7 @@ public function getConfigTreeBuilder_invalidRootDirectory_throwsException(): voi
161169 /**
162170 * @test
163171 */
172+ #[Test]
164173 public function getConfigTreeBuilder_missingLogNode_throwsException (): void
165174 {
166175 $ config = self ::FULL_CONFIG ;
@@ -174,6 +183,7 @@ public function getConfigTreeBuilder_missingLogNode_throwsException(): void
174183 /**
175184 * @test
176185 */
186+ #[Test]
177187 public function getConfigTreeBuilder_emptyLogDirectory_throwsException (): void
178188 {
179189 $ config = self ::FULL_CONFIG ;
@@ -188,6 +198,7 @@ public function getConfigTreeBuilder_emptyLogDirectory_throwsException(): void
188198 /**
189199 * @test
190200 */
201+ #[Test]
191202 public function getConfigTreeBuilder_invalidLogDirectory_throwsException (): void
192203 {
193204 $ config = self ::FULL_CONFIG ;
@@ -202,6 +213,7 @@ public function getConfigTreeBuilder_invalidLogDirectory_throwsException(): void
202213 /**
203214 * @test
204215 */
216+ #[Test]
205217 public function getConfigTreeBuilder_missingCustomLogProviderClass_throwsException (): void
206218 {
207219 $ config = self ::FULL_CONFIG ;
@@ -216,6 +228,7 @@ public function getConfigTreeBuilder_missingCustomLogProviderClass_throwsExcepti
216228 /**
217229 * @test
218230 */
231+ #[Test]
219232 public function getConfigTreeBuilder_customLogProviderInvalidFile_throwsException (): void
220233 {
221234 $ config = self ::FULL_CONFIG ;
@@ -230,6 +243,7 @@ public function getConfigTreeBuilder_customLogProviderInvalidFile_throwsExceptio
230243 /**
231244 * @test
232245 */
246+ #[Test]
233247 public function getConfigTreeBuilder_invalidHtmlReportDirectory_throwsException (): void
234248 {
235249 $ config = self ::FULL_CONFIG ;
@@ -243,6 +257,7 @@ public function getConfigTreeBuilder_invalidHtmlReportDirectory_throwsException(
243257 /**
244258 * @test
245259 */
260+ #[Test]
246261 public function getConfigTreeBuilder_invalidPhpReportFile_throwsException (): void
247262 {
248263 $ config = self ::FULL_CONFIG ;
0 commit comments