diff --git a/src/StaticUtil/AbstractStaticUtil.php b/src/StaticUtil/AbstractStaticUtil.php index 7323d2b5..72639ee9 100644 --- a/src/StaticUtil/AbstractStaticUtil.php +++ b/src/StaticUtil/AbstractStaticUtil.php @@ -4,6 +4,7 @@ /** * @internal + * @codeCoverageIgnore */ abstract class AbstractStaticUtil { diff --git a/src/StaticUtil/SUtil.php b/src/StaticUtil/SUtils.php similarity index 98% rename from src/StaticUtil/SUtil.php rename to src/StaticUtil/SUtils.php index f045102e..762d9426 100644 --- a/src/StaticUtil/SUtil.php +++ b/src/StaticUtil/SUtils.php @@ -2,7 +2,7 @@ namespace HeimrichHannot\UtilsBundle\StaticUtil; -class SUtil +class SUtils { protected static array $instances = []; diff --git a/tests/StaticUtil/SUtilsTest.php b/tests/StaticUtil/SUtilsTest.php new file mode 100644 index 00000000..7edea4db --- /dev/null +++ b/tests/StaticUtil/SUtilsTest.php @@ -0,0 +1,17 @@ +assertInstanceOf(StaticArrayUtil::class, SUtils::array()); + $this->assertInstanceOf(StaticClassUtil::class, SUtils::class()); + } +} \ No newline at end of file