add psalm and travis check

This commit is contained in:
Dominik Liebler
2019-08-31 14:31:01 +02:00
parent 88bd6ab7f1
commit 5fb2980b45
17 changed files with 1215 additions and 45 deletions

View File

@@ -9,9 +9,6 @@ use PHPUnit\Framework\TestCase;
class RegistryTest extends TestCase
{
/**
* @var Service|MockObject
*/
private $service;
protected function setUp(): void
@@ -21,6 +18,7 @@ class RegistryTest extends TestCase
public function testSetAndGetLogger()
{
/** @noinspection PhpParamsInspection */
Registry::set(Registry::LOGGER, $this->service);
$this->assertSame($this->service, Registry::get(Registry::LOGGER));