Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugger: minor refactoring and phpdoc #305

Merged
merged 4 commits into from
Jan 24, 2025
Merged

Debugger: minor refactoring and phpdoc #305

merged 4 commits into from
Jan 24, 2025

Conversation

vjik
Copy link
Member

@vjik vjik commented Jan 21, 2025

Q A
Is bugfix?
New feature?
Breaks BC? ✔️

@vjik vjik requested a review from a team January 21, 2025 18:34
@vjik vjik added the status:code review The pull request needs review. label Jan 21, 2025
src/Debugger.php Outdated
/**
* Stop debugger and collectors. Collected data isn't flushed to storage.
*/
public function terminate(): void
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest deactivate or disable. Terminate means that object would be accessible any longer

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The difference with shutdown is only about flushing data. Maybe pause is better here?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By the way, should it be as public api?

src/Debugger.php Outdated Show resolved Hide resolved
src/Debugger.php Outdated Show resolved Hide resolved
@vjik vjik requested a review from xepozz January 23, 2025 08:22
@vjik vjik merged commit e29bcf3 into master Jan 24, 2025
16 checks passed
@vjik vjik deleted the phpdoc branch January 24, 2025 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:code review The pull request needs review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants