Skip to content

refactor: add precise parameter types to Router test fixtures - #10464

Open
soccerlover29 wants to merge 2 commits into
codeigniter4:developfrom
soccerlover29:fix/router-test-fixture-param-types
Open

refactor: add precise parameter types to Router test fixtures#10464
soccerlover29 wants to merge 2 commits into
codeigniter4:developfrom
soccerlover29:fix/router-test-fixture-param-types

Conversation

@soccerlover29

Copy link
Copy Markdown
Contributor

Description

Adds specific parameter types to 10 methods across the Router test fixtures and helper classes, replacing untyped parameters that PHPStan flagged as "no type specified." All changes are in test-only files. I tested it by running a full-project PHPStan scan and all the relevant tests.

Contributes to #7731 (PHPStan "no type specified" errors).

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value (without duplication)
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant