Skip to content

PolicyChecks ​

php
final class Zairakai\LaravelDevTools\Update\PolicyChecks

What the policy of a project forbids: the requirements that break it, and the entries that are lifted or inherited.

Source: src/Update/PolicyChecks.php

Methods ​

isLifted() ​

php
public static function isLifted(array $entry, array $ranges): bool

Whether the condition of an entry of the policy is met: every package of peers accepts the version in its range.

ParameterDescription
$rangesThe range in which each peer requires the package, by peer.

policyViolations() ​

php
public static function policyViolations(array $blocked, array $beforeManifest, array $afterManifest, array $beforeLock, array $afterLock): array

The packages of the policy whose version changes: in the manifest (a range moves) or in the lock file. A package that is added or removed is not an update.

Returns list<string>

Documentation of 5.5.0 , built from 92a7387 on 5.5.0 by pipeline #3086393151 on 2026-11-18.