| @@ -53,7 +53,9 @@ | ||
| 53 | 53 | $max = false; | 
| 54 | 54 | $min = PHP_INT_MAX; | 
| 55 | 55 |          foreach ($matchedParts as $part) { | 
| 56 | - if ($part === null) continue; | |
| 56 | +            if ($part === null) { | |
| 57 | + continue; | |
| 58 | + } | |
| 57 | 59 |              if ($part >= $max) { | 
| 58 | 60 | $max = $part; | 
| 59 | 61 | } | 
| @@ -59,7 +59,7 @@ | ||
| 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 | 
| @@ -5,13 +5,9 @@ | ||
| 5 | 5 | use Guzzle\Http\Client; | 
| 6 | 6 | use Magium\Cli\Command\Test\TestSkeleton; | 
| 7 | 7 | use Magium\InvalidConfigurationException; | 
| 8 | -use Magium\NotFoundException; | |
| 9 | 8 | use Magium\Util\Api\ApiConfiguration; | 
| 10 | 9 | use Symfony\Component\Console\Command\Command; | 
| 11 | -use Symfony\Component\Console\Input\ArrayInput; | |
| 12 | -use Symfony\Component\Console\Input\InputArgument; | |
| 13 | 10 | use Symfony\Component\Console\Input\InputInterface; | 
| 14 | -use Symfony\Component\Console\Input\InputOption; | |
| 15 | 11 | use Symfony\Component\Console\Output\OutputInterface; | 
| 16 | 12 | |
| 17 | 13 | class ApiPing extends Command | 
| @@ -53,7 +53,9 @@ | ||
| 53 | 53 | } | 
| 54 | 54 | } | 
| 55 | 55 | |
| 56 | - if (!is_dir($configurationDir)) return; | |
| 56 | +        if (!is_dir($configurationDir)) { | |
| 57 | + return; | |
| 58 | + } | |
| 57 | 59 | |
| 58 | 60 | $configurationFile = get_class($config) . '.php'; | 
| 59 | 61 |          $configurationFile = $configurationDir . DIRECTORY_SEPARATOR . str_replace('\\', DIRECTORY_SEPARATOR, $configurationFile); | 
| @@ -6,7 +6,6 @@ | ||
| 6 | 6 | use Facebook\WebDriver\WebDriverElement; | 
| 7 | 7 | use Facebook\WebDriver\WebDriverSelect; | 
| 8 | 8 | use Magium\NotFoundException; | 
| 9 | -use Magium\WebDriver\FastSelectElement; | |
| 10 | 9 | use Magium\WebDriver\WebDriver; | 
| 11 | 10 | |
| 12 | 11 | class SetFormValue |