-
-
Notifications
You must be signed in to change notification settings - Fork 0
ManagedConfigPathSynchronizer
github-actions edited this page Apr 30, 2026
·
1 revision
Synchronizes deprecated DevTools-managed GrumPHP composer metadata without leaking package paths into consumers.
- Full name:
\FastForward\DevTools\GrumPhp\ManagedConfigPathSynchronizer - This class is marked as final and can't be subclassed
- This class is a Final class
Removes deprecated DevTools-managed GrumPHP config-default-path entries while preserving consumer-owned values.
public synchronize(array<string,mixed> $extra, string $workingDirectory, string $managedConfigPath): array<string,mixed>Parameters:
| Parameter | Type | Description |
|---|---|---|
$extra |
array<string,mixed> | the composer.json extra payload |
$workingDirectory |
string | the consumer project directory |
$managedConfigPath |
string | the active packaged GrumPHP config path |
Return Value:
the synchronized composer extra payload
Reports whether a config-default-path value is managed by DevTools.
public isManagedConfigPath(string $configDefaultPath, string $workingDirectory, string $managedConfigPath): boolParameters:
| Parameter | Type | Description |
|---|---|---|
$configDefaultPath |
string | the stored composer extra path value |
$workingDirectory |
string | the consumer project directory |
$managedConfigPath |
string | the active packaged GrumPHP config path |