Set memory limit to -1 for phpstan precommit hooks

Created on 11 June 2025, 13 days ago

Problem/Motivation

When there is a large phpstan diff precommit hooks can oom.

πŸ“Œ Fix phpstan errors in UpdatePathTestTrait Active

https://git.drupalcode.org/project/drupal/-/blob/11.x/core/scripts/dev/c...

Might be worth adding --memory-limit=-1 so that phpstan never runs out of memory.

Alternatively we could add an option to pass in.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component

base system

Created by

πŸ‡ΊπŸ‡ΈUnited States nicxvan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024