Skip to content

Commit

Permalink
Merge pull request #103 from Lctrs/dependabot/composer/doctrine/codin…
Browse files Browse the repository at this point in the history
…g-standard-8.0.0

Build(deps-dev): Bump doctrine/coding-standard from 7.0.2 to 8.0.0
  • Loading branch information
Lctrs committed Jun 3, 2020
2 parents 9643c70 + 0d6d799 commit d22990b
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 50 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -14,7 +14,7 @@
"php": "^7.2.9"
},
"require-dev": {
"doctrine/coding-standard": "^7.0.2",
"doctrine/coding-standard": "^8.0.0",
"ergebnis/composer-normalize": "^2.5.1",
"ergebnis/license": "^1.0.0",
"ergebnis/test-util": "^1.0.0",
Expand Down
92 changes: 47 additions & 45 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/Example.php
Expand Up @@ -14,12 +14,12 @@ private function __construct(string $name)
$this->name = $name;
}

public static function fromName(string $name) : self
public static function fromName(string $name): self
{
return new self($name);
}

public function name() : string
public function name(): string
{
return $this->name;
}
Expand Down
2 changes: 1 addition & 1 deletion test/AutoReview/SrcCodeTest.php
Expand Up @@ -16,7 +16,7 @@ final class SrcCodeTest extends TestCase
{
use Helper;

public function testSrcClassesHaveUnitTests() : void
public function testSrcClassesHaveUnitTests(): void
{
self::assertClassesHaveTests(
__DIR__ . '/../../src/',
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/ExampleTest.php
Expand Up @@ -17,7 +17,7 @@ final class ExampleTest extends TestCase
{
use Helper;

public function testFromNameReturnsExample() : void
public function testFromNameReturnsExample(): void
{
$name = self::faker()->sentence;

Expand Down

0 comments on commit d22990b

Please sign in to comment.