Lines Matching refs:next
79 $next = [
85 if (!$next['type']) $next['type'] = 'stable';
86 if (!$next['date']) $next['date'] = date('Y-m-d');
87 if (!$next['codename']) $next['codename'] = $current['codename'];
88 $next['codename'] = ucwords(strtolower($next['codename']));
90 if (!in_array($next['type'], self::TYPES)) {
94 if ($next['type'] === 'hotfix') {
95 $next['update'] = floatval($current['update']) + 0.1;
96 $next['codename'] = $current['codename'];
97 $next['date'] = $current['date'];
98 $next['hotfix'] = $this->increaseHotfix($current['hotfix']);
100 $next['update'] = intval($current['update']) + 1;
103 if (!preg_match('/^\d{4}-\d{2}-\d{2}$/', $next['date'])) {
107 if ($current['date'] > $next['date']) {
111 if ($current['type'] === 'rc' && $next['type'] === 'hotfix') {
117 …if ($current['type'] === 'stable' && $next['type'] !== 'hotfix' && $current['codename'] === $next[…
121 $next['version'] = $next['date'] . ($next['type'] === 'rc' ? 'rc' : $next['hotfix']);
122 $next['raw'] = ($next['type'] === 'rc' ? 'rc' : '') .
123 $next['date'] .
124 $next['hotfix'] .
125 ' "' . $next['codename'] . '"';
131 foreach ($next as $k => $v) {