Applied CS fixer

This commit is contained in:
Kevin Frantz
2018-10-29 19:01:00 +01:00
parent 91c41105c7
commit 6bc95f9729
46 changed files with 270 additions and 281 deletions

View File

@@ -1,4 +1,5 @@
<?php
namespace tests\unit\Entity\Source;
use PHPUnit\Framework\TestCase;
@@ -6,15 +7,11 @@ use App\Entity\Source\NameSourceInterface;
use App\Entity\Source\NameSource;
/**
*
* @author kevinfrantz
*
*/
class NameSourceTest extends TestCase
{
/**
*
* @var NameSourceInterface
*/
protected $nameSource;
@@ -23,12 +20,12 @@ class NameSourceTest extends TestCase
{
$this->nameSource = new NameSource();
}
public function testName():void{
public function testName(): void
{
$this->assertEquals('', $this->nameSource->getName());
$name = 'Hello World!';
$this->nameSource->setName($name);
$this->assertEquals($name, $this->nameSource->getName());
}
}