Completed
Pull Request — master (#107)
by Kevin
06:11
created
lib/Util/Translator/Translator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -91,6 +91,9 @@
 block discarded – undo
91 91
     }
92 92
 
93 93
 
94
+    /**
95
+     * @param string $textDomain
96
+     */
94 97
     protected function translatePart($translate, $result, $textDomain, $locale)
95 98
     {
96 99
         $newResult = parent::translate($result, $textDomain, $locale);
Please login to merge, or discard this patch.
example_configuration_not_used/Magium/Themes/ThemeConfiguration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,3 +1,3 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-$this->baseUrl                      = 'http://magento19.loc//';
4 3
\ No newline at end of file
4
+$this->baseUrl = 'http://magento19.loc//';
5 5
\ No newline at end of file
Please login to merge, or discard this patch.
lib/Extractors/Navigation/UnableToExtractMenuXpathException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,4 +2,4 @@
 block discarded – undo
2 2
 
3 3
 namespace Magium\Extractors\Navigation;
4 4
 
5
-class UnableToExtractMenuXpathException extends \Exception{}
6 5
\ No newline at end of file
6
+class UnableToExtractMenuXpathException extends \Exception {}
7 7
\ No newline at end of file
Please login to merge, or discard this patch.
lib/Extractors/Navigation/MissingNavigationSchemeException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,4 +2,4 @@
 block discarded – undo
2 2
 
3 3
 namespace Magium\Extractors\Navigation;
4 4
 
5
-class MissingNavigationSchemeException extends \Exception{}
6 5
\ No newline at end of file
6
+class MissingNavigationSchemeException extends \Exception {}
7 7
\ No newline at end of file
Please login to merge, or discard this patch.
lib/Extractors/AbstractAddressExtractor.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -31,10 +31,10 @@  discard block
 block discarded – undo
31 31
         $this->name = trim(array_pop($rows));
32 32
         while (count($rows) > 0) {
33 33
             $row = array_shift($rows);
34
-            if (strpos($row, 'T: ') ===0) {
34
+            if (strpos($row, 'T: ') === 0) {
35 35
                 $this->phone = trim(substr($row, 3));
36 36
                 continue;
37
-            } else if (strpos($row, 'F: ') ===0) {
37
+            } else if (strpos($row, 'F: ') === 0) {
38 38
                 $this->fax = trim(substr($row, 3));
39 39
                 continue;
40 40
             }
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
             $this->street1 = trim(array_shift($rows));
60 60
             $this->business = trim(array_shift($rows));
61 61
             //Easy
62
-        }else if (count($rows) == 1) {
62
+        } else if (count($rows) == 1) {
63 63
             $this->street1 = trim(array_shift($rows));
64 64
 
65 65
             // Not so easy
@@ -70,8 +70,8 @@  discard block
 block discarded – undo
70 70
                 $this->street1 = $stOrBus;
71 71
                 $this->business = trim(array_shift($rows));
72 72
             } else {
73
-                $this->street1 =trim(array_shift($rows));
74
-                $this->street2 =  $stOrBus;
73
+                $this->street1 = trim(array_shift($rows));
74
+                $this->street2 = $stOrBus;
75 75
             }
76 76
 
77 77
         }
Please login to merge, or discard this patch.
lib/Assertions/LoggingAssertionExecutor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
         }
32 32
         try {
33 33
             $assertion->assert();
34
-            $this->logger->logAssertionSuccess( $assertion, $extra );
34
+            $this->logger->logAssertionSuccess($assertion, $extra);
35 35
         } catch (\Exception $e) {
36 36
             $this->logger->logAssertionFailure($assertion, $extra);
37 37
             throw $e;
Please login to merge, or discard this patch.
lib/WebDriver/ExpectedCondition.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
     public static function elementExists($selector, $by = 'byId')
12 12
     {
13 13
         return new WebDriverExpectedCondition(
14
-            function ($driver) use ($selector, $by) {
14
+            function($driver) use ($selector, $by) {
15 15
                 try {
16 16
                     $element = $driver->$by($selector);
17 17
                     return $element instanceof WebDriverElement;
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     public static function elementRemoved(WebDriverElement $element)
27 27
     {
28 28
         return new WebDriverExpectedCondition(
29
-            function () use ($element) {
29
+            function() use ($element) {
30 30
                 try {
31 31
                     $element->isDisplayed();
32 32
                     return false;
Please login to merge, or discard this patch.
lib/Cli/Command/ListElements.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
 
99 99
         sort($paths);
100 100
         $filter = $input->getArgument('filter');
101
-        if (count($paths) > 0 ) {
101
+        if (count($paths) > 0) {
102 102
             $output->writeln('Classes found: ');
103 103
             $escape = $input->getOption('escape');
104 104
 
Please login to merge, or discard this patch.
lib/AbstractTestCase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -234,7 +234,7 @@
 block discarded – undo
234 234
         }
235 235
     }
236 236
 
237
-    public static function resolveClass( $class, $prefix = null)
237
+    public static function resolveClass($class, $prefix = null)
238 238
     {
239 239
         $origClass = $class;
240 240
         if ($prefix !== null) {
Please login to merge, or discard this patch.