Lines Matching refs:old_data

115         $old_data = [
124 $old_data2 = array_replace($old_data, ['duedate' => clone $old_data['duedate']]);
135 $new_data, $old_data, 'assigned'
138 RemovedNotifier::class, [$old_data['assignees'][2]],
139 $new_data, $old_data, 'removed'
143 $old_data, 'date'
148 array_replace($old_data, ['status' => 'Completed']),
153 $old_data, 'closedstatus'
158 $old_data, 'self_removal'
162 array_slice($old_data['assignees'], 0, -1), $empty_data,
163 $old_data, 'deleted'
182 OpenStatusNotifier::class, [], $old_data,
186 SelfRemovalNotifier::class, [], $old_data,
191 array_replace($old_data, ['assignees' => $all_but_editor]),
197 $old_data, 'deleted'
215 OpenStatusNotifier::class, [], $old_data,
224 $empty_data, $old_data, 'selfremoval'
231 ClosedStatusNotifier::class, [], $empty_data, $old_data,
239 ReminderNotifier::class, $old_data['assignees'],
240 array_replace($old_data, ['duedate' => $tomorrow]),
241 array_replace($old_data, ['duedate' => $tomorrow]),
251 ReminderNotifier::class, [], $old_data, $old_data,
256 array_replace($old_data, ['duedate' => null, 'duedate_formatted' => '']),
257 array_replace($old_data, ['duedate' => null, 'duedate_formatted' => '']),
261 TodayNotifier::class, $old_data['assignees'],
262 array_replace($old_data, ['duedate' => $today]),
263 array_replace($old_data, ['duedate' => clone $today]),
273 TodayNotifier::class, [], $old_data, $old_data, 'today'
277 array_replace($old_data, ['duedate' => null, 'duedate_formatted' => '']),
278 array_replace($old_data, ['duedate' => null, 'duedate_formatted' => '']),
282 OverdueNotifier::class, $old_data['assignees'], $old_data,
290 array_replace($old_data, ['duedate' => $tomorrow]),
291 array_replace($old_data, ['duedate' => $tomorrow]),
296 array_replace($old_data, ['duedate' => null, 'duedate_formatted' => '']),
297 array_replace($old_data, ['duedate' => null, 'duedate_formatted' => '']),
306 public function testNotifiers($notifier, $recipients, $new_data, $old_data, $key) { argument
320 'PREVSTATUS' => $old_data['status'],
322 'PREVDUEDATE' => $old_data['duedate_formatted'],
357 $old_data,
363 $old_data = [
376 ->with($this->equalTo($old_data['assignees'][0]));
384 'PREVSTATUS' => $old_data['status'],
386 'PREVDUEDATE' => $old_data['duedate_formatted'],
415 $old_data,