Skip to content

[FEATURE] Add CI/CD setup generation based on TYPO3 tea extension#825

Draft
PKuhlmay wants to merge 1 commit into
mainfrom
feature/issue-430-add-tea-ci-cd-to-generated-code
Draft

[FEATURE] Add CI/CD setup generation based on TYPO3 tea extension#825
PKuhlmay wants to merge 1 commit into
mainfrom
feature/issue-430-add-tea-ci-cd-to-generated-code

Conversation

@PKuhlmay
Copy link
Copy Markdown
Collaborator

Summary

Generated files

  • .github/workflows/ci.yml — GitHub Actions workflow (PHP lint, PHPStan, PHP-CS-Fixer, unit + functional tests matrix)
  • phpstan.neon — PHPStan configuration (level 8)
  • .php-cs-fixer.php — PHP-CS-Fixer configuration with TYPO3 coding standards
  • Build/phpunit/UnitTests.xml + FunctionalTests.xml — PHPUnit XML configs

Changes to generated composer.json

Adds dev dependencies (phpstan, php-cs-fixer, parallel-lint, coding-standards) and composer scripts (check:php:lint, check:php:stan, check:php:cs-fixer, check:tests:unit, check:tests:functional, fix:php:cs-fixer).

Test plan

  • Enable "Generate CI setup" checkbox in Extension Builder UI
  • Verify all 5 CI files are generated in the correct locations
  • Verify composer.json contains the additional dev dependencies and scripts
  • Verify .gitignore includes .phpunit.cache and .php-cs-fixer.cache
  • Verify .gitattributes includes Build/ as export-ignore

🤖 Generated with Claude Code

@PKuhlmay PKuhlmay changed the title WIP [FEATURE] Add CI/CD setup generation based on TYPO3 tea extension [WIP] [FEATURE] Add CI/CD setup generation based on TYPO3 tea extension Apr 15, 2026
@PKuhlmay PKuhlmay added the WIP Work in progress, but not finished yet label Apr 15, 2026
@PKuhlmay PKuhlmay changed the title [WIP] [FEATURE] Add CI/CD setup generation based on TYPO3 tea extension [FEATURE] Add CI/CD setup generation based on TYPO3 tea extension Apr 17, 2026
@PKuhlmay PKuhlmay marked this pull request as ready for review April 17, 2026 21:44
@PKuhlmay PKuhlmay enabled auto-merge (squash) April 17, 2026 21:45
@github-actions github-actions Bot added the enhancement New feature or request label Apr 17, 2026
@PKuhlmay PKuhlmay disabled auto-merge April 17, 2026 21:45
@PKuhlmay PKuhlmay marked this pull request as draft April 17, 2026 21:45
Introduces a new optional `generateCiSetup` flag that generates CI/CD
configuration files when building an extension:

- GitHub Actions workflow (.github/workflows/ci.yml) with PHP lint,
  code quality (PHPStan, PHP-CS-Fixer) and test matrix jobs
- PHPStan configuration (phpstan.neon, level 8)
- PHP-CS-Fixer configuration (.php-cs-fixer.php)
- PHPUnit XML configs (Build/phpunit/UnitTests.xml + FunctionalTests.xml)
- Extended composer.json with dev dependencies (phpstan, php-cs-fixer,
  parallel-lint, coding-standards) and composer scripts (check:php:*,
  check:tests:*, fix:php:cs-fixer)

Also adds Build/ to .gitattributes export-ignore and .phpunit.cache /
.php-cs-fixer.cache to .gitignore template.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@PKuhlmay PKuhlmay force-pushed the feature/issue-430-add-tea-ci-cd-to-generated-code branch from 60c7841 to da23bf9 Compare April 19, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request WIP Work in progress, but not finished yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add more stuff from tea extension into generated code

1 participant