Passed
Pull Request — master (#84)
by Maxime
02:53
created
src/DoctrineAuditBundle/EventSubscriber/AuditSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
 
48 48
         // extend the SQL logger
49 49
         $this->loggerBackup = $em->getConnection()->getConfiguration()->getSQLLogger();
50
-        $auditLogger = new AuditLogger(function () use ($em) {
50
+        $auditLogger = new AuditLogger(function() use ($em) {
51 51
             // flushes pending data
52 52
             $em->getConnection()->getConfiguration()->setSQLLogger($this->loggerBackup);
53 53
             $uow = $em->getUnitOfWork();
Please login to merge, or discard this patch.
src/DoctrineAuditBundle/AuditManager.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -18,11 +18,11 @@
 block discarded – undo
18 18
      */
19 19
     private $transaction_hash;
20 20
 
21
-    private $inserted = [];     // [$source, $changeset]
22
-    private $updated = [];      // [$source, $changeset]
23
-    private $removed = [];      // [$source, $id]
24
-    private $associated = [];   // [$source, $target, $mapping]
25
-    private $dissociated = [];  // [$source, $target, $id, $mapping]
21
+    private $inserted = []; // [$source, $changeset]
22
+    private $updated = []; // [$source, $changeset]
23
+    private $removed = []; // [$source, $id]
24
+    private $associated = []; // [$source, $target, $mapping]
25
+    private $dissociated = []; // [$source, $target, $id, $mapping]
26 26
 
27 27
     /**
28 28
      * @var AuditHelper
Please login to merge, or discard this patch.