55namespace Adlacruzes \Exceptions \Tests ;
66
77use Adlacruzes \Exceptions \BaseException ;
8- use Exception ;
98use PHPUnit \Framework \TestCase ;
109
1110class BaseExceptionTest extends TestCase
1211{
1312 /**
14- * @throws Exception
13+ * @throws \ Exception
1514 */
1615 public function testEmptyMessage (): void
1716 {
@@ -21,7 +20,7 @@ public function testEmptyMessage(): void
2120 }
2221
2322 /**
24- * @throws Exception
23+ * @throws \ Exception
2524 */
2625 public function testEmptyMessageWithConsecutiveCapitalLetters (): void
2726 {
@@ -31,7 +30,7 @@ public function testEmptyMessageWithConsecutiveCapitalLetters(): void
3130 }
3231
3332 /**
34- * @throws Exception
33+ * @throws \ Exception
3534 */
3635 public function testEmptyMessageWithValue (): void
3736 {
@@ -41,7 +40,7 @@ public function testEmptyMessageWithValue(): void
4140 }
4241
4342 /**
44- * @throws Exception
43+ * @throws \ Exception
4544 */
4645 public function testMessageWithEmptyString (): void
4746 {
@@ -60,7 +59,7 @@ public function testMessageWithEmptyString(): void
6059 }
6160
6261 /**
63- * @throws Exception
62+ * @throws \ Exception
6463 */
6564 public function testMessageWithZeroAsString (): void
6665 {
@@ -79,7 +78,7 @@ public function testMessageWithZeroAsString(): void
7978 }
8079
8180 /**
82- * @throws Exception
81+ * @throws \ Exception
8382 */
8483 public function testMessageWithNegativeNumberAsString (): void
8584 {
@@ -98,7 +97,7 @@ public function testMessageWithNegativeNumberAsString(): void
9897 }
9998
10099 /**
101- * @throws Exception
100+ * @throws \ Exception
102101 */
103102 public function testMessageWithMultiByteString (): void
104103 {
@@ -116,7 +115,7 @@ public function testMessageWithMultiByteString(): void
116115 }
117116
118117 /**
119- * @throws Exception
118+ * @throws \ Exception
120119 */
121120 public function testMessageWithMultiBytesString (): void
122121 {
@@ -134,7 +133,7 @@ public function testMessageWithMultiBytesString(): void
134133 }
135134
136135 /**
137- * @throws Exception
136+ * @throws \ Exception
138137 */
139138 public function testMessageByDefault (): void
140139 {
@@ -151,7 +150,7 @@ public function testMessageByDefault(): void
151150 }
152151
153152 /**
154- * @throws Exception
153+ * @throws \ Exception
155154 */
156155 public function testMessageByDefaultWithValue (): void
157156 {
@@ -168,7 +167,7 @@ public function testMessageByDefaultWithValue(): void
168167 }
169168
170169 /**
171- * @throws Exception
170+ * @throws \ Exception
172171 */
173172 public function testMessageByDefaultWithFinalDotAndValue (): void
174173 {
@@ -185,7 +184,7 @@ public function testMessageByDefaultWithFinalDotAndValue(): void
185184 }
186185
187186 /**
188- * @throws Exception
187+ * @throws \ Exception
189188 */
190189 public function testMessageByDefaultWithFinalColonAndValue (): void
191190 {
0 commit comments