diff --git a/CHANGELOG.md b/CHANGELOG.md index e57013f58..b3b96d711 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,8 +3,10 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). -### [1.1.0] 2015-10-28 +### [1.1.0] 2015-11-03 + * Changed: dropped redundant `test` namespace. + * Changed: minor adjustment in datetime parsing normalization. * Changed: `ConstraintInterface` relaxed, setPrettyString is not required anymore. * Changed: `AbstractConstraint` marked deprecated, will be removed in 2.0. * Changed: `Constraint` is now extensible. @@ -33,6 +35,6 @@ This project adheres to [Semantic Versioning](http://semver.org/). - Namespace: `Composer\Test\Package\LinkConstraint` -> `Composer\Test\Semver\Constraint` * Changed: code style using php-cs-fixer. -[1.1.0]: https://github.com/composer/semver/compare/1.0.0...1.1.0/ -[1.0.0]: https://github.com/composer/semver/compare/0.1.0...1.0.0/ +[1.1.0]: https://github.com/composer/semver/compare/1.0.0...1.1.0 +[1.0.0]: https://github.com/composer/semver/compare/0.1.0...1.0.0 [0.1.0]: https://github.com/composer/semver/compare/5e0b9a4da...0.1.0 diff --git a/composer.json b/composer.json index 1d53c13b3..6d4f65266 100644 --- a/composer.json +++ b/composer.json @@ -44,7 +44,7 @@ }, "autoload-dev": { "psr-4": { - "Composer\\Semver\\Test\\": "tests" + "Composer\\Semver\\": "tests" } }, "extra": { diff --git a/tests/ComparatorTest.php b/tests/ComparatorTest.php index 0c80b2339..2bdd2a502 100644 --- a/tests/ComparatorTest.php +++ b/tests/ComparatorTest.php @@ -9,9 +9,7 @@ * the LICENSE file that was distributed with this source code. */ -namespace Composer\Semver\Test; - -use Composer\Semver\Comparator; +namespace Composer\Semver; /** * @coversDefaultClass \Composer\Semver\Comparator diff --git a/tests/Constraint/ConstraintTest.php b/tests/Constraint/ConstraintTest.php index 2ae444608..fa6fa4c56 100644 --- a/tests/Constraint/ConstraintTest.php +++ b/tests/Constraint/ConstraintTest.php @@ -9,9 +9,7 @@ * the LICENSE file that was distributed with this source code. */ -namespace Composer\Semver\Test\Constraint; - -use Composer\Semver\Constraint\Constraint; +namespace Composer\Semver\Constraint; class ConstraintTest extends \PHPUnit_Framework_TestCase { diff --git a/tests/Constraint/MultiConstraintTest.php b/tests/Constraint/MultiConstraintTest.php index a10774878..953ee42fa 100644 --- a/tests/Constraint/MultiConstraintTest.php +++ b/tests/Constraint/MultiConstraintTest.php @@ -9,10 +9,7 @@ * the LICENSE file that was distributed with this source code. */ -namespace Composer\Semver\Test\Constraint; - -use Composer\Semver\Constraint\MultiConstraint; -use Composer\Semver\Constraint\Constraint; +namespace Composer\Semver\Constraint; class MultiConstraintTest extends \PHPUnit_Framework_TestCase { diff --git a/tests/SemverTest.php b/tests/SemverTest.php index 0448a4ee9..2d3b4fbca 100644 --- a/tests/SemverTest.php +++ b/tests/SemverTest.php @@ -9,9 +9,7 @@ * the LICENSE file that was distributed with this source code. */ -namespace Composer\Semver\Test; - -use Composer\Semver\Semver; +namespace Composer\Semver; /** * @coversDefaultClass \Composer\Semver\Semver diff --git a/tests/VersionParserTest.php b/tests/VersionParserTest.php index 402a6d135..81cbf0c45 100644 --- a/tests/VersionParserTest.php +++ b/tests/VersionParserTest.php @@ -9,12 +9,11 @@ * the LICENSE file that was distributed with this source code. */ -namespace Composer\Semver\Test; +namespace Composer\Semver; use Composer\Semver\Constraint\EmptyConstraint; use Composer\Semver\Constraint\MultiConstraint; use Composer\Semver\Constraint\Constraint; -use Composer\Semver\VersionParser; class VersionParserTest extends \PHPUnit_Framework_TestCase {