diff --git a/tests/DictionaryFileTest.php b/tests/DictionaryFileTest.php index cff5850..0159a5a 100644 --- a/tests/DictionaryFileTest.php +++ b/tests/DictionaryFileTest.php @@ -41,6 +41,7 @@ public function testInvalidFile(): void * @return void * @throws ExpectationFailedException * @throws InvalidArgumentException + * @throws \Exception */ public function testGetRandomWord(): void { diff --git a/tests/ManageRandomItemsTraitTest.php b/tests/ManageRandomItemsTraitTest.php index 6c827c0..9ac56c6 100644 --- a/tests/ManageRandomItemsTraitTest.php +++ b/tests/ManageRandomItemsTraitTest.php @@ -17,6 +17,7 @@ class ManageRandomItemsTraitTest extends TestCase * @return void * @throws ExpectationFailedException * @throws InvalidArgumentException + * @throws \Exception */ public function testHas(): void { @@ -30,6 +31,7 @@ public function testHas(): void * @return void * @throws ExpectationFailedException * @throws InvalidArgumentException + * @throws \Exception */ public function testReset(): void { @@ -45,6 +47,7 @@ public function testReset(): void * @throws ExpectationFailedException * @throws InvalidArgumentException * @throws Exception + * @throws \Exception */ public function testRemove(): void { diff --git a/tests/RandomCharacterTest.php b/tests/RandomCharacterTest.php index 83224ad..6b7fd49 100644 --- a/tests/RandomCharacterTest.php +++ b/tests/RandomCharacterTest.php @@ -2,6 +2,7 @@ namespace Tests\GregorJ\CorrectHorse; +use Exception; use GregorJ\CorrectHorse\Generators\RandomCharacter; use PHPUnit\Framework\TestCase; @@ -60,6 +61,7 @@ public function testEmptyString(): void /** * @return void + * @throws Exception */ public function testGenerate(): void { @@ -73,6 +75,7 @@ public function testGenerate(): void /** * @return void + * @throws Exception */ public function testGenerateFromSingleCharacter(): void { diff --git a/tests/RandomNumbersTest.php b/tests/RandomNumbersTest.php index 055dfdb..d6d74bd 100644 --- a/tests/RandomNumbersTest.php +++ b/tests/RandomNumbersTest.php @@ -31,6 +31,7 @@ public function testInheritance(): void * @throws Exception * @throws ExpectationFailedException * @throws InvalidArgumentException + * @throws \Exception */ public function testSetMinAndMax(): void { @@ -49,6 +50,7 @@ public function testSetMinAndMax(): void * @throws Exception * @throws ExpectationFailedException * @throws InvalidArgumentException + * @throws \Exception */ public function testSetFlippedMinAndMax(): void { @@ -67,6 +69,7 @@ public function testSetFlippedMinAndMax(): void * @throws Exception * @throws ExpectationFailedException * @throws InvalidArgumentException + * @throws \Exception */ public function testSetMinSameAsMax(): void { @@ -85,6 +88,7 @@ public function testSetMinSameAsMax(): void * @throws Exception * @throws ExpectationFailedException * @throws InvalidArgumentException + * @throws \Exception */ public function testSetMinBelowZero(): void { @@ -103,6 +107,7 @@ public function testSetMinBelowZero(): void * @throws Exception * @throws ExpectationFailedException * @throws InvalidArgumentException + * @throws \Exception */ public function testReachingMax(): void { diff --git a/tests/RandomWordsTest.php b/tests/RandomWordsTest.php index 62c19ae..bcc5a0d 100644 --- a/tests/RandomWordsTest.php +++ b/tests/RandomWordsTest.php @@ -21,6 +21,7 @@ class RandomWordsTest extends TestCase * @throws ExpectationFailedException * @throws InvalidArgumentException * @throws RuntimeException + * @throws \Exception */ public function testEmptyWords(): void { @@ -37,6 +38,7 @@ public function testEmptyWords(): void * @throws ExpectationFailedException * @throws InvalidArgumentException * @throws RuntimeException + * @throws \Exception */ public function testReset(): void { @@ -64,6 +66,7 @@ public function testReset(): void * @throws ExpectationFailedException * @throws InvalidArgumentException * @throws RuntimeException + * @throws \Exception */ public function testRemoveLowerCase(): void { @@ -91,6 +94,7 @@ public function testRemoveLowerCase(): void * @throws ExpectationFailedException * @throws InvalidArgumentException * @throws RuntimeException + * @throws \Exception */ public function testRemoveUpperCase(): void { @@ -118,6 +122,7 @@ public function testRemoveUpperCase(): void * @throws ExpectationFailedException * @throws InvalidArgumentException * @throws RuntimeException + * @throws \Exception */ public function testRemove(): void { @@ -155,6 +160,7 @@ public function testRemove(): void * @throws ExpectationFailedException * @throws InvalidArgumentException * @throws RuntimeException + * @throws \Exception */ public function testGetWithoutLowerCase(): void { @@ -183,6 +189,7 @@ public function testGetWithoutLowerCase(): void * @throws ExpectationFailedException * @throws InvalidArgumentException * @throws RuntimeException + * @throws \Exception */ public function testGetWithoutUpperCase(): void { @@ -211,6 +218,7 @@ public function testGetWithoutUpperCase(): void * @throws ExpectationFailedException * @throws InvalidArgumentException * @throws RuntimeException + * @throws \Exception */ public function testAdd(): void {