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/wallet-qr-bundle
cursor
symfony
php
mobile
android
ios
wallet
google-wallet
symfony-bundle
qr-code
frankenphp
apple-wallet

Tests and quality rules

Install
php artisan boost:add-skill nowo-tech/wallet-qr-bundle

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

When changing behavior, prefer adding or updating the nearest relevant test
(`tests/Unit/<Namespace>/` mirrors `src/`, container wiring in `tests/Integration/`).

Prefer:
- one focused test
- PHPUnit attributes (`#[DataProvider]`, `#[CoversClass]`, ...), never `@test` / `@dataProvider` docblocks
- `Symfony\Component\Clock\MockClock` for time and an in-memory PSR-3 logger for log assertions
- obvious placeholders such as `REDACTED-TEST` instead of realistic secrets in fixtures
- preserving the existing testing style

Keep PHP line coverage at 100% (`make test-coverage`; CI enforces it). PHPStan stays at level 8 with no ignores (`make phpstan`).

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

When changing behavior, prefer adding or updating the nearest relevant test (tests/Unit/<Namespace>/ mirrors src/, container wiring in tests/Integration/).

Prefer:

  • one focused test
  • PHPUnit attributes (#[DataProvider], #[CoversClass], ...), never @test / @dataProvider docblocks
  • Symfony\Component\Clock\MockClock for time and an in-memory PSR-3 logger for log assertions
  • obvious placeholders such as REDACTED-TEST instead of realistic secrets in fixtures
  • preserving the existing testing style

Keep PHP line coverage at 100% (make test-coverage; CI enforces it). PHPStan stays at level 8 with no ignores (make phpstan).

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

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.
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin