Bläddra i källkod

[FrameworkBundle] fixed CS

Fabien Potencier 14 år sedan
förälder
incheckning
b126c50aea
1 ändrade filer med 4 tillägg och 4 borttagningar
  1. 4 4
      src/Symfony/Bundle/FrameworkBundle/Test/WebTestCase.php

+ 4 - 4
src/Symfony/Bundle/FrameworkBundle/Test/WebTestCase.php

@@ -61,9 +61,9 @@ abstract class WebTestCase extends BaseWebTestCase
         }
 
         $dir = $this->getPhpUnitCliConfigArgument();
-        if ($dir === null && 
-            (file_exists(getcwd() . DIRECTORY_SEPARATOR . 'phpunit.xml') ||
-            file_exists(getcwd() . DIRECTORY_SEPARATOR . 'phpunit.xml.dist'))) {
+        if ($dir === null &&
+            (file_exists(getcwd().DIRECTORY_SEPARATOR.'phpunit.xml') ||
+            file_exists(getcwd().DIRECTORY_SEPARATOR.'phpunit.xml.dist'))) {
             $dir = getcwd();
         }
 
@@ -95,7 +95,7 @@ abstract class WebTestCase extends BaseWebTestCase
             if ($testArg === '-c' || $testArg === '--configuration') {
                 $dir = realpath($reversedArgs[$argIndex - 1]);
                 break;
-            } else if (strpos($testArg, '--configuration=') === 0) {
+            } elseif (strpos($testArg, '--configuration=') === 0) {
                 $argPath = substr($testArg, strlen('--configuration='));
                 $dir = realpath($argPath);
                 break;