diff --git a/.php_cs b/.php_cs index 93d47fc68..1a79b4875 100644 --- a/.php_cs +++ b/.php_cs @@ -7,7 +7,7 @@ League.Uri (http://uri.thephpleague.com/components) @subpackage League\Uri\Components @author Ignace Nyamagana Butera @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) -@version 2.0.0 +@version 2.0.1 @link https://github.com/thephpleague/uri-components For the full copyright and license information, please view the LICENSE diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f97d19c2..46ee5b2dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All Notable changes to `League\Uri\Components` will be documented in this file -## Next - TBD +## 2.0.1 - 2019-11-05 ### Added @@ -10,7 +10,8 @@ All Notable changes to `League\Uri\Components` will be documented in this file ### Fixed -- Improve Domain name detection according to RFC1132 see [issue #27](https://github.com/thephpleague/uri-components/pull/27) +- Improved Domain name detection according to RFC1132 see [issue #27](https://github.com/thephpleague/uri-components/pull/27) +- Normalized exception message formatting. ### Deprecated diff --git a/benchmark/build.php b/benchmark/build.php index 87d49ab61..54680964a 100644 --- a/benchmark/build.php +++ b/benchmark/build.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/benchmark/extract.php b/benchmark/extract.php index ed90c438b..a3fc3650e 100644 --- a/benchmark/extract.php +++ b/benchmark/extract.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/benchmark/parse.php b/benchmark/parse.php index 1c9f04853..ae734abd3 100644 --- a/benchmark/parse.php +++ b/benchmark/parse.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/src/Components/Authority.php b/src/Components/Authority.php index ade313df1..a1c5e75e5 100644 --- a/src/Components/Authority.php +++ b/src/Components/Authority.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/src/Components/Component.php b/src/Components/Component.php index 6c4d8c471..9c15034c9 100644 --- a/src/Components/Component.php +++ b/src/Components/Component.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/src/Components/DataPath.php b/src/Components/DataPath.php index 1d8bc4da8..36db2f28f 100644 --- a/src/Components/DataPath.php +++ b/src/Components/DataPath.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/src/Components/Domain.php b/src/Components/Domain.php index ea6a59a8d..0cecc3325 100644 --- a/src/Components/Domain.php +++ b/src/Components/Domain.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/src/Components/Fragment.php b/src/Components/Fragment.php index 05e32b0e7..979513a36 100644 --- a/src/Components/Fragment.php +++ b/src/Components/Fragment.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/src/Components/HierarchicalPath.php b/src/Components/HierarchicalPath.php index 7254e4f4a..4244dc525 100644 --- a/src/Components/HierarchicalPath.php +++ b/src/Components/HierarchicalPath.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/src/Components/Host.php b/src/Components/Host.php index c218a0637..e918e5413 100644 --- a/src/Components/Host.php +++ b/src/Components/Host.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/src/Components/Path.php b/src/Components/Path.php index afa4adc4b..f81832d12 100644 --- a/src/Components/Path.php +++ b/src/Components/Path.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/src/Components/Port.php b/src/Components/Port.php index 3be95be41..661f0327d 100644 --- a/src/Components/Port.php +++ b/src/Components/Port.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/src/Components/Query.php b/src/Components/Query.php index c2587055e..b22b968f2 100644 --- a/src/Components/Query.php +++ b/src/Components/Query.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/src/Components/Scheme.php b/src/Components/Scheme.php index 090e279f1..3845c8b1d 100644 --- a/src/Components/Scheme.php +++ b/src/Components/Scheme.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/src/Components/UserInfo.php b/src/Components/UserInfo.php index 046682073..00b28698a 100644 --- a/src/Components/UserInfo.php +++ b/src/Components/UserInfo.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/src/Exceptions/IPv4CalculatorMissing.php b/src/Exceptions/IPv4CalculatorMissing.php index 47773e62c..eced3b4c7 100644 --- a/src/Exceptions/IPv4CalculatorMissing.php +++ b/src/Exceptions/IPv4CalculatorMissing.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/src/Exceptions/OffsetOutOfBounds.php b/src/Exceptions/OffsetOutOfBounds.php index a63ccf9d1..bbe63f429 100644 --- a/src/Exceptions/OffsetOutOfBounds.php +++ b/src/Exceptions/OffsetOutOfBounds.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/src/IPv4Calculators/BCMathCalculator.php b/src/IPv4Calculators/BCMathCalculator.php index 41e5a9bdf..7f052f187 100644 --- a/src/IPv4Calculators/BCMathCalculator.php +++ b/src/IPv4Calculators/BCMathCalculator.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/src/IPv4Calculators/GMPCalculator.php b/src/IPv4Calculators/GMPCalculator.php index 26d6fd691..4e8286c76 100644 --- a/src/IPv4Calculators/GMPCalculator.php +++ b/src/IPv4Calculators/GMPCalculator.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/src/IPv4Calculators/IPv4Calculator.php b/src/IPv4Calculators/IPv4Calculator.php index 849546e11..4b1fbb72e 100644 --- a/src/IPv4Calculators/IPv4Calculator.php +++ b/src/IPv4Calculators/IPv4Calculator.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/src/IPv4Calculators/NativeCalculator.php b/src/IPv4Calculators/NativeCalculator.php index 0187ece82..0f3431422 100644 --- a/src/IPv4Calculators/NativeCalculator.php +++ b/src/IPv4Calculators/NativeCalculator.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/src/IPv4Normalizer.php b/src/IPv4Normalizer.php index 3985d8689..e00cc50b1 100644 --- a/src/IPv4Normalizer.php +++ b/src/IPv4Normalizer.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/src/QueryString.php b/src/QueryString.php index e90735d67..1cf4478ab 100644 --- a/src/QueryString.php +++ b/src/QueryString.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/src/UriModifier.php b/src/UriModifier.php index d90d6b2d0..9d14c457d 100644 --- a/src/UriModifier.php +++ b/src/UriModifier.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Components/AuthorityTest.php b/tests/Components/AuthorityTest.php index ab47a764f..b13875aeb 100644 --- a/tests/Components/AuthorityTest.php +++ b/tests/Components/AuthorityTest.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Components/DataPathTest.php b/tests/Components/DataPathTest.php index b546953ec..ab98580d6 100644 --- a/tests/Components/DataPathTest.php +++ b/tests/Components/DataPathTest.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Components/DomainTest.php b/tests/Components/DomainTest.php index 09c8e0a42..aff1a1c0d 100644 --- a/tests/Components/DomainTest.php +++ b/tests/Components/DomainTest.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Components/FragmentTest.php b/tests/Components/FragmentTest.php index 83207de1b..5cbe88e23 100644 --- a/tests/Components/FragmentTest.php +++ b/tests/Components/FragmentTest.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Components/HierarchicalPathTest.php b/tests/Components/HierarchicalPathTest.php index d7b307df2..50a5c2e7c 100644 --- a/tests/Components/HierarchicalPathTest.php +++ b/tests/Components/HierarchicalPathTest.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Components/HostTest.php b/tests/Components/HostTest.php index e678a07cd..3b80c04be 100644 --- a/tests/Components/HostTest.php +++ b/tests/Components/HostTest.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Components/IpAddressTest.php b/tests/Components/IpAddressTest.php index 5f4d280bb..006e4ef89 100644 --- a/tests/Components/IpAddressTest.php +++ b/tests/Components/IpAddressTest.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Components/PathTest.php b/tests/Components/PathTest.php index 44dd7d51c..45bbf97c6 100644 --- a/tests/Components/PathTest.php +++ b/tests/Components/PathTest.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Components/PortTest.php b/tests/Components/PortTest.php index 29c816714..058710443 100644 --- a/tests/Components/PortTest.php +++ b/tests/Components/PortTest.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Components/QueryTest.php b/tests/Components/QueryTest.php index 974649b7c..63eaf3449 100644 --- a/tests/Components/QueryTest.php +++ b/tests/Components/QueryTest.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Components/SchemeTest.php b/tests/Components/SchemeTest.php index 7a827fcbb..01a1b42a0 100644 --- a/tests/Components/SchemeTest.php +++ b/tests/Components/SchemeTest.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Components/UserInfoTest.php b/tests/Components/UserInfoTest.php index 4c4a9d2da..f3a168fa0 100644 --- a/tests/Components/UserInfoTest.php +++ b/tests/Components/UserInfoTest.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/tests/HostModifierTest.php b/tests/HostModifierTest.php index a9c6e5bb9..03b5ca5d3 100644 --- a/tests/HostModifierTest.php +++ b/tests/HostModifierTest.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/tests/IPv4HostNormalizerTest.php b/tests/IPv4HostNormalizerTest.php index 009d19755..8cfdb3cb7 100644 --- a/tests/IPv4HostNormalizerTest.php +++ b/tests/IPv4HostNormalizerTest.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/tests/PathModifierTest.php b/tests/PathModifierTest.php index fb901407b..2130bc032 100644 --- a/tests/PathModifierTest.php +++ b/tests/PathModifierTest.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/tests/QueryModifierTest.php b/tests/QueryModifierTest.php index 1ae17a619..80f9ad765 100644 --- a/tests/QueryModifierTest.php +++ b/tests/QueryModifierTest.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE diff --git a/tests/QueryStringTest.php b/tests/QueryStringTest.php index 13f5d94eb..a7980dc15 100644 --- a/tests/QueryStringTest.php +++ b/tests/QueryStringTest.php @@ -7,7 +7,7 @@ * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 2.0.0 + * @version 2.0.1 * @link https://github.com/thephpleague/uri-components * * For the full copyright and license information, please view the LICENSE