Skip to content

Commit

Permalink
Fix: Imports
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Jul 27, 2023
1 parent 623f60f commit 792be26
Show file tree
Hide file tree
Showing 14 changed files with 70 additions and 70 deletions.
8 changes: 4 additions & 4 deletions test/Unit/Method/Rfc/Rfc2068Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@

namespace Ergebnis\Http\Test\Unit\Method\Rfc;

use Ergebnis\Http\Method\Rfc\Rfc2068;
use Ergebnis\Http\Method\Rfc;
use PHPUnit\Framework;

#[Framework\Attributes\CoversClass(Rfc2068::class)]
#[Framework\Attributes\CoversClass(Rfc\Rfc2068::class)]
final class Rfc2068Test extends Framework\TestCase
{
public function testConstants(): void
{
self::assertSame(Rfc2068::LINK, 'LINK');
self::assertSame(Rfc2068::UNLINK, 'UNLINK');
self::assertSame(Rfc\Rfc2068::LINK, 'LINK');
self::assertSame(Rfc\Rfc2068::UNLINK, 'UNLINK');
}
}
26 changes: 13 additions & 13 deletions test/Unit/Method/Rfc/Rfc3253Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,24 @@

namespace Ergebnis\Http\Test\Unit\Method\Rfc;

use Ergebnis\Http\Method\Rfc\Rfc3253;
use Ergebnis\Http\Method\Rfc;
use PHPUnit\Framework;

#[Framework\Attributes\CoversClass(Rfc3253::class)]
#[Framework\Attributes\CoversClass(Rfc\Rfc3253::class)]
final class Rfc3253Test extends Framework\TestCase
{
public function testConstants(): void
{
self::assertSame(Rfc3253::BASELINE_CONTROL, 'BASELINE_CONTROL');
self::assertSame(Rfc3253::CHECKIN, 'CHECKIN');
self::assertSame(Rfc3253::CHECKOUT, 'CHECKOUT');
self::assertSame(Rfc3253::LABEL, 'LABEL');
self::assertSame(Rfc3253::MERGE, 'MERGE');
self::assertSame(Rfc3253::MKACTIVITY, 'MKACTIVITY');
self::assertSame(Rfc3253::MKWORKSPACE, 'MKWORKSPACE');
self::assertSame(Rfc3253::REPORT, 'REPORT');
self::assertSame(Rfc3253::UNCHECKOUT, 'UNCHECKOUT');
self::assertSame(Rfc3253::UPDATE, 'UPDATE');
self::assertSame(Rfc3253::VERSION_CONTROL, 'VERSION-CONTROL');
self::assertSame(Rfc\Rfc3253::BASELINE_CONTROL, 'BASELINE_CONTROL');
self::assertSame(Rfc\Rfc3253::CHECKIN, 'CHECKIN');
self::assertSame(Rfc\Rfc3253::CHECKOUT, 'CHECKOUT');
self::assertSame(Rfc\Rfc3253::LABEL, 'LABEL');
self::assertSame(Rfc\Rfc3253::MERGE, 'MERGE');
self::assertSame(Rfc\Rfc3253::MKACTIVITY, 'MKACTIVITY');
self::assertSame(Rfc\Rfc3253::MKWORKSPACE, 'MKWORKSPACE');
self::assertSame(Rfc\Rfc3253::REPORT, 'REPORT');
self::assertSame(Rfc\Rfc3253::UNCHECKOUT, 'UNCHECKOUT');
self::assertSame(Rfc\Rfc3253::UPDATE, 'UPDATE');
self::assertSame(Rfc\Rfc3253::VERSION_CONTROL, 'VERSION-CONTROL');
}
}
6 changes: 3 additions & 3 deletions test/Unit/Method/Rfc/Rfc3648Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@

namespace Ergebnis\Http\Test\Unit\Method\Rfc;

use Ergebnis\Http\Method\Rfc\Rfc3648;
use Ergebnis\Http\Method\Rfc;
use PHPUnit\Framework;

#[Framework\Attributes\CoversClass(Rfc3648::class)]
#[Framework\Attributes\CoversClass(Rfc\Rfc3648::class)]
final class Rfc3648Test extends Framework\TestCase
{
public function testConstants(): void
{
self::assertSame('ORDERPATCH', Rfc3648::ORDERPATCH);
self::assertSame('ORDERPATCH', Rfc\Rfc3648::ORDERPATCH);
}
}
6 changes: 3 additions & 3 deletions test/Unit/Method/Rfc/Rfc3744Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@

namespace Ergebnis\Http\Test\Unit\Method\Rfc;

use Ergebnis\Http\Method\Rfc\Rfc3744;
use Ergebnis\Http\Method\Rfc;
use PHPUnit\Framework;

#[Framework\Attributes\CoversClass(Rfc3744::class)]
#[Framework\Attributes\CoversClass(Rfc\Rfc3744::class)]
final class Rfc3744Test extends Framework\TestCase
{
public function testConstants(): void
{
self::assertSame('ACL', Rfc3744::ACL);
self::assertSame('ACL', Rfc\Rfc3744::ACL);
}
}
8 changes: 4 additions & 4 deletions test/Unit/Method/Rfc/Rfc4437Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@

namespace Ergebnis\Http\Test\Unit\Method\Rfc;

use Ergebnis\Http\Method\Rfc\Rfc4437;
use Ergebnis\Http\Method\Rfc;
use PHPUnit\Framework;

#[Framework\Attributes\CoversClass(Rfc4437::class)]
#[Framework\Attributes\CoversClass(Rfc\Rfc4437::class)]
final class Rfc4437Test extends Framework\TestCase
{
public function testConstants(): void
{
self::assertSame('MKREDIRECTREF', Rfc4437::MKREDIRECTREF);
self::assertSame('UPDATEREDIRECTREF', Rfc4437::UPDATEREDIRECTREF);
self::assertSame('MKREDIRECTREF', Rfc\Rfc4437::MKREDIRECTREF);
self::assertSame('UPDATEREDIRECTREF', Rfc\Rfc4437::UPDATEREDIRECTREF);
}
}
6 changes: 3 additions & 3 deletions test/Unit/Method/Rfc/Rfc4791Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@

namespace Ergebnis\Http\Test\Unit\Method\Rfc;

use Ergebnis\Http\Method\Rfc\Rfc4791;
use Ergebnis\Http\Method\Rfc;
use PHPUnit\Framework;

#[Framework\Attributes\CoversClass(Rfc4791::class)]
#[Framework\Attributes\CoversClass(Rfc\Rfc4791::class)]
final class Rfc4791Test extends Framework\TestCase
{
public function testConstants(): void
{
self::assertSame('MKCALENDAR', Rfc4791::MKCALENDAR);
self::assertSame('MKCALENDAR', Rfc\Rfc4791::MKCALENDAR);
}
}
18 changes: 9 additions & 9 deletions test/Unit/Method/Rfc/Rfc4918Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@

namespace Ergebnis\Http\Test\Unit\Method\Rfc;

use Ergebnis\Http\Method\Rfc\Rfc4918;
use Ergebnis\Http\Method\Rfc;
use PHPUnit\Framework;

#[Framework\Attributes\CoversClass(Rfc4918::class)]
#[Framework\Attributes\CoversClass(Rfc\Rfc4918::class)]
final class Rfc4918Test extends Framework\TestCase
{
public function testConstants(): void
{
self::assertSame('COPY', Rfc4918::COPY);
self::assertSame('LOCK', Rfc4918::LOCK);
self::assertSame('MKCOL', Rfc4918::MKCOL);
self::assertSame('MOVE', Rfc4918::MOVE);
self::assertSame('PROPFIND', Rfc4918::PROPFIND);
self::assertSame('PROPPATCH', Rfc4918::PROPPATCH);
self::assertSame('UNLOCK', Rfc4918::UNLOCK);
self::assertSame('COPY', Rfc\Rfc4918::COPY);
self::assertSame('LOCK', Rfc\Rfc4918::LOCK);
self::assertSame('MKCOL', Rfc\Rfc4918::MKCOL);
self::assertSame('MOVE', Rfc\Rfc4918::MOVE);
self::assertSame('PROPFIND', Rfc\Rfc4918::PROPFIND);
self::assertSame('PROPPATCH', Rfc\Rfc4918::PROPPATCH);
self::assertSame('UNLOCK', Rfc\Rfc4918::UNLOCK);
}
}
6 changes: 3 additions & 3 deletions test/Unit/Method/Rfc/Rfc5323Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@

namespace Ergebnis\Http\Test\Unit\Method\Rfc;

use Ergebnis\Http\Method\Rfc\Rfc5323;
use Ergebnis\Http\Method\Rfc;
use PHPUnit\Framework;

#[Framework\Attributes\CoversClass(Rfc5323::class)]
#[Framework\Attributes\CoversClass(Rfc\Rfc5323::class)]
final class Rfc5323Test extends Framework\TestCase
{
public function testConstants(): void
{
self::assertSame('SEARCH', Rfc5323::SEARCH);
self::assertSame('SEARCH', Rfc\Rfc5323::SEARCH);
}
}
6 changes: 3 additions & 3 deletions test/Unit/Method/Rfc/Rfc5789Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@

namespace Ergebnis\Http\Test\Unit\Method\Rfc;

use Ergebnis\Http\Method\Rfc\Rfc5789;
use Ergebnis\Http\Method\Rfc;
use PHPUnit\Framework;

#[Framework\Attributes\CoversClass(Rfc5789::class)]
#[Framework\Attributes\CoversClass(Rfc\Rfc5789::class)]
final class Rfc5789Test extends Framework\TestCase
{
public function testConstants(): void
{
self::assertSame('PATCH', Rfc5789::PATCH);
self::assertSame('PATCH', Rfc\Rfc5789::PATCH);
}
}
10 changes: 5 additions & 5 deletions test/Unit/Method/Rfc/Rfc5842Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@

namespace Ergebnis\Http\Test\Unit\Method\Rfc;

use Ergebnis\Http\Method\Rfc\Rfc5842;
use Ergebnis\Http\Method\Rfc;
use PHPUnit\Framework;

#[Framework\Attributes\CoversClass(Rfc5842::class)]
#[Framework\Attributes\CoversClass(Rfc\Rfc5842::class)]
final class Rfc5842Test extends Framework\TestCase
{
public function testConstants(): void
{
self::assertSame('BIND', Rfc5842::BIND);
self::assertSame('REBIND', Rfc5842::REBIND);
self::assertSame('UNBIND', Rfc5842::UNBIND);
self::assertSame('BIND', Rfc\Rfc5842::BIND);
self::assertSame('REBIND', Rfc\Rfc5842::REBIND);
self::assertSame('UNBIND', Rfc\Rfc5842::UNBIND);
}
}
20 changes: 10 additions & 10 deletions test/Unit/Method/Rfc/Rfc7231Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@

namespace Ergebnis\Http\Test\Unit\Method\Rfc;

use Ergebnis\Http\Method\Rfc\Rfc7231;
use Ergebnis\Http\Method\Rfc;
use PHPUnit\Framework;

#[Framework\Attributes\CoversClass(Rfc7231::class)]
#[Framework\Attributes\CoversClass(Rfc\Rfc7231::class)]
final class Rfc7231Test extends Framework\TestCase
{
public function testConstants(): void
{
self::assertSame('CONNECT', Rfc7231::CONNECT);
self::assertSame('DELETE', Rfc7231::DELETE);
self::assertSame('GET', Rfc7231::GET);
self::assertSame('HEAD', Rfc7231::HEAD);
self::assertSame('OPTIONS', Rfc7231::OPTIONS);
self::assertSame('POST', Rfc7231::POST);
self::assertSame('PUT', Rfc7231::PUT);
self::assertSame('TRACE', Rfc7231::TRACE);
self::assertSame('CONNECT', Rfc\Rfc7231::CONNECT);
self::assertSame('DELETE', Rfc\Rfc7231::DELETE);
self::assertSame('GET', Rfc\Rfc7231::GET);
self::assertSame('HEAD', Rfc\Rfc7231::HEAD);
self::assertSame('OPTIONS', Rfc\Rfc7231::OPTIONS);
self::assertSame('POST', Rfc\Rfc7231::POST);
self::assertSame('PUT', Rfc\Rfc7231::PUT);
self::assertSame('TRACE', Rfc\Rfc7231::TRACE);
}
}
6 changes: 3 additions & 3 deletions test/Unit/Method/Rfc/Rfc7540Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@

namespace Ergebnis\Http\Test\Unit\Method\Rfc;

use Ergebnis\Http\Method\Rfc\Rfc7540;
use Ergebnis\Http\Method\Rfc;
use PHPUnit\Framework;

#[Framework\Attributes\CoversClass(Rfc7540::class)]
#[Framework\Attributes\CoversClass(Rfc\Rfc7540::class)]
final class Rfc7540Test extends Framework\TestCase
{
public function testConstants(): void
{
self::assertSame('PRI', Rfc7540::PRI);
self::assertSame('PRI', Rfc\Rfc7540::PRI);
}
}
6 changes: 3 additions & 3 deletions test/Unit/Method/Vendor/SquidCacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@

namespace Ergebnis\Http\Test\Unit\Method\Vendor;

use Ergebnis\Http\Method\Vendor\SquidCache;
use Ergebnis\Http\Method\Vendor;
use PHPUnit\Framework;

#[Framework\Attributes\CoversClass(SquidCache::class)]
#[Framework\Attributes\CoversClass(Vendor\SquidCache::class)]
final class SquidCacheTest extends Framework\TestCase
{
public function testConstants(): void
{
self::assertSame('PURGE', SquidCache::PURGE);
self::assertSame('PURGE', Vendor\SquidCache::PURGE);
}
}
8 changes: 4 additions & 4 deletions test/Unit/Method/Vendor/VarnishCacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@

namespace Ergebnis\Http\Test\Unit\Method\Vendor;

use Ergebnis\Http\Method\Vendor\VarnishCache;
use Ergebnis\Http\Method\Vendor;
use PHPUnit\Framework;

#[Framework\Attributes\CoversClass(VarnishCache::class)]
#[Framework\Attributes\CoversClass(Vendor\VarnishCache::class)]
final class VarnishCacheTest extends Framework\TestCase
{
public function testConstants(): void
{
self::assertSame('BAN', VarnishCache::BAN);
self::assertSame('PURGE', VarnishCache::PURGE);
self::assertSame('BAN', Vendor\VarnishCache::BAN);
self::assertSame('PURGE', Vendor\VarnishCache::PURGE);
}
}

0 comments on commit 792be26

Please sign in to comment.