final class DeprecationComparator (View source)

Checks if a function/method is deprecated in reflection but not in stubs.

One-directional: reflection-deprecated -> stub must be deprecated. The reverse is not enforced.

Methods

static bool
isMismatch(PHPFunction $reflCallable, PHPFunction $stubCallable)

No description

Details

static bool isMismatch(PHPFunction $reflCallable, PHPFunction $stubCallable)

No description

Parameters

PHPFunction $reflCallable
PHPFunction $stubCallable

Return Value

bool