Skip to content

[TASK] Allow PHPStan to use unlimited processes#1550

Merged
JakeQZ merged 1 commit intomainfrom
task/phpstan-processes
Feb 26, 2026
Merged

[TASK] Allow PHPStan to use unlimited processes#1550
JakeQZ merged 1 commit intomainfrom
task/phpstan-processes

Conversation

@oliverklee
Copy link
Collaborator

@oliverklee oliverklee commented Feb 26, 2026

This helps speed up local development and CI.

@oliverklee oliverklee requested a review from JakeQZ February 26, 2026 10:38
@oliverklee oliverklee self-assigned this Feb 26, 2026
@oliverklee oliverklee added the developer-specific Issues that only affect maintainers, contributors, and people submitting PRs label Feb 26, 2026
@oliverklee oliverklee force-pushed the task/phpstan-processes branch from bf10442 to 99a0bf3 Compare February 26, 2026 10:42
This helps speed up local development and CI.
@oliverklee oliverklee force-pushed the task/phpstan-processes branch from 99a0bf3 to 32368db Compare February 26, 2026 17:23
Copy link
Collaborator

@JakeQZ JakeQZ left a comment

Choose a reason for hiding this comment

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

I had noticed the PHPStan step taking a short while after making code changes, but does this really speed it up? On a quad-core CPU, I wouldn't expect increasing maximumNumberOfProcesses beyond 4 to make any significant difference.

@oliverklee
Copy link
Collaborator Author

I had noticed the PHPStan step taking a short while after making code changes, but does this really speed it up?

Yes, on my machine it does. (I have a fat desktop machine with 16 cores, though.) 💪

Copy link
Collaborator

@JakeQZ JakeQZ left a comment

Choose a reason for hiding this comment

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

Yes, on my machine it does. (I have a fat desktop machine with 16 cores, though.) 💪

Blimey. I didn't know such a beast was possible.

I don't think this change is going to impact the CI servers - they have to complete the job eventually - either now or later - and I don't expect they have another purpose such as hosting websites which could be compromised. I think this setting is intended for dedicated server or VPS environments where the server is also providing website hosting.

@JakeQZ JakeQZ merged commit c4f46fe into main Feb 26, 2026
24 checks passed
@JakeQZ JakeQZ deleted the task/phpstan-processes branch February 26, 2026 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

developer-specific Issues that only affect maintainers, contributors, and people submitting PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants