mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-09 23:56:14 +01:00

[CLEANUP] Fix PHP_Codesniffer issues

Resolves: #21
This commit is contained in:
Andreas Wolf 2019-12-07 12:13:32 +01:00 committed by Oliver Klee
parent 5b8aaf47fb
commit 3f3c9285d9
14 changed files with 14 additions and 0 deletions

View file

@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
## x.y.z
### Added
- Composer script for PHP code sniffer fixing (#21)
- Run the functional tests in parallel
- Add PHP-CS-Fixer
- Add support for PHP 7.3

View file

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
namespace TTN\Tea\Controller;

View file

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
namespace TTN\Tea\Domain\Model\Product;

View file

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
namespace TTN\Tea\Domain\Repository\Product;

View file

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
namespace TTN\Tea\Domain\Repository\Traits;

View file

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
namespace TTN\Tea\Tests\Acceptance;

View file

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**

View file

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
namespace Helper;

View file

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
namespace TTN\Tea\Tests\Functional\Controller;

View file

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
namespace TTN\Tea\Tests\Functional\Domain\Repository\Product;

View file

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
namespace TTN\Tea\Tests\Unit\Controller;

View file

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
namespace TTN\Tea\Tests\Unit\Domain\Model\Product;

View file

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
namespace TTN\Tea\Tests\Unit\Domain\Repository\Product;

View file

@ -88,6 +88,7 @@
"@php -r 'file_exists($extFolder=__DIR__.\"/.Build/public/typo3conf/ext/tea\") || symlink(__DIR__,$extFolder);'"
],
"fix:php-cs": "php-cs-fixer fix",
"fix:php-sniff": "phpcbf Classes Tests",
"post-autoload-dump": [
"@link-extension"
]