Skip to content

Commit

Permalink
1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Rayne committed Feb 14, 2017
1 parent ef719a1 commit c4d55aa
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Expand Up @@ -7,6 +7,10 @@ This project adheres to [Semantic Versioning](http://semver.org).

No notable changes.

## [1.0.0] - 2017-02-14

No notable changes.

## [1.0.0-rc2] - 2017-02-13

The release candidate introduces backward compatibility breaking changes
Expand Down Expand Up @@ -49,4 +53,5 @@ but also streamlines the API and removes feature creep.
Initial release.

[Unreleased]: https://github.com/Rayne/wz2008-graph/compare/1.0.0-rc2...HEAD
[1.0.0]: https://github.com/Rayne/wz2008-graph/compare/1.0.0-rc2...1.0.0
[1.0.0-rc2]: https://github.com/Rayne/wz2008-graph/compare/1.0.0-rc1...1.0.0-rc2
2 changes: 1 addition & 1 deletion src/WzItem.php
Expand Up @@ -170,7 +170,7 @@ public function getChildrenByLevel($level)

$result = [];

$queue = new SplQueue();
$queue = new SplQueue;
$queue->enqueue($this);

while (!$queue->isEmpty()) {
Expand Down
5 changes: 4 additions & 1 deletion tests/Factory/WzClassificationFactoryTest.php
Expand Up @@ -11,6 +11,7 @@

use InvalidArgumentException;
use Rayne\wz2008\Graph\Test\AssetTestCase;
use Rayne\wz2008\Graph\WzClassificationInterface;
use Rayne\wz2008\Graph\WzItemInterface;

class WzClassificationFactoryTest extends AssetTestCase
Expand Down Expand Up @@ -40,7 +41,9 @@ public function testInvalidXmlFile($file)

public function testDefaultClassification()
{
WzClassificationFactory::build();
$this->assertInstanceOf(
WzClassificationInterface::class,
WzClassificationFactory::build());
}

public function testDefaultClassification_Count()
Expand Down

0 comments on commit c4d55aa

Please sign in to comment.