Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
40 Tests Quality
nowo-tech/legal-kit-bundle
cursor
symfony
i18n
bundle
cookies
symfony-bundle
legal
privacy-policy
gdpr
frankenphp
nowo
legal-notice
terms-of-use
lssi

Tests and quality rules

Install
php artisan boost:add-skill nowo-tech/legal-kit-bundle

Save this content to: .cursor/rules/40-tests-quality.mdc

When changing behavior, prefer adding or updating the nearest relevant test.

Prefer:
- one focused test
- minimal fixture changes
- preserving the existing testing style
- test updates close to the changed behavior

Do not introduce new testing frameworks unless explicitly requested.
Do not rewrite unrelated tests.

Commands (Docker, from the repository root):
- `make test` — PHPUnit; `make test-coverage` — PHPUnit with coverage (`coverage-php.txt`)
- `make coverage-check` — PHPUnit with the ≥ 99% line gate
- `make qa` — PHP-CS-Fixer check, PHPStan and PHPUnit; `make rector-dry` — Rector dry run
- `make release-check` — full pre-release gate (QA, Igor, coverage, translations, demos)
- New HTML handling: extend the sanitiser corpus (`tests/Unit/Sanitizer/DomAllowlistSanitizerTest.php`)
- `make -C demo/symfony8 test-e2e` — Playwright end-to-end tests against the demo

When changing behavior, prefer adding or updating the nearest relevant test.

Prefer:

  • one focused test
  • minimal fixture changes
  • preserving the existing testing style
  • test updates close to the changed behavior

Do not introduce new testing frameworks unless explicitly requested. Do not rewrite unrelated tests.

Commands (Docker, from the repository root):

  • make test — PHPUnit; make test-coverage — PHPUnit with coverage (coverage-php.txt)
  • make coverage-check — PHPUnit with the ≥ 99% line gate
  • make qa — PHP-CS-Fixer check, PHPStan and PHPUnit; make rector-dry — Rector dry run
  • make release-check — full pre-release gate (QA, Igor, coverage, translations, demos)
  • New HTML handling: extend the sanitiser corpus (tests/Unit/Sanitizer/DomAllowlistSanitizerTest.php)
  • make -C demo/symfony8 test-e2e — Playwright end-to-end tests against the demo
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console