squizlabs / PHP_CodeSniffer

PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
BSD 3-Clause "New" or "Revised" License
10.68k stars 1.48k forks source link

Inform user if parallelization is disabled at runtime and why #3945

Closed Luc45 closed 7 months ago

Luc45 commented 7 months ago

Description

This PR introduces messages to inform users when parallelization is disabled at runtime and the reasons for it. These enhancements aim to improve user awareness in scenarios where parallel processing gets disabled due to unmet conditions like the absence of the pcntl PHP extension or high verbosity settings. By providing this information, users can better understand the behavior of the system and take appropriate actions if needed.

Suggested changelog entry

Related issues/external references

Fixes #

Disclaimer

I'm opening this PR from GitHub web. I don't have a local development copy of PHPCS to test this locally.

Types of changes

PR checklist

jrfnl commented 7 months ago

@Luc45 I'm fairly sure you are aware of #3932 ... i.e. don't open PRs in this repo anymore....

Luc45 commented 7 months ago

Ah yes, I forgot about that. Will port it over there, thanks.

Luc45 commented 7 months ago

Ported to https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/419

Closing this