Rename namespace to Tezmanian and prepare for Packagist
PHP Composer / build (push) Successful in 31s
PHP Composer / build (push) Successful in 31s
- Namespace Tez\Utils -> Tezmanian\Utils, package tez/* -> tezmanian/* - Add keywords, homepage, authors and support metadata - Drop VCS repositories (resolved via Packagist) - Remove stale composer.lock, set license holder
This commit is contained in:
+3
-3
@@ -2,10 +2,10 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tez\Utils\Tests\Fn;
|
||||
namespace Tezmanian\Utils\Tests\Fn;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Tez\Utils\Fn\Once;
|
||||
use Tezmanian\Utils\Fn\Once;
|
||||
|
||||
final class OnceTest extends TestCase
|
||||
{
|
||||
@@ -45,7 +45,7 @@ final class OnceTest extends TestCase
|
||||
$once = Once::wrap(fn(): string => 'hello');
|
||||
|
||||
self::assertSame('hello', $once());
|
||||
self::assertSame('hello', $once());
|
||||
self::assertSame('hello', $once()); // @phpstan-ignore staticMethod.alreadyNarrowedType
|
||||
}
|
||||
|
||||
public function testNullReturnIsCachedCorrectly(): void
|
||||
|
||||
Reference in New Issue
Block a user