diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4a7c781..aa256ed 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -42,9 +42,6 @@ jobs: - name: CGL run: Build/Scripts/runTests.sh -n -p ${{ env.php }} -s cgl - - name: Rector - run: Build/Scripts/runTests.sh -n -p ${{ env.php }} -s rector - - name: PHPStan run: Build/Scripts/runTests.sh -p ${{ env.php }} -s phpstan diff --git a/Build/rector/rector.php b/Build/rector/rector.php index c15cfc2..5cec1cd 100644 --- a/Build/rector/rector.php +++ b/Build/rector/rector.php @@ -16,7 +16,6 @@ */ use Rector\Config\RectorConfig; -use Rector\Php74\Rector\LNumber\AddLiteralSeparatorToNumberRector; use Rector\TypeDeclaration\Rector\ClassMethod\AddVoidReturnTypeWhereNoReturnRector; use Rector\TypeDeclaration\Rector\ClassMethod\ReturnNeverTypeRector; use Ssch\TYPO3Rector\CodeQuality\General\ConvertImplicitVariablesToExplicitGlobalsRector; @@ -52,9 +51,6 @@ ExtEmConfRector::ADDITIONAL_VALUES_TO_BE_REMOVED => [], ]) ->withSkip([ - // AddLiteralSeparatorToNumberRector would make the exception codes more readable. - // But as they are just timestamps this is not needed/wanted. - AddLiteralSeparatorToNumberRector::class, ReturnNeverTypeRector::class => [ // We want to keep the ResponseInterface return type of indexAction() to be compatible // with the specification, although we just throw an exception for demonstration purpose. diff --git a/Configuration/TCA/Overrides/tt_content.php b/Configuration/TCA/Overrides/tt_content.php index 72407b0..06349f2 100644 --- a/Configuration/TCA/Overrides/tt_content.php +++ b/Configuration/TCA/Overrides/tt_content.php @@ -41,12 +41,6 @@ 'config' => [ 'type' => 'check', 'renderType' => 'checkboxToggle', - 'items' => [ - [ - 'label' => '', - 'value' => '', - ], - ], ], ], 'tx_examples_separator' => [ diff --git a/Makefile b/Makefile index 0dad717..516de31 100644 --- a/Makefile +++ b/Makefile @@ -13,12 +13,15 @@ test-docs: ## Test the documentation rendering mkdir -p Documentation-GENERATED-temp docker run --rm --pull always -v "$(shell pwd)":/project -t ghcr.io/typo3-documentation/render-guides:latest --config=Documentation --no-progress --fail-on-log +.PHONY: fix +fix: rector fix-cgl## Fix PHP coding styles + .PHONY: rector rector: ## Run rector Build/Scripts/runTests.sh -s rector -.PHONY: fix-cs -fix-cs: ## Fix PHP coding styles +.PHONY: fix-cgl +fix-cgl: ## Fix PHP coding styles Build/Scripts/runTests.sh -s cgl .PHONY: phpstan @@ -28,3 +31,7 @@ phpstan: ## Run phpstan tests .PHONY: phpstan-baseline phpstan-baseline: ## Update the phpstan baseline Build/Scripts/runTests.sh -s phpstanBaseline + +.PHONY: composerUpdate +composerUpdate: ## Update composer dependencies + Build/Scripts/runTests.sh -s composerUpdate