A verification gate for AI-written PHP: lint, PHPStan, tests
AI-written PHP looks plausible, which is the problem. One Composer script runs lint, PHP-CS-Fixer, PHPStan and PHPUnit, and a Stop hook keeps the agent working while it is red.
AI-written PHP looks plausible, which is the problem. One Composer script runs lint, PHP-CS-Fixer, PHPStan and PHPUnit, and a Stop hook keeps the agent working while it is red.
TYPO3 v14 removed $GLOBALS[‘TSFE’]. Here is how page id, language, TypoScript and routing data come from PSR-7 request attributes in controllers, middlewares and ViewHelpers.
Setting up typo3/testing-framework for a v13/v14 extension: a FunctionalTestCase, CSV fixtures, a custom repository query and a database assertion, run inside DDEV.