Skip to content

Conversation

@michalsn
Copy link
Member

Description
This PR replaces time() calls with the mockable Time class to decouple router cache from the current time.

See: #9874 (comment)

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

@michalsn michalsn added testing Pull requests that changes tests only 4.7 labels Jan 10, 2026
@michalsn michalsn merged commit cb9bcc8 into codeigniter4:4.7 Jan 10, 2026
49 checks passed
@michalsn
Copy link
Member Author

Thank you @paulbalandan

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

Labels

4.7 testing Pull requests that changes tests only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants