From 2f2bdd3241886a03707c2624d5ac3993115c45e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Mon, 9 Dec 2019 17:55:59 +0100 Subject: [PATCH] Fix: Rename namespace after move to @ergebnis --- .php_cs | 4 +- CHANGELOG.md | 85 +++++++++++++++----- README.md | 18 ++--- composer.json | 15 ++-- composer.lock | 3 +- src/Method.php | 4 +- src/Method/Rfc/Rfc2068.php | 4 +- src/Method/Rfc/Rfc3253.php | 4 +- src/Method/Rfc/Rfc3648.php | 4 +- src/Method/Rfc/Rfc3744.php | 4 +- src/Method/Rfc/Rfc4437.php | 4 +- src/Method/Rfc/Rfc4791.php | 4 +- src/Method/Rfc/Rfc4918.php | 4 +- src/Method/Rfc/Rfc5323.php | 4 +- src/Method/Rfc/Rfc5789.php | 4 +- src/Method/Rfc/Rfc5842.php | 4 +- src/Method/Rfc/Rfc7231.php | 4 +- src/Method/Rfc/Rfc7540.php | 4 +- src/Method/Rfc/Status/Experimental.php | 4 +- src/Method/Rfc/Status/ProposedStandard.php | 4 +- src/Method/Vendor/SquidCache.php | 4 +- src/Method/Vendor/VarnishCache.php | 4 +- src/Method/WebDav.php | 4 +- test/Unit/Method/Rfc/Rfc2068Test.php | 8 +- test/Unit/Method/Rfc/Rfc3253Test.php | 8 +- test/Unit/Method/Rfc/Rfc3648Test.php | 8 +- test/Unit/Method/Rfc/Rfc3744Test.php | 8 +- test/Unit/Method/Rfc/Rfc4437Test.php | 8 +- test/Unit/Method/Rfc/Rfc4791Test.php | 8 +- test/Unit/Method/Rfc/Rfc4918Test.php | 8 +- test/Unit/Method/Rfc/Rfc5323Test.php | 8 +- test/Unit/Method/Rfc/Rfc5789Test.php | 8 +- test/Unit/Method/Rfc/Rfc5842Test.php | 8 +- test/Unit/Method/Rfc/Rfc7231Test.php | 8 +- test/Unit/Method/Rfc/Rfc7540Test.php | 8 +- test/Unit/Method/Vendor/SquidCacheTest.php | 8 +- test/Unit/Method/Vendor/VarnishCacheTest.php | 8 +- test/Unit/Method/WebDavTest.php | 10 +-- test/Unit/MethodTest.php | 8 +- 39 files changed, 187 insertions(+), 140 deletions(-) diff --git a/.php_cs b/.php_cs index a68d8d11..ffacf49c 100644 --- a/.php_cs +++ b/.php_cs @@ -8,7 +8,7 @@ declare(strict_types=1); * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ use Ergebnis\PhpCsFixer\Config; @@ -19,7 +19,7 @@ Copyright (c) 2019 Andreas Möller For the full copyright and license information, please view the LICENSE file that was distributed with this source code. -@see https://github.com/localheinz/http-method +@see https://github.com/ergebnis/http-method EOF; $config = Config\Factory::fromRuleSet(new Config\RuleSet\Php71($header)); diff --git a/CHANGELOG.md b/CHANGELOG.md index 808ea0ab..b736ea98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,46 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## Unreleased -For a full diff see [`1.0.0...master`][1.0.0...master]. +For a full diff see [`2.0.0...master`][2.0.0...master]. + +### [`2.0.0`][2.0.0] + +For a full diff see [`1.0.0...2.0.0`][1.0.0...2.0.0]. + +### Changed + +* Renamed vendor namespace `Localheinz` to `Ergebnis` after move to [@ergebnis] ([#70]), by [@localheinz] + + Run + + ``` + $ composer remove localheinz/http-method + ``` + + and + + + ``` + $ composer require ergebnis/http-method + ``` + + to update. + + Run + + ``` + $ find . -type f -exec sed -i '.bak' 's/Localheinz\\Http/Ergebnis\\Http/g' {} \; + ``` + + to replace occurrences of `Localheinz\Http` with `Ergebnis\Http`. + + Run + + ``` + $ find -type f -name '*.bak' -delete + ``` + + to delete backup files created in the previous step. ### [`1.0.0`][1.0.0] @@ -30,25 +69,29 @@ For a full diff see [`848192d...1.0.0`][848192d...1.0.0]. * Added interface for Varnish cache request methods ([#19]), by [@localheinz] * Added interface for aggregating HTTP methods related to WebDAV ([#22]), by [@localheinz] -[1.0.0]: https://github.com/localheinz/http-method/releases/tag/1.0.0 - -[848192d...1.0.0]: https://github.com/localheinz/http-method/compare/848192d...1.0.0 -[1.0.0...master]: https://github.com/localheinz/http-method/compare/1.0.0...master - -[#5]: https://github.com/localheinz/http-method/pull/5 -[#7]: https://github.com/localheinz/http-method/pull/7 -[#8]: https://github.com/localheinz/http-method/pull/8 -[#9]: https://github.com/localheinz/http-method/pull/9 -[#10]: https://github.com/localheinz/http-method/pull/10 -[#11]: https://github.com/localheinz/http-method/pull/11 -[#12]: https://github.com/localheinz/http-method/pull/12 -[#13]: https://github.com/localheinz/http-method/pull/13 -[#14]: https://github.com/localheinz/http-method/pull/14 -[#15]: https://github.com/localheinz/http-method/pull/15 -[#16]: https://github.com/localheinz/http-method/pull/16 -[#17]: https://github.com/localheinz/http-method/pull/17 -[#18]: https://github.com/localheinz/http-method/pull/18 -[#19]: https://github.com/localheinz/http-method/pull/19 -[#22]: https://github.com/localheinz/http-method/pull/22 +[1.0.0]: https://github.com/ergebnis/http-method/releases/tag/1.0.0 +[2.0.0]: https://github.com/ergebnis/http-method/releases/tag/2.0.0 + +[848192d...1.0.0]: https://github.com/ergebnis/http-method/compare/848192d...1.0.0 +[1.0.0...2.0.0]: https://github.com/ergebnis/http-method/compare/1.0.0...2.0.0 +[2.0.0...master]: https://github.com/ergebnis/http-method/compare/2.0.0...master + +[#5]: https://github.com/ergebnis/http-method/pull/5 +[#7]: https://github.com/ergebnis/http-method/pull/7 +[#8]: https://github.com/ergebnis/http-method/pull/8 +[#9]: https://github.com/ergebnis/http-method/pull/9 +[#10]: https://github.com/ergebnis/http-method/pull/10 +[#11]: https://github.com/ergebnis/http-method/pull/11 +[#12]: https://github.com/ergebnis/http-method/pull/12 +[#13]: https://github.com/ergebnis/http-method/pull/13 +[#14]: https://github.com/ergebnis/http-method/pull/14 +[#15]: https://github.com/ergebnis/http-method/pull/15 +[#16]: https://github.com/ergebnis/http-method/pull/16 +[#17]: https://github.com/ergebnis/http-method/pull/17 +[#18]: https://github.com/ergebnis/http-method/pull/18 +[#19]: https://github.com/ergebnis/http-method/pull/19 +[#22]: https://github.com/ergebnis/http-method/pull/22 +[#70]: https://github.com/ergebnis/http-method/pull/70 +[@ergebnis]: https://github.com/ergebnis [@localheinz]: https://github.com/localheinz diff --git a/README.md b/README.md index 60e36962..59d58ad3 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # http-method -[![Continuous Integration](https://github.com/localheinz/http-method/workflows/Continuous%20Integration/badge.svg)](https://github.com/localheinz/http-method/actions) -[![Latest Stable Version](https://poser.pugx.org/localheinz/http-method/v/stable)](https://packagist.org/packages/localheinz/http-method) -[![Total Downloads](https://poser.pugx.org/localheinz/http-method/downloads)](https://packagist.org/packages/localheinz/http-method) +[![Continuous Integration](https://github.com/ergebnis/http-method/workflows/Continuous%20Integration/badge.svg)](https://github.com/ergebnis/http-method/actions) +[![Latest Stable Version](https://poser.pugx.org/ergebnis/http-method/v/stable)](https://packagist.org/packages/ergebnis/http-method/) +[![Total Downloads](https://poser.pugx.org/ergebnis/http-method/downloads)](https://packagist.org/packages/ergebnis/http-method/) Provides constants for HTTP request methods, inspired by [`teapot/status-code`](https://github.com/teapot-php/status-code). @@ -41,12 +41,12 @@ In a similar fashion, this library here aims to provide a collection of interfac Run ``` -$ composer require localheinz/http-method +$ composer require ergebnis/http-method ``` ## Usage -The interface [`Localheinz\Http\Method`](/src/Method.php) provides constants for all of the HTTP request methods that are standardized by +The interface [`Ergebnis\Http\Method`](/src/Method.php) provides constants for all of the HTTP request methods that are standardized by * [RFC 5789](https://tools.ietf.org/html/rfc5789) * [RFC 7231](https://tools.ietf.org/html/rfc7231) @@ -63,7 +63,7 @@ namely * `PUT` * `TRACE` -The interface [`Localheinz\Http\Method\WebDav`](/src/Method/WebDav.php) provides constants for all of the HTTP request methods that are standardized by +The interface [`Ergebnis\Http\Method\WebDav`](/src/Method/WebDav.php) provides constants for all of the HTTP request methods that are standardized by - [RFC 3648](https://tools.ietf.org/html/rfc3648) - [RFC 3744](https://tools.ietf.org/html/rfc3744) @@ -103,12 +103,12 @@ namely - `UNLOCK` - `UPDATEREDIRECTREF` -The interface [`Localheinz\Http\Method\Vendor\SquidCache`](/src/Method/Vendor/SquidCache.php) provides constants for a suggest HTTP request method used for purging items from the cache, +The interface [`Ergebnis\Http\Method\Vendor\SquidCache`](/src/Method/Vendor/SquidCache.php) provides constants for a suggest HTTP request method used for purging items from the cache, namely - `PURGE` -The interface [`Localheinz\Http\Method\Vendor\VarnishCache`](/src/Method/Vendor/VarnishCache.php) provides constants for a suggest HTTP request method used for invalidating and purging items from the cache, namely +The interface [`Ergebnis\Http\Method\Vendor\VarnishCache`](/src/Method/Vendor/VarnishCache.php) provides constants for a suggest HTTP request method used for invalidating and purging items from the cache, namely - `BAN` - `PURGE` @@ -116,7 +116,7 @@ The interface [`Localheinz\Http\Method\Vendor\VarnishCache`](/src/Method/Vendor/ To use these constants, import the interfaces and refer to the constants instead of using magic strings: ```php -use Localheinz\Http\Method; +use Ergebnis\Http\Method; use Psr\Http\Client; use Psr\Http\Message; diff --git a/composer.json b/composer.json index e02ca1d9..7cb5b7d0 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "localheinz/http-method", + "name": "ergebnis/http-method", "type": "library", "description": "Provides constants for HTTP request methods.", "keywords": [ @@ -7,7 +7,7 @@ "request", "method" ], - "homepage": "https://github.com/localheinz/http-method", + "homepage": "https://github.com/ergebnis/http-method", "license": "MIT", "authors": [ { @@ -18,6 +18,9 @@ "require": { "php": "^7.2" }, + "replace": { + "localheinz/http-method": "*" + }, "require-dev": { "ergebnis/php-cs-fixer-config": "~1.1.0", "ergebnis/test-util": "~0.9.0", @@ -35,16 +38,16 @@ }, "autoload": { "psr-4": { - "Localheinz\\Http\\": "src/" + "Ergebnis\\Http\\": "src/" } }, "autoload-dev": { "psr-4": { - "Localheinz\\Http\\Test\\": "test/" + "Ergebnis\\Http\\Test\\": "test/" } }, "support": { - "issues": "https://github.com/localheinz/http-method/issues", - "source": "https://github.com/localheinz/http-method" + "issues": "https://github.com/ergebnis/http-method/issues", + "source": "https://github.com/ergebnis/http-method" } } diff --git a/composer.lock b/composer.lock index e2cf2c79..23a57ae9 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "50d9ecf55d8b6af3e31af4b7239ce0b1", + "content-hash": "35d8d3e947c22cbf74d26f7071e96398", "packages": [], "packages-dev": [ { @@ -979,6 +979,7 @@ "json", "printer" ], + "abandoned": "ergebnis/json-printer", "time": "2018-08-11T23:54:50+00:00" }, { diff --git a/src/Method.php b/src/Method.php index 7e98d0ea..3e38ccb3 100644 --- a/src/Method.php +++ b/src/Method.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http; +namespace Ergebnis\Http; interface Method extends Method\Rfc\Rfc5789, diff --git a/src/Method/Rfc/Rfc2068.php b/src/Method/Rfc/Rfc2068.php index 58e7939b..d8c26eec 100644 --- a/src/Method/Rfc/Rfc2068.php +++ b/src/Method/Rfc/Rfc2068.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Method\Rfc; +namespace Ergebnis\Http\Method\Rfc; /** * @see https://tools.ietf.org/html/rfc2068 diff --git a/src/Method/Rfc/Rfc3253.php b/src/Method/Rfc/Rfc3253.php index a108c153..4cf8566b 100644 --- a/src/Method/Rfc/Rfc3253.php +++ b/src/Method/Rfc/Rfc3253.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Method\Rfc; +namespace Ergebnis\Http\Method\Rfc; /** * @see http://www.iana.org/go/rfc3253 diff --git a/src/Method/Rfc/Rfc3648.php b/src/Method/Rfc/Rfc3648.php index 0067d272..6edfa096 100644 --- a/src/Method/Rfc/Rfc3648.php +++ b/src/Method/Rfc/Rfc3648.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Method\Rfc; +namespace Ergebnis\Http\Method\Rfc; /** * @see https://tools.ietf.org/html/rfc3648 diff --git a/src/Method/Rfc/Rfc3744.php b/src/Method/Rfc/Rfc3744.php index 3a1c4301..5fefcc78 100644 --- a/src/Method/Rfc/Rfc3744.php +++ b/src/Method/Rfc/Rfc3744.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Method\Rfc; +namespace Ergebnis\Http\Method\Rfc; /** * @see https://tools.ietf.org/html/rfc3744 diff --git a/src/Method/Rfc/Rfc4437.php b/src/Method/Rfc/Rfc4437.php index f742d980..9c608085 100644 --- a/src/Method/Rfc/Rfc4437.php +++ b/src/Method/Rfc/Rfc4437.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Method\Rfc; +namespace Ergebnis\Http\Method\Rfc; /** * @see https://tools.ietf.org/html/rfc4437 diff --git a/src/Method/Rfc/Rfc4791.php b/src/Method/Rfc/Rfc4791.php index 27fe93ee..2009ea26 100644 --- a/src/Method/Rfc/Rfc4791.php +++ b/src/Method/Rfc/Rfc4791.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Method\Rfc; +namespace Ergebnis\Http\Method\Rfc; /** * @see https://tools.ietf.org/html/rfc4791 diff --git a/src/Method/Rfc/Rfc4918.php b/src/Method/Rfc/Rfc4918.php index a5bfaf5f..eae8729d 100644 --- a/src/Method/Rfc/Rfc4918.php +++ b/src/Method/Rfc/Rfc4918.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Method\Rfc; +namespace Ergebnis\Http\Method\Rfc; /** * @see https://tools.ietf.org/html/rfc4918 diff --git a/src/Method/Rfc/Rfc5323.php b/src/Method/Rfc/Rfc5323.php index ecb8c811..396518eb 100644 --- a/src/Method/Rfc/Rfc5323.php +++ b/src/Method/Rfc/Rfc5323.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Method\Rfc; +namespace Ergebnis\Http\Method\Rfc; /** * @see https://tools.ietf.org/html/rfc5323 diff --git a/src/Method/Rfc/Rfc5789.php b/src/Method/Rfc/Rfc5789.php index e13701a0..463a2a8c 100644 --- a/src/Method/Rfc/Rfc5789.php +++ b/src/Method/Rfc/Rfc5789.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Method\Rfc; +namespace Ergebnis\Http\Method\Rfc; /** * @see https://tools.ietf.org/html/rfc5789 diff --git a/src/Method/Rfc/Rfc5842.php b/src/Method/Rfc/Rfc5842.php index 8c6c49b4..3fa69b97 100644 --- a/src/Method/Rfc/Rfc5842.php +++ b/src/Method/Rfc/Rfc5842.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Method\Rfc; +namespace Ergebnis\Http\Method\Rfc; /** * @see https://tools.ietf.org/html/rfc5842 diff --git a/src/Method/Rfc/Rfc7231.php b/src/Method/Rfc/Rfc7231.php index 04a9e03a..05f96b94 100644 --- a/src/Method/Rfc/Rfc7231.php +++ b/src/Method/Rfc/Rfc7231.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Method\Rfc; +namespace Ergebnis\Http\Method\Rfc; /** * @see https://tools.ietf.org/html/rfc7231 diff --git a/src/Method/Rfc/Rfc7540.php b/src/Method/Rfc/Rfc7540.php index eab8b00e..b6228deb 100644 --- a/src/Method/Rfc/Rfc7540.php +++ b/src/Method/Rfc/Rfc7540.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Method\Rfc; +namespace Ergebnis\Http\Method\Rfc; /** * @see https://tools.ietf.org/html/rfc7540 diff --git a/src/Method/Rfc/Status/Experimental.php b/src/Method/Rfc/Status/Experimental.php index a042a897..3efcc76f 100644 --- a/src/Method/Rfc/Status/Experimental.php +++ b/src/Method/Rfc/Status/Experimental.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Method\Rfc\Status; +namespace Ergebnis\Http\Method\Rfc\Status; interface Experimental { diff --git a/src/Method/Rfc/Status/ProposedStandard.php b/src/Method/Rfc/Status/ProposedStandard.php index d09875b1..ccf4760a 100644 --- a/src/Method/Rfc/Status/ProposedStandard.php +++ b/src/Method/Rfc/Status/ProposedStandard.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Method\Rfc\Status; +namespace Ergebnis\Http\Method\Rfc\Status; interface ProposedStandard { diff --git a/src/Method/Vendor/SquidCache.php b/src/Method/Vendor/SquidCache.php index 675a6648..7652d525 100644 --- a/src/Method/Vendor/SquidCache.php +++ b/src/Method/Vendor/SquidCache.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Method\Vendor; +namespace Ergebnis\Http\Method\Vendor; /** * @see https://wiki.squid-cache.org/FrontPage diff --git a/src/Method/Vendor/VarnishCache.php b/src/Method/Vendor/VarnishCache.php index 85193418..d8fb3d5f 100644 --- a/src/Method/Vendor/VarnishCache.php +++ b/src/Method/Vendor/VarnishCache.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Method\Vendor; +namespace Ergebnis\Http\Method\Vendor; /** * @see https://varnish-cache.org/docs/index.html diff --git a/src/Method/WebDav.php b/src/Method/WebDav.php index 1f48c4b4..715313a2 100644 --- a/src/Method/WebDav.php +++ b/src/Method/WebDav.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Method; +namespace Ergebnis\Http\Method; /** * @see http://www.webdav.org diff --git a/test/Unit/Method/Rfc/Rfc2068Test.php b/test/Unit/Method/Rfc/Rfc2068Test.php index 88d36570..236abf21 100644 --- a/test/Unit/Method/Rfc/Rfc2068Test.php +++ b/test/Unit/Method/Rfc/Rfc2068Test.php @@ -8,18 +8,18 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Test\Unit\Method\Rfc; +namespace Ergebnis\Http\Test\Unit\Method\Rfc; -use Localheinz\Http\Method\Rfc\Rfc2068; +use Ergebnis\Http\Method\Rfc\Rfc2068; use PHPUnit\Framework; /** * @internal * - * @covers \Localheinz\Http\Method\Rfc\Rfc2068 + * @covers \Ergebnis\Http\Method\Rfc\Rfc2068 */ final class Rfc2068Test extends Framework\TestCase { diff --git a/test/Unit/Method/Rfc/Rfc3253Test.php b/test/Unit/Method/Rfc/Rfc3253Test.php index 92d8cd28..c6048424 100644 --- a/test/Unit/Method/Rfc/Rfc3253Test.php +++ b/test/Unit/Method/Rfc/Rfc3253Test.php @@ -8,18 +8,18 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Test\Unit\Method\Rfc; +namespace Ergebnis\Http\Test\Unit\Method\Rfc; -use Localheinz\Http\Method\Rfc\Rfc3253; +use Ergebnis\Http\Method\Rfc\Rfc3253; use PHPUnit\Framework; /** * @internal * - * @covers \Localheinz\Http\Method\Rfc\Rfc3253 + * @covers \Ergebnis\Http\Method\Rfc\Rfc3253 */ final class Rfc3253Test extends Framework\TestCase { diff --git a/test/Unit/Method/Rfc/Rfc3648Test.php b/test/Unit/Method/Rfc/Rfc3648Test.php index 8427e361..3870e1ea 100644 --- a/test/Unit/Method/Rfc/Rfc3648Test.php +++ b/test/Unit/Method/Rfc/Rfc3648Test.php @@ -8,18 +8,18 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Test\Unit\Method\Rfc; +namespace Ergebnis\Http\Test\Unit\Method\Rfc; -use Localheinz\Http\Method\Rfc\Rfc3648; +use Ergebnis\Http\Method\Rfc\Rfc3648; use PHPUnit\Framework; /** * @internal * - * @covers \Localheinz\Http\Method\Rfc\Rfc3648 + * @covers \Ergebnis\Http\Method\Rfc\Rfc3648 */ final class Rfc3648Test extends Framework\TestCase { diff --git a/test/Unit/Method/Rfc/Rfc3744Test.php b/test/Unit/Method/Rfc/Rfc3744Test.php index 31a596ff..b0af2e29 100644 --- a/test/Unit/Method/Rfc/Rfc3744Test.php +++ b/test/Unit/Method/Rfc/Rfc3744Test.php @@ -8,18 +8,18 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Test\Unit\Method\Rfc; +namespace Ergebnis\Http\Test\Unit\Method\Rfc; -use Localheinz\Http\Method\Rfc\Rfc3744; +use Ergebnis\Http\Method\Rfc\Rfc3744; use PHPUnit\Framework; /** * @internal * - * @covers \Localheinz\Http\Method\Rfc\Rfc3744 + * @covers \Ergebnis\Http\Method\Rfc\Rfc3744 */ final class Rfc3744Test extends Framework\TestCase { diff --git a/test/Unit/Method/Rfc/Rfc4437Test.php b/test/Unit/Method/Rfc/Rfc4437Test.php index d86c2a7a..a8325fd1 100644 --- a/test/Unit/Method/Rfc/Rfc4437Test.php +++ b/test/Unit/Method/Rfc/Rfc4437Test.php @@ -8,18 +8,18 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Test\Unit\Method\Rfc; +namespace Ergebnis\Http\Test\Unit\Method\Rfc; -use Localheinz\Http\Method\Rfc\Rfc4437; +use Ergebnis\Http\Method\Rfc\Rfc4437; use PHPUnit\Framework; /** * @internal * - * @covers \Localheinz\Http\Method\Rfc\Rfc4437 + * @covers \Ergebnis\Http\Method\Rfc\Rfc4437 */ final class Rfc4437Test extends Framework\TestCase { diff --git a/test/Unit/Method/Rfc/Rfc4791Test.php b/test/Unit/Method/Rfc/Rfc4791Test.php index 8de48309..06fcc17b 100644 --- a/test/Unit/Method/Rfc/Rfc4791Test.php +++ b/test/Unit/Method/Rfc/Rfc4791Test.php @@ -8,18 +8,18 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Test\Unit\Method\Rfc; +namespace Ergebnis\Http\Test\Unit\Method\Rfc; -use Localheinz\Http\Method\Rfc\Rfc4791; +use Ergebnis\Http\Method\Rfc\Rfc4791; use PHPUnit\Framework; /** * @internal * - * @covers \Localheinz\Http\Method\Rfc\Rfc4791 + * @covers \Ergebnis\Http\Method\Rfc\Rfc4791 */ final class Rfc4791Test extends Framework\TestCase { diff --git a/test/Unit/Method/Rfc/Rfc4918Test.php b/test/Unit/Method/Rfc/Rfc4918Test.php index 2916fdcb..61aa408a 100644 --- a/test/Unit/Method/Rfc/Rfc4918Test.php +++ b/test/Unit/Method/Rfc/Rfc4918Test.php @@ -8,18 +8,18 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Test\Unit\Method\Rfc; +namespace Ergebnis\Http\Test\Unit\Method\Rfc; -use Localheinz\Http\Method\Rfc\Rfc4918; +use Ergebnis\Http\Method\Rfc\Rfc4918; use PHPUnit\Framework; /** * @internal * - * @covers \Localheinz\Http\Method\Rfc\Rfc4918 + * @covers \Ergebnis\Http\Method\Rfc\Rfc4918 */ final class Rfc4918Test extends Framework\TestCase { diff --git a/test/Unit/Method/Rfc/Rfc5323Test.php b/test/Unit/Method/Rfc/Rfc5323Test.php index 80fe442c..4f2d08e9 100644 --- a/test/Unit/Method/Rfc/Rfc5323Test.php +++ b/test/Unit/Method/Rfc/Rfc5323Test.php @@ -8,18 +8,18 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Test\Unit\Method\Rfc; +namespace Ergebnis\Http\Test\Unit\Method\Rfc; -use Localheinz\Http\Method\Rfc\Rfc5323; +use Ergebnis\Http\Method\Rfc\Rfc5323; use PHPUnit\Framework; /** * @internal * - * @covers \Localheinz\Http\Method\Rfc\Rfc5323 + * @covers \Ergebnis\Http\Method\Rfc\Rfc5323 */ final class Rfc5323Test extends Framework\TestCase { diff --git a/test/Unit/Method/Rfc/Rfc5789Test.php b/test/Unit/Method/Rfc/Rfc5789Test.php index 7f3c1304..2f5a3683 100644 --- a/test/Unit/Method/Rfc/Rfc5789Test.php +++ b/test/Unit/Method/Rfc/Rfc5789Test.php @@ -8,18 +8,18 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Test\Unit\Method\Rfc; +namespace Ergebnis\Http\Test\Unit\Method\Rfc; -use Localheinz\Http\Method\Rfc\Rfc5789; +use Ergebnis\Http\Method\Rfc\Rfc5789; use PHPUnit\Framework; /** * @internal * - * @covers \Localheinz\Http\Method\Rfc\Rfc5789 + * @covers \Ergebnis\Http\Method\Rfc\Rfc5789 */ final class Rfc5789Test extends Framework\TestCase { diff --git a/test/Unit/Method/Rfc/Rfc5842Test.php b/test/Unit/Method/Rfc/Rfc5842Test.php index 54157028..94339186 100644 --- a/test/Unit/Method/Rfc/Rfc5842Test.php +++ b/test/Unit/Method/Rfc/Rfc5842Test.php @@ -8,18 +8,18 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Test\Unit\Method\Rfc; +namespace Ergebnis\Http\Test\Unit\Method\Rfc; -use Localheinz\Http\Method\Rfc\Rfc5842; +use Ergebnis\Http\Method\Rfc\Rfc5842; use PHPUnit\Framework; /** * @internal * - * @covers \Localheinz\Http\Method\Rfc\Rfc5842 + * @covers \Ergebnis\Http\Method\Rfc\Rfc5842 */ final class Rfc5842Test extends Framework\TestCase { diff --git a/test/Unit/Method/Rfc/Rfc7231Test.php b/test/Unit/Method/Rfc/Rfc7231Test.php index 0256a512..fbb1bf34 100644 --- a/test/Unit/Method/Rfc/Rfc7231Test.php +++ b/test/Unit/Method/Rfc/Rfc7231Test.php @@ -8,18 +8,18 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Test\Unit\Method\Rfc; +namespace Ergebnis\Http\Test\Unit\Method\Rfc; -use Localheinz\Http\Method\Rfc\Rfc7231; +use Ergebnis\Http\Method\Rfc\Rfc7231; use PHPUnit\Framework; /** * @internal * - * @covers \Localheinz\Http\Method\Rfc\Rfc7231 + * @covers \Ergebnis\Http\Method\Rfc\Rfc7231 */ final class Rfc7231Test extends Framework\TestCase { diff --git a/test/Unit/Method/Rfc/Rfc7540Test.php b/test/Unit/Method/Rfc/Rfc7540Test.php index 5b7b713c..dd92be1f 100644 --- a/test/Unit/Method/Rfc/Rfc7540Test.php +++ b/test/Unit/Method/Rfc/Rfc7540Test.php @@ -8,18 +8,18 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Test\Unit\Method\Rfc; +namespace Ergebnis\Http\Test\Unit\Method\Rfc; -use Localheinz\Http\Method\Rfc\Rfc7540; +use Ergebnis\Http\Method\Rfc\Rfc7540; use PHPUnit\Framework; /** * @internal * - * @covers \Localheinz\Http\Method\Rfc\Rfc7540 + * @covers \Ergebnis\Http\Method\Rfc\Rfc7540 */ final class Rfc7540Test extends Framework\TestCase { diff --git a/test/Unit/Method/Vendor/SquidCacheTest.php b/test/Unit/Method/Vendor/SquidCacheTest.php index a3b6d51b..6103c12e 100644 --- a/test/Unit/Method/Vendor/SquidCacheTest.php +++ b/test/Unit/Method/Vendor/SquidCacheTest.php @@ -8,18 +8,18 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Test\Unit\Method\Vendor; +namespace Ergebnis\Http\Test\Unit\Method\Vendor; -use Localheinz\Http\Method\Vendor\SquidCache; +use Ergebnis\Http\Method\Vendor\SquidCache; use PHPUnit\Framework; /** * @internal * - * @covers \Localheinz\Http\Method\Vendor\SquidCache + * @covers \Ergebnis\Http\Method\Vendor\SquidCache */ final class SquidCacheTest extends Framework\TestCase { diff --git a/test/Unit/Method/Vendor/VarnishCacheTest.php b/test/Unit/Method/Vendor/VarnishCacheTest.php index 69442837..6d2691b1 100644 --- a/test/Unit/Method/Vendor/VarnishCacheTest.php +++ b/test/Unit/Method/Vendor/VarnishCacheTest.php @@ -8,18 +8,18 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Test\Unit\Method\Vendor; +namespace Ergebnis\Http\Test\Unit\Method\Vendor; -use Localheinz\Http\Method\Vendor\VarnishCache; +use Ergebnis\Http\Method\Vendor\VarnishCache; use PHPUnit\Framework; /** * @internal * - * @covers \Localheinz\Http\Method\Vendor\VarnishCache + * @covers \Ergebnis\Http\Method\Vendor\VarnishCache */ final class VarnishCacheTest extends Framework\TestCase { diff --git a/test/Unit/Method/WebDavTest.php b/test/Unit/Method/WebDavTest.php index 6ec9ceb0..c9eb0509 100644 --- a/test/Unit/Method/WebDavTest.php +++ b/test/Unit/Method/WebDavTest.php @@ -8,20 +8,20 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Test\Unit\Method; +namespace Ergebnis\Http\Test\Unit\Method; +use Ergebnis\Http\Method; +use Ergebnis\Http\Method\WebDav; use Ergebnis\Test\Util\Helper; -use Localheinz\Http\Method; -use Localheinz\Http\Method\WebDav; use PHPUnit\Framework; /** * @internal * - * @covers \Localheinz\Http\Method\WebDav + * @covers \Ergebnis\Http\Method\WebDav */ final class WebDavTest extends Framework\TestCase { diff --git a/test/Unit/MethodTest.php b/test/Unit/MethodTest.php index 246c40c6..6a3c7b62 100644 --- a/test/Unit/MethodTest.php +++ b/test/Unit/MethodTest.php @@ -8,19 +8,19 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * - * @see https://github.com/localheinz/http-method + * @see https://github.com/ergebnis/http-method */ -namespace Localheinz\Http\Test\Unit; +namespace Ergebnis\Http\Test\Unit; +use Ergebnis\Http\Method; use Ergebnis\Test\Util\Helper; -use Localheinz\Http\Method; use PHPUnit\Framework; /** * @internal * - * @covers \Localheinz\Http\Method + * @covers \Ergebnis\Http\Method */ final class MethodTest extends Framework\TestCase {