@@ -30,8 +30,7 @@ |
||
30 | 30 | if (version_compare(PHP_VERSION, '5.3', '>=')) |
31 | 31 | { |
32 | 32 | error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_USER_NOTICE & ~E_USER_DEPRECATED); |
33 | - } |
|
34 | - else |
|
33 | + } else |
|
35 | 34 | { |
36 | 35 | error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_USER_NOTICE); |
37 | 36 | } |
@@ -26,8 +26,7 @@ |
||
26 | 26 | |
27 | 27 | if (!copy($file->getRealpath(), $root_path . '/db/' . $file->getRelativePathname())) { |
28 | 28 | echo sprintf("error copy migration %s..." . PHP_EOL, $file->getRelativePathname()); |
29 | - } |
|
30 | - else{ |
|
29 | + } else{ |
|
31 | 30 | echo sprintf("copy migration %s" . PHP_EOL, $file->getRelativePathname()); |
32 | 31 | } |
33 | 32 | } |
@@ -1402,7 +1402,7 @@ |
||
1402 | 1402 | new ClassMetaDataFactory(new StaticMethodLoader()), |
1403 | 1403 | new ConstraintValidatorFactory() |
1404 | 1404 | ); |
1405 | - }else{ |
|
1405 | + } else{ |
|
1406 | 1406 | $validator = new Validator( |
1407 | 1407 | new ClassMetadataFactory(new StaticMethodLoader()), |
1408 | 1408 | new ConstraintValidatorFactory(), |