Completed
Push — develop ( 7d17ce...a491eb )
by greg
11:44
created
src/Service/Factory/ShortenUrlFactory.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,9 +8,9 @@
 block discarded – undo
8 8
 class ShortenUrlFactory implements FactoryInterface
9 9
 {
10 10
     /**
11
-    * @param ServiceLocatorInterface $locator
12
-    * @return \PlaygroundCore\Service\ShortenUrl
13
-    */
11
+     * @param ServiceLocatorInterface $locator
12
+     * @return \PlaygroundCore\Service\ShortenUrl
13
+     */
14 14
     public function createService(ServiceLocatorInterface $locator)
15 15
     {
16 16
         $service = new ShortenUrl($locator);
Please login to merge, or discard this patch.
src/Service/Factory/CronFactory.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,9 +8,9 @@
 block discarded – undo
8 8
 class CronFactory implements FactoryInterface
9 9
 {
10 10
     /**
11
-    * @param ServiceLocatorInterface $locator
12
-    * @return \PlaygroundCore\Service\Cron
13
-    */
11
+     * @param ServiceLocatorInterface $locator
12
+     * @return \PlaygroundCore\Service\Cron
13
+     */
14 14
     public function createService(ServiceLocatorInterface $locator)
15 15
     {
16 16
         $service = new Cron($locator);
Please login to merge, or discard this patch.
src/Service/Factory/FrontendSwitchLocaleControllerFactory.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,9 +8,9 @@
 block discarded – undo
8 8
 class FrontendSwitchLocaleControllerFactory implements FactoryInterface
9 9
 {
10 10
     /**
11
-    * @param ServiceLocatorInterface $locator
12
-    * @return \PlaygroundCore\Controller\Frontend\SwitchLocaleController
13
-    */
11
+     * @param ServiceLocatorInterface $locator
12
+     * @return \PlaygroundCore\Controller\Frontend\SwitchLocaleController
13
+     */
14 14
     public function createService(ServiceLocatorInterface $locator)
15 15
     {
16 16
         $controller = new SwitchLocaleController($locator);
Please login to merge, or discard this patch.
src/Service/Factory/AdminFormgenControllerFactory.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,9 +8,9 @@
 block discarded – undo
8 8
 class AdminFormgenControllerFactory implements FactoryInterface
9 9
 {
10 10
     /**
11
-    * @param ServiceLocatorInterface $locator
12
-    * @return \PlaygroundCore\Controller\Admin\FormgenController
13
-    */
11
+     * @param ServiceLocatorInterface $locator
12
+     * @return \PlaygroundCore\Controller\Admin\FormgenController
13
+     */
14 14
     public function createService(ServiceLocatorInterface $locator)
15 15
     {
16 16
         $controller = new FormgenController($locator);
Please login to merge, or discard this patch.
src/Service/Factory/FormgenFactory.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,9 +8,9 @@
 block discarded – undo
8 8
 class FormgenFactory implements FactoryInterface
9 9
 {
10 10
     /**
11
-    * @param ServiceLocatorInterface $locator
12
-    * @return \PlaygroundCore\Service\Formgen
13
-    */
11
+     * @param ServiceLocatorInterface $locator
12
+     * @return \PlaygroundCore\Service\Formgen
13
+     */
14 14
     public function createService(ServiceLocatorInterface $locator)
15 15
     {
16 16
         $service = new Formgen($locator);
Please login to merge, or discard this patch.
src/Service/Country.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     public function getPath()
40 40
     {
41 41
         if (empty($this->path)) {
42
-            $this->path = str_replace('\\', '/', getcwd()) . '/language/countries';
42
+            $this->path = str_replace('\\', '/', getcwd()).'/language/countries';
43 43
         }
44 44
 
45 45
         return $this->path;
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     public function getCorePath()
49 49
     {
50 50
         if (empty($this->corePath)) {
51
-            $this->corePath = __DIR__ . '/../../../language/countries';
51
+            $this->corePath = __DIR__.'/../../../language/countries';
52 52
         }
53 53
 
54 54
         return $this->corePath;
@@ -61,10 +61,10 @@  discard block
 block discarded – undo
61 61
         }
62 62
         
63 63
         $fileName = $this->getPath().'/'.$translatedTo.'.php';
64
-        if (! file_exists($fileName)) {
64
+        if (!file_exists($fileName)) {
65 65
             $fileName = $this->getCorePath().'/'.$translatedTo.'.php';
66 66
 
67
-            if (! file_exists($fileName)) {
67
+            if (!file_exists($fileName)) {
68 68
                 throw new \InvalidArgumentException("Language $translatedTo not found.");
69 69
             }
70 70
         }
@@ -78,9 +78,9 @@  discard block
 block discarded – undo
78 78
             $translatedTo = $this->serviceLocator->get('translator')->getLocale();
79 79
         }
80 80
         $fileName = $this->getPath().'/'.$translatedTo.'.php';
81
-        if (! file_exists($fileName)) {
81
+        if (!file_exists($fileName)) {
82 82
             $fileName = $this->getCorePath().'/'.$translatedTo.'.php';
83
-            if (! file_exists($fileName)) {
83
+            if (!file_exists($fileName)) {
84 84
                 throw new \InvalidArgumentException("Language $translatedTo not found.");
85 85
             }
86 86
         }
Please login to merge, or discard this patch.
src/Options/ModuleOptions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     protected $bitlyUrl      = 'http://api.bit.ly/v3/shorten';
12 12
     protected $transport_class = 'Zend\Mail\Transport\File';
13 13
     protected $options_class   = 'Zend\Mail\Transport\FileOptions';
14
-    protected $options   = array('path' => 'data/mail/');
14
+    protected $options = array('path' => 'data/mail/');
15 15
     protected $twilio = array();
16 16
     protected $phpvideotoolkit = array();
17 17
     protected $quConfig = array();
Please login to merge, or discard this patch.
src/Mvc/Router/Http/RegexSlash.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         $this->assembledParams = array();
46 46
 
47 47
         foreach ($mergedParams as $key => $value) {
48
-            $spec = '%' . $key . '%';
48
+            $spec = '%'.$key.'%';
49 49
 
50 50
             if (strpos($url, $spec) !== false) {
51 51
                 $url = str_replace($spec, rawurlencode($value), $url);
Please login to merge, or discard this patch.