Skip to content

Commit

Permalink
Fix coverage annotation and fix phpstan strictness
Browse files Browse the repository at this point in the history
  • Loading branch information
PrinsFrank committed Jul 14, 2022
1 parent 24ffd52 commit 248431f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
1 change: 0 additions & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
failOnIncomplete="true"
failOnRisky="true"
failOnSkipped="true"
beStrictAboutCoversAnnotation="true"
beStrictAboutOutputDuringTests="true"
beStrictAboutChangesToGlobalState="true"
beStrictAboutResourceUsageDuringSmallTests="true"
Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/Country/ISO3166_1_Alpha_3Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use TypeError;

/**
* @coversDefaultClass \PrinsFrank\Standards\Currency\ISO4217_Alpha_3
* @coversDefaultClass \PrinsFrank\Standards\Country\ISO3166_1_Alpha_3
*/
class ISO3166_1_Alpha_3Test extends TestCase
{
Expand Down Expand Up @@ -45,7 +45,7 @@ public function testAllCasesCanBeConvertedToISO3166Numeric(): void
}

/**
* @covers ::toISO3166_1_Name
* @covers ::toISO3166_Name
*/
public function testAllCasesCanBeConvertedToISO3166Name(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Country/ISO3166_1_NumericTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function testAllCasesCanBeConvertedToISO3166Alpha3(): void
}

/**
* @covers ::toISO3166_1_Name
* @covers ::toISO3166_Name
*/
public function testAllCasesCanBeConvertedToISO3166Name(): void
{
Expand Down
4 changes: 1 addition & 3 deletions tests/Unit/Currency/ISO4217_NameTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@
namespace PrinsFrank\Standards\Tests\Unit\Currency;

use PHPUnit\Framework\TestCase;
use PrinsFrank\Standards\Currency\ISO4217_Alpha_3;
use PrinsFrank\Standards\Currency\ISO4217_Name;
use PrinsFrank\Standards\Currency\ISO4217_Numeric;
use TypeError;

/**
* @coversDefaultClass \PrinsFrank\Standards\Currency\ISO4217_Alpha_3
* @coversDefaultClass \PrinsFrank\Standards\Currency\ISO4217_Name
*/
class ISO4217_NameTest extends TestCase
{
Expand Down

0 comments on commit 248431f

Please sign in to comment.