Skip to content

Commit

Permalink
drop redundant test namespace, changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
alcohol committed Nov 3, 2015
1 parent 75975e3 commit 7486d83
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 19 deletions.
8 changes: 5 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"autoload-dev": {
"psr-4": {
"Composer\\Semver\\Test\\": "tests"
"Composer\\Semver\\": "tests"
}
},
"extra": {
Expand Down
4 changes: 1 addition & 3 deletions tests/ComparatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions tests/Constraint/ConstraintTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
5 changes: 1 addition & 4 deletions tests/Constraint/MultiConstraintTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
4 changes: 1 addition & 3 deletions tests/SemverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions tests/VersionParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 7486d83

Please sign in to comment.