Mercurial > hg > isophonics-drupal-site
comparison core/lib/Drupal/Component/Diff/Diff.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
146 } | 146 } |
147 if (serialize($from_lines) != serialize($rev->closing())) { | 147 if (serialize($from_lines) != serialize($rev->closing())) { |
148 trigger_error("Reversed closing doesn't match", E_USER_ERROR); | 148 trigger_error("Reversed closing doesn't match", E_USER_ERROR); |
149 } | 149 } |
150 | 150 |
151 | |
152 $prevtype = 'none'; | 151 $prevtype = 'none'; |
153 foreach ($this->edits as $edit) { | 152 foreach ($this->edits as $edit) { |
154 if ( $prevtype == $edit->type ) { | 153 if ( $prevtype == $edit->type ) { |
155 trigger_error("Edit sequence is non-optimal", E_USER_ERROR); | 154 trigger_error("Edit sequence is non-optimal", E_USER_ERROR); |
156 } | 155 } |