1
0
mirror of https://github.com/php/phd.git synced 2026-03-23 22:52:05 +01:00

3 Commits

Author SHA1 Message Date
haszi
15284136ff Separate regular PhD output from error handling (#176)
- Move error handling code into a class and remove PhD message output handling from it.
- Introduce a new class to handle PhD message output.
- Make the implicit dependency on the output functionality of classes explicit.
- Update PEAR package.xml.
- Fix tests.
- Use proper variadic parameters
- Use class constants
- Use first-class callable syntax

---------

Co-authored-by: haszi <haszika80@gmail.com>
2024-11-10 17:57:05 +00:00
haszi
e817ea8c42 Refactor Partial Reader
Inject all dependencies in the constructor.
Add parameter and return type hints.
Remove unused variables.
Add test.
2024-04-16 11:13:06 +01:00
haszi
5b52aac2fb Refactor Reader
Add method parameter and return types.
Make readNode method private.
Change equality to identity comparison for string.
Remove unnecessary comments and empty lines.
Add test.
2024-04-16 11:13:06 +01:00