mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-09-20 01:36:14 +02: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 ## x.y.z
### Added ### Added
- Composer script for PHP code sniffer fixing (#21)
- Run the functional tests in parallel - Run the functional tests in parallel
- Add PHP-CS-Fixer - Add PHP-CS-Fixer
- Add support for PHP 7.3 - Add support for PHP 7.3

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1); declare(strict_types=1);
namespace TTN\Tea\Tests\Unit\Domain\Repository\Product; 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);'" "@php -r 'file_exists($extFolder=__DIR__.\"/.Build/public/typo3conf/ext/tea\") || symlink(__DIR__,$extFolder);'"
], ],
"fix:php-cs": "php-cs-fixer fix", "fix:php-cs": "php-cs-fixer fix",
"fix:php-sniff": "phpcbf Classes Tests",
"post-autoload-dump": [ "post-autoload-dump": [
"@link-extension" "@link-extension"
] ]