feat(attribute): Add HasNonce trait and nonce() method to manage nonce attribute for HTML elements.#35
Conversation
…`nonce` attribute for HTML elements.
📝 WalkthroughWalkthroughThe pull request introduces a new HasNonce trait for managing the global HTML nonce attribute with an immutable API. It includes the trait implementation, comprehensive test coverage via a PHPUnit test suite, a test data provider with multiple test cases, and updates to the changelog. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Pull Request
Summary by CodeRabbit
Release Notes
New Features
Tests
✏️ Tip: You can customize this high-level summary in your review settings.