Dev#16
Conversation
…ode clarity - Updated write, writeError, writeRaw, and writeErrorRaw methods in ConsoleIO to use mixed type for messages. - Enhanced readability by adding new lines and consistent formatting in ConsoleIO, Colors, Fuzzy, Input, Key, RenderContext, Renderer, Shell, ShellResult, Spinner, SpinnerFrames, State, Terminal, Hooks, IOInterface, IPromptComponent, IRenderer, and NullIO. - Introduced a new filtered method in State for case-insensitive substring matching. - Added .editorconfig and .gitattributes for consistent coding standards and line endings. - Created phpunit.xml.dist and rector.php for testing and code quality tools. - Updated tests for consistency and clarity in various test files.
…Spinner, and their components - Introduced BufferIOUserInputsTest to validate user input handling in commands. - Added ShellTest to ensure shell command execution and output capture works correctly. - Created AlertTest to verify alert rendering for success, error, warning, and info messages. - Implemented RendererTest to check rendering logic and output for various states. - Developed SpinnerFramesTest and SpinnerTest to validate spinner frame functionality and behavior.
…update CoversClass attributes - Updated test classes (ColorsTest, FuzzyTest, HooksTest, InputTest, KeyTest, NullIOTest, RenderContextTest, RendererTest, ShellResultTest, SpinnerFramesTest, SpinnerTest, StateTest, TableTest) to use static function syntax for closures in various test methods. - Changed CoversClass attributes to use the class name directly instead of the fully qualified name. - Cleaned up formatting for better consistency across test files.
|
Warning Review limit reached
More reviews will be available in 38 minutes and 11 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Description
Type of Change
Related Issues
Checklist
composer test)composer phpstan)CHANGELOG.mdentry is written (if user-facing)Testing
Screenshots / Terminal Output