Fixed coding style.

This commit is contained in:
Jan Böhmer 2020-05-10 21:39:31 +02:00
parent e9493e52ec
commit f5d685dfd4
71 changed files with 619 additions and 531 deletions

View file

@ -1,4 +1,7 @@
<?php
declare(strict_types=1);
/**
* This file is part of Part-DB (https://github.com/Part-DB/Part-DB-symfony).
*
@ -21,29 +24,25 @@
namespace App\Tests\Services\LabelSystem\PlaceholderProviders;
use App\Entity\Base\AbstractDBElement;
use App\Entity\Parts\Part;
use App\Services\LabelSystem\PlaceholderProviders\AbstractDBElementProvider;
use App\Services\LabelSystem\PlaceholderProviders\GlobalProviders;
use PHPUnit\Framework\TestCase;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class AbstractElementProviderTest extends WebTestCase
{
/** @var AbstractDBElementProvider */
/**
* @var AbstractDBElementProvider
*/
protected $service;
protected $target;
public function setUp(): void
protected function setUp(): void
{
self::bootKernel();
$this->service = self::$container->get(AbstractDBElementProvider::class);
$this->target = new class extends AbstractDBElement {
$this->target = new class() extends AbstractDBElement {
protected $id = 123;
/**
* @inheritDoc
*/
public function getIDString(): string
{
return 'ignore';