Passed
Branch master (ce4584)
by NexusLink
02:55 queued 26s
created
Tests/bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 // Needed for isolated tests
3
-require_once __DIR__.'/../vendor/autoload.php';
3
+require_once __DIR__ . '/../vendor/autoload.php';
4 4
 
5 5
 ini_set('precision', 14);
6 6
 ini_set('serialize_precision', 14);
Please login to merge, or discard this patch.
src/ProfanityFilter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
         if (!empty($pathToYml)) {
24 24
             $this->pathToYml = $pathToYml;
25 25
         } else {
26
-            $this->pathToYml = __DIR__."/../Resources/config/config.yml";
26
+            $this->pathToYml = __DIR__ . "/../Resources/config/config.yml";
27 27
         }
28 28
     }
29 29
 
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
         $whiteList = $configArray['profanities']['bad_words'];
39 39
         $replaceWith = $configArray['profanities']['replace_with'];
40 40
         
41
-        if(!empty($content) && !empty($whiteList)) {
41
+        if (!empty($content) && !empty($whiteList)) {
42 42
             $content = ProfanityWordPurifier::contentFilter($content, $whiteList, $replaceWith);
43 43
         }
44 44
         
Please login to merge, or discard this patch.