🐛 Bug Fixes
- Pest namespace resolution: Moved
useimports aboveuses()calls in 103 test files. PHP resolvesusestatements in source order, souses(TestCase::class)beforeuse Happytodev\Blogr\Tests\TestCase;resolved relative to thePest\Bootstrappersnamespace whereinclude_onceexecutes. - CI Playwright: Added
npm install playwrightbeforenpx playwright installto fix browser test setup. - CI coverage: Added
--no-coverageflag —phpunit.xml.disthasfailOnWarning=trueand<coverage>config caused exit 1 without a driver. - CI Pint auto-push: Added
permissions: contents: writeandx-access-tokenauthentication to fix 403 on auto-commit. - CI corrupted files: Fixed 4 PHP files with duplicated
<?php<?php, escaped\$, and merged lines that blocked Pint from running. - Category factory race: Added
Str::random(6)suffix to slug inCategoryFactory::definition()to prevent unique constraint violations in parallel test runs.
🔧 Maintenance
- Release manager skill: Reordered workflow to show changelog preview before asking bump type.