Fixed code style.

This commit is contained in:
Jan Böhmer 2020-01-04 20:24:09 +01:00
parent 1aed1d1d26
commit 9a7223a301
142 changed files with 534 additions and 716 deletions

View file

@ -21,7 +21,6 @@
namespace App\Tests\Services;
use App\Services\FAIconGenerator;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
@ -32,7 +31,7 @@ class FAIconGeneratorTest extends WebTestCase
*/
protected $service;
public function setUp() : void
public function setUp(): void
{
parent::setUp(); // TODO: Change the autogenerated stub
@ -41,7 +40,7 @@ class FAIconGeneratorTest extends WebTestCase
$this->service = self::$container->get(FAIconGenerator::class);
}
public function fileExtensionDataProvider() : array
public function fileExtensionDataProvider(): array
{
return [
['pdf', 'fa-file-pdf'],
@ -69,4 +68,4 @@ class FAIconGeneratorTest extends WebTestCase
$this->assertEquals('<i class="far fa-file "></i>', $this->service->generateIconHTML('fa-file', 'far'));
$this->assertEquals('<i class="far fa-file fa-2x"></i>', $this->service->generateIconHTML('fa-file', 'far', 'fa-2x'));
}
}
}