Skip to content

Dev#12

Merged
hakrichTech merged 13 commits intomainfrom
dev
May 4, 2026
Merged

Dev#12
hakrichTech merged 13 commits intomainfrom
dev

Conversation

@hakrichTech
Copy link
Copy Markdown
Contributor

@hakrichTech hakrichTech commented May 4, 2026

Description

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring / internal improvement
  • Test / CI improvement

Related Issues

Checklist

  • My code follows the project's coding style
  • I have added / updated tests that cover my changes
  • All existing tests still pass (composer test)
  • PHPStan passes at level 8 (composer phpstan)
  • I have updated the documentation / README if needed
  • The CHANGELOG.md entry is written (if user-facing)

Testing

# Example test steps
composer install
composer test

Screenshots / Terminal Output

Alshatri and others added 13 commits May 3, 2026 18:32
…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.
@hakrichTech hakrichTech merged commit 0ec825a into main May 4, 2026
5 of 8 checks passed
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.

2 participants