From 72aaa456182e60f0c3ff207a546b5fe1f90a96e0 Mon Sep 17 00:00:00 2001 From: Ignace Nyamagana Butera Date: Wed, 19 Apr 2017 08:57:12 +0200 Subject: [PATCH] version 1.0.2 release --- .php_cs | 4 ++-- .scrutinizer.yml | 18 ------------------ .travis.yml | 4 ---- CHANGELOG.md | 4 ++-- src/AbstractComponent.php | 6 ++++-- src/AbstractHierarchicalComponent.php | 6 ++++-- src/ComponentInterface.php | 6 ++++-- src/ComponentTrait.php | 6 ++++-- src/DataPath.php | 6 ++++-- src/EncodingInterface.php | 6 ++++-- src/Exception.php | 6 ++++-- src/Fragment.php | 6 ++++-- src/HierarchicalPath.php | 6 ++++-- src/Host.php | 6 ++++-- src/HostInfoTrait.php | 6 ++++-- src/Path.php | 6 ++++-- src/PathInfoTrait.php | 6 ++++-- src/Port.php | 6 ++++-- src/Query.php | 6 ++++-- src/QueryParserTrait.php | 6 ++++-- src/Scheme.php | 6 ++++-- src/UserInfo.php | 6 ++++-- 22 files changed, 76 insertions(+), 62 deletions(-) diff --git a/.php_cs b/.php_cs index 3607e25c1..c996d3c79 100644 --- a/.php_cs +++ b/.php_cs @@ -3,8 +3,8 @@ $header = <<<'EOF' This file is part of League\Uri\Components, a URI components manipulation library -@copyright 2016 Ignace Nyamagana Butera. All rights reserved -@license MIT See LICENSE.md at the root of the project for more info +For the full copyright and license information, please view the LICENSE +file that was distributed with this source code. EOF; Symfony\CS\Fixer\Contrib\HeaderCommentFixer::setHeader($header); diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 59f57d9e4..011623241 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -4,29 +4,11 @@ filter: checks: php: code_rating: true - remove_extra_empty_lines: true - remove_php_closing_tag: true - remove_trailing_whitespace: true - fix_use_statements: - remove_unused: true - preserve_multiple: false - preserve_blanklines: true - order_alphabetically: true - fix_php_opening_tag: true - fix_linefeed: true - fix_line_ending: true - fix_identation_4spaces: true - fix_doc_comments: true tools: external_code_coverage: timeout: 600 runs: 2 php_code_coverage: false - php_code_sniffer: - config: - standard: PSR2 - filter: - paths: ['src'] php_loc: enabled: true excluded_dirs: [tests, vendor] diff --git a/.travis.yml b/.travis.yml index 7a41de0d2..f9e608a30 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,11 +8,7 @@ matrix: env: COLLECT_COVERAGE=true VALIDATE_CODING_STYLE=true - php: 7.1 env: COLLECT_COVERAGE=true VALIDATE_CODING_STYLE=false - - php: hhvm - env: COLLECT_COVERAGE=false VALIDATE_CODING_STYLE=false fast_finish: true - allow_failures: - - php: hhvm cache: directories: diff --git a/CHANGELOG.md b/CHANGELOG.md index 20143ea18..ed37e32bb 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 +## 1.0.2 - 2017-04-19 ### Added @@ -10,7 +10,7 @@ All Notable changes to `League\Uri\Components` will be documented in this file ### Fixed -- Improve Host validation (cf [issue #5](https://github.com/thephpleague/uri-parser/issues/5)) +- Improve registered name validation [issue #5](https://github.com/thephpleague/uri-parser/issues/5) ### Deprecated diff --git a/src/AbstractComponent.php b/src/AbstractComponent.php index 98c49ed7a..4adb12c8b 100644 --- a/src/AbstractComponent.php +++ b/src/AbstractComponent.php @@ -5,10 +5,12 @@ * @package League\Uri * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera - * @copyright 2016 Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 1.0.0 + * @version 1.0.2 * @link https://github.com/thephpleague/uri-components + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ declare(strict_types=1); diff --git a/src/AbstractHierarchicalComponent.php b/src/AbstractHierarchicalComponent.php index 8f54ea868..9938ed8e0 100644 --- a/src/AbstractHierarchicalComponent.php +++ b/src/AbstractHierarchicalComponent.php @@ -5,10 +5,12 @@ * @package League\Uri * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera - * @copyright 2016 Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 1.0.0 + * @version 1.0.2 * @link https://github.com/thephpleague/uri-components + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ declare(strict_types=1); diff --git a/src/ComponentInterface.php b/src/ComponentInterface.php index 0f96faa59..667ee51cd 100644 --- a/src/ComponentInterface.php +++ b/src/ComponentInterface.php @@ -5,10 +5,12 @@ * @package League\Uri * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera - * @copyright 2016 Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-interfaces/blob/master/LICENSE (MIT License) - * @version 1.0.0 + * @version 1.0.2 * @link https://github.com/thephpleague/uri-interfaces/ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ declare(strict_types=1); diff --git a/src/ComponentTrait.php b/src/ComponentTrait.php index ba54effea..0fdafddf8 100644 --- a/src/ComponentTrait.php +++ b/src/ComponentTrait.php @@ -5,10 +5,12 @@ * @package League\Uri * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera - * @copyright 2016 Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 1.0.0 + * @version 1.0.2 * @link https://github.com/thephpleague/uri-components + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ declare(strict_types=1); diff --git a/src/DataPath.php b/src/DataPath.php index 0636b3ffa..3417d05ff 100644 --- a/src/DataPath.php +++ b/src/DataPath.php @@ -5,10 +5,12 @@ * @package League\Uri * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera - * @copyright 2016 Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 1.0.0 + * @version 1.0.2 * @link https://github.com/thephpleague/uri-components + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ declare(strict_types=1); diff --git a/src/EncodingInterface.php b/src/EncodingInterface.php index 3d20ba06c..bc05e50f0 100644 --- a/src/EncodingInterface.php +++ b/src/EncodingInterface.php @@ -5,10 +5,12 @@ * @package League\Uri * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera - * @copyright 2016 Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-interfaces/blob/master/LICENSE (MIT License) - * @version 1.0.0 + * @version 1.0.2 * @link https://github.com/thephpleague/uri-interfaces/ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ declare(strict_types=1); diff --git a/src/Exception.php b/src/Exception.php index 1a66e9bf4..ce1fc0c8a 100644 --- a/src/Exception.php +++ b/src/Exception.php @@ -5,10 +5,12 @@ * @package League\Uri * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera - * @copyright 2016 Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 1.0.0 + * @version 1.0.2 * @link https://github.com/thephpleague/uri-components + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ declare(strict_types=1); diff --git a/src/Fragment.php b/src/Fragment.php index 6086ee79f..b429a086a 100644 --- a/src/Fragment.php +++ b/src/Fragment.php @@ -5,10 +5,12 @@ * @package League\Uri * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera - * @copyright 2016 Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 1.0.0 + * @version 1.0.2 * @link https://github.com/thephpleague/uri-components + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ declare(strict_types=1); diff --git a/src/HierarchicalPath.php b/src/HierarchicalPath.php index d90226bea..105b4614f 100644 --- a/src/HierarchicalPath.php +++ b/src/HierarchicalPath.php @@ -5,10 +5,12 @@ * @package League\Uri * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera - * @copyright 2016 Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 1.0.0 + * @version 1.0.2 * @link https://github.com/thephpleague/uri-components + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ declare(strict_types=1); diff --git a/src/Host.php b/src/Host.php index 03116558e..0f9ee0fc0 100644 --- a/src/Host.php +++ b/src/Host.php @@ -5,10 +5,12 @@ * @package League\Uri * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera - * @copyright 2016 Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 1.0.0 + * @version 1.0.2 * @link https://github.com/thephpleague/uri-components + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ declare(strict_types=1); diff --git a/src/HostInfoTrait.php b/src/HostInfoTrait.php index 911bf7fb1..af4fb3e49 100644 --- a/src/HostInfoTrait.php +++ b/src/HostInfoTrait.php @@ -5,10 +5,12 @@ * @package League\Uri * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera - * @copyright 2016 Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 1.0.0 + * @version 1.0.2 * @link https://github.com/thephpleague/uri-components + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ declare(strict_types=1); diff --git a/src/Path.php b/src/Path.php index fb90c6d78..feb402f50 100644 --- a/src/Path.php +++ b/src/Path.php @@ -5,10 +5,12 @@ * @package League\Uri * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera - * @copyright 2016 Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 1.0.0 + * @version 1.0.2 * @link https://github.com/thephpleague/uri-components + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ declare(strict_types=1); diff --git a/src/PathInfoTrait.php b/src/PathInfoTrait.php index 5f69dfc52..0e55a7ff0 100644 --- a/src/PathInfoTrait.php +++ b/src/PathInfoTrait.php @@ -5,10 +5,12 @@ * @package League\Uri * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera - * @copyright 2016 Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 1.0.0 + * @version 1.0.2 * @link https://github.com/thephpleague/uri-components + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ declare(strict_types=1); diff --git a/src/Port.php b/src/Port.php index fdc0c9ae4..9bf5b3f83 100644 --- a/src/Port.php +++ b/src/Port.php @@ -5,10 +5,12 @@ * @package League\Uri * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera - * @copyright 2016 Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 1.0.0 + * @version 1.0.2 * @link https://github.com/thephpleague/uri-components + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ declare(strict_types=1); diff --git a/src/Query.php b/src/Query.php index 02e0383e6..91643acc2 100644 --- a/src/Query.php +++ b/src/Query.php @@ -5,10 +5,12 @@ * @package League\Uri * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera - * @copyright 2016 Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 1.0.0 + * @version 1.0.2 * @link https://github.com/thephpleague/uri-components + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ declare(strict_types=1); diff --git a/src/QueryParserTrait.php b/src/QueryParserTrait.php index 0da5801d9..c096f2740 100644 --- a/src/QueryParserTrait.php +++ b/src/QueryParserTrait.php @@ -5,10 +5,12 @@ * @package League\Uri * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera - * @copyright 2016 Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 1.0.0 + * @version 1.0.2 * @link https://github.com/thephpleague/uri-components + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ declare(strict_types=1); diff --git a/src/Scheme.php b/src/Scheme.php index 8b43d661b..eeb5d705f 100644 --- a/src/Scheme.php +++ b/src/Scheme.php @@ -5,10 +5,12 @@ * @package League\Uri * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera - * @copyright 2016 Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 1.0.0 + * @version 1.0.2 * @link https://github.com/thephpleague/uri-components + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ declare(strict_types=1); diff --git a/src/UserInfo.php b/src/UserInfo.php index 1df2a570a..e14bf2c72 100644 --- a/src/UserInfo.php +++ b/src/UserInfo.php @@ -5,10 +5,12 @@ * @package League\Uri * @subpackage League\Uri\Components * @author Ignace Nyamagana Butera - * @copyright 2016 Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License) - * @version 1.0.0 + * @version 1.0.2 * @link https://github.com/thephpleague/uri-components + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ declare(strict_types=1);