netresearch/typo3-testing-skill / skills/typo3-testing
typo3-testing
FlaggedUse when reproducing defects as failing tests, testing template or rendered output changes, confirming changes on a running TYPO3 instance, or setting up TYPO3 extension tests: unit/functional/E2E, PHPUnit 11-13, mutation testing, final-class mocks (v14), CI matrix across TYPO3 12/13/14.3 LTS, typo3-ci-workflows meta-package, CI failures. Also: transaction rollback, worker crashes, competing requests, testing-framework setup, test matrix, integration/e2e testing, coverage, test generation.
assets/phpstan.neon
View on GitHub# PHPStan Configuration for TYPO3 Extensions
#
# Run with: Build/Scripts/runTests.sh -s phpstan
#
# CUSTOMIZATION REQUIRED:
# - Adjust paths if your directory structure differs
# - Update phpVersion to match your minimum PHP requirement
# - Add type aliases for your domain-specific types
includes:
- .Build/vendor/phpstan/phpstan/conf/bleedingEdge.neon
# Architecture testing (requires carlosas/phpat)
- .Build/vendor/phpat/phpat/extension.neon
- phpstan-baseline.neon
- phpat.neon
parameters:
level: 10
paths:
- Classes
- Tests/Architecture
excludePaths:
analyseAndScan:
# Add files to exclude from analysis
# - Classes/Legacy/OldClass.php
reportUnmatchedIgnoredErrors: false
# PHP version targeting (80200 = PHP 8.2, 80300 = PHP 8.3, etc.)
phpVersion: 80200
# Strict rules for maximum type safety
checkTooWideReturnTypesInProtectedAndPublicMethods: true
checkUninitializedProperties: true
# TYPO3-specific settings
# PHPDoc types can be unreliable in TYPO3 extensions
treatPhpDocTypesAsCertain: false
# Type aliases for domain-specific types
# Uncomment and customize for your extension
# typeAliases:
# MyOptions: 'array{enabled?: bool, limit?: int, items?: list<string>}'
# MyResult: 'array{success: bool, data: mixed, errors: list<string>}'
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |