Commit 69427f06 authored by Thomas Löffler's avatar Thomas Löffler
Browse files

[TASK] Fix testing scripts and CGL

parent 8f125776
......@@ -46,7 +46,7 @@ stages:
stage: test
image: ekreative/php-cs-fixer:3
script:
- php-cs-fixer fix --dry-run --diff --format junit > .Build/php-cs-fixer.xml
- composer exec php-cs-fixer fix -n --diff --format junit > .Build/php-cs-fixer.xml
artifacts:
reports:
junit:
......@@ -66,7 +66,7 @@ stages:
before_script:
- composer install --ignore-platform-reqs
script:
- composer test:rector
- composer exec rector
"Publish new version to TER":
stage: release
......
......@@ -4,6 +4,7 @@ declare(strict_types=1);
namespace SpoonerWeb\BeSecurePw\Form\Element;
use TYPO3\CMS\Backend\Routing\Exception\RouteNotFoundException;
use SpoonerWeb\BeSecurePw\Database\Event\AddForceResetPasswordLinkEvent;
use TYPO3\CMS\Backend\Form\Element\AbstractFormElement;
use TYPO3\CMS\Backend\Routing\UriBuilder;
......@@ -26,7 +27,7 @@ class ForcePasswordChangeButton extends AbstractFormElement
{
/**
* @return array<string>
* @throws \TYPO3\CMS\Backend\Routing\Exception\RouteNotFoundException
* @throws RouteNotFoundException
*/
public function render(): array
{
......
......@@ -5,15 +5,14 @@ declare(strict_types=1);
use Rector\Core\Configuration\Option;
use Rector\Core\ValueObject\PhpVersion;
use Rector\Php55\Rector\String_\StringClassNameToClassConstantRector;
use Rector\PostRector\Rector\NameImportingPostRector;
use Ssch\TYPO3Rector\Configuration\Typo3Option;
use Ssch\TYPO3Rector\FileProcessor\Composer\Rector\ExtensionComposerRector;
use Ssch\TYPO3Rector\FileProcessor\TypoScript\Rector\ExtbasePersistenceTypoScriptRector;
use Ssch\TYPO3Rector\FileProcessor\TypoScript\Rector\FileIncludeToImportStatementTypoScriptRector;
use Ssch\TYPO3Rector\Rector\v9\v0\InjectAnnotationRector;
use Ssch\TYPO3Rector\Rector\General\ConvertImplicitVariablesToExplicitGlobalsRector;
use Ssch\TYPO3Rector\Rector\General\ExtEmConfRector;
use Ssch\TYPO3Rector\Rector\v9\v0\InjectAnnotationRector;
use Ssch\TYPO3Rector\Set\Typo3LevelSetList;
use Ssch\TYPO3Rector\FileProcessor\TypoScript\Rector\ExtbasePersistenceTypoScriptRector;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment