Test Failed
Push — feature/locators-issue-82 ( cd9965 )
by Sebastian
13:56
created
src/Rendering/Layout.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -91,8 +91,7 @@  discard block
 block discarded – undo
91 91
         }
92 92
 
93 93
         if (CiteProc::getContext()->isModeBibliography()) {
94
-            foreach ($data as $citationNumber => $item) {
95
-                ++self::$numberOfCitedItems;
94
+            foreach ($data as $citationNumber => $item) {++self::$numberOfCitedItems;
96 95
                 CiteProc::getContext()->getResults()->append(
97 96
                     $this->wrapBibEntry($item, $this->renderSingle($item, $citationNumber))
98 97
                 );
@@ -217,7 +216,7 @@  discard block
 block discarded – undo
217 216
     {
218 217
         $arr = $data->toArray();
219 218
 
220
-        $arr_ = array_filter($arr, function ($dataItem) use ($citationItems) {
219
+        $arr_ = array_filter($arr, function($dataItem) use ($citationItems) {
221 220
             foreach ($citationItems as $citationItem) {
222 221
                 if ($dataItem->id === $citationItem->id) {
223 222
                     return true;
Please login to merge, or discard this patch.
src/Util/NameHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -310,7 +310,7 @@
 block discarded – undo
310 310
             return false;
311 311
         }
312 312
 
313
-        array_walk($persons1, function ($name, $key) use ($persons2, &$same) {
313
+        array_walk($persons1, function($name, $key) use ($persons2, &$same) {
314 314
             $family1 = $name->family;
315 315
             $family2 = $persons2[$key]->family;
316 316
             $same = $same && ($family1 === $family2);
Please login to merge, or discard this patch.