DeploymentStrategy::getChangesModificationNeeded PHP Method

getChangesModificationNeeded() public method

Filter the changeset where modification was not required.
    public function getChangesModificationNeeded()
    {
        $filtered = [];
        foreach ($this->changes as $change => $details) {
            if (!empty($details['description'])) {
                $filtered[$change] = $details;
            } else {
                if ((array_key_exists('from', $details) || array_key_exists('to', $details)) && $details['from'] !== $details['to']) {
                    $filtered[$change] = $details;
                }
            }
        }
        return $filtered;
    }