Skip to content

Minor feature improvements and bug fixes - #115

Merged
rcalicdan merged 8 commits into
mainfrom
internal-improvements-40
Oct 11, 2026
Merged

rcalicdan merged 8 commits into
mainfrom
internal-improvements-40

Conversation

@rcalicdan

Copy link
Copy Markdown
Member

No description provided.

- Added 'fail_on_zero_files' configuration option to terminate the process if no application files are instrumented.
- Updated report structure to include context and summary details about instrumented files.
- Improved error handling in the ReportCommand to distinguish between clean runs and cases with zero instrumented files.
- Introduced telemetry tracking for instrumented files during report mode, allowing for better diagnostics.
- Enhanced the ViolationCollector to manage shutdown handlers and report generation more effectively.
- Added tests for zero-files detection, ensuring proper behavior when no files are instrumented.
- Updated configuration loading to prioritize 'typephp.php' over 'composer.json' for project root resolution.
…dator and UnionValidator; add tests for nullable stdClass shape contract
…eters; add tests for variable resolution in multi-line contexts
… enhance test structure for 8.2 ci compatibility
@codecov

codecov Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 79.56204% with 28 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/Internal/Reporting/ViolationCollector.php 71.73% 13 Missing ⚠️
src/Internal/Util/Config.php 81.63% 9 Missing ⚠️
src/Internal/Docblock/DocblockParser.php 80.00% 3 Missing ⚠️
src/Internal/Io/StreamWrapper.php 86.36% 3 Missing ⚠️

📢 Thoughts on this report? Let us know!

@rcalicdan rcalicdan linked an issue Oct 11, 2026 that may be closed by this pull request
@rcalicdan
rcalicdan merged commit fb08b46 into main Oct 11, 2026
15 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.

Make a run that checks nothing distinguishable from a clean run

1 participant