Completed
Push — travis-xdebug ( 0098f2...fcf4c8 )
by Sullivan
03:46
created
src/Bundle/DependencyInjection/Compiler/TranslationPass.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,10 +29,10 @@
 block discarded – undo
29 29
 
30 30
         $finder = Finder::create()
31 31
             ->files()
32
-            ->filter(function (\SplFileInfo $file) {
32
+            ->filter(function(\SplFileInfo $file) {
33 33
                 return 2 === substr_count($file->getBasename(), '.') && preg_match('/\.\w+$/', $file->getBasename());
34 34
             })
35
-            ->in(__DIR__.'/../../../Resources/translations')
35
+            ->in(__DIR__ . '/../../../Resources/translations')
36 36
         ;
37 37
 
38 38
         foreach ($finder as $file) {
Please login to merge, or discard this patch.
src/Constraints/BbanValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace SLLH\IsoCodesValidator\Constraints;
4 4
 
5
-@trigger_error('The '.__NAMESPACE__.'\BbanValidator class is deprecated since 1.2 and will be removed in 2.0. Use '.__NAMESPACE__.'\IsoCodesGenericValidator instead', E_USER_DEPRECATED);
5
+@trigger_error('The ' . __NAMESPACE__ . '\BbanValidator class is deprecated since 1.2 and will be removed in 2.0. Use ' . __NAMESPACE__ . '\IsoCodesGenericValidator instead', E_USER_DEPRECATED);
6 6
 
7 7
 /**
8 8
  * @author Sullivan Senechal <[email protected]>
Please login to merge, or discard this patch.
src/Constraints/CifValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace SLLH\IsoCodesValidator\Constraints;
4 4
 
5
-@trigger_error('The '.__NAMESPACE__.'\CifValidator class is deprecated since 1.2 and will be removed in 2.0. Use '.__NAMESPACE__.'\IsoCodesGenericValidator instead', E_USER_DEPRECATED);
5
+@trigger_error('The ' . __NAMESPACE__ . '\CifValidator class is deprecated since 1.2 and will be removed in 2.0. Use ' . __NAMESPACE__ . '\IsoCodesGenericValidator instead', E_USER_DEPRECATED);
6 6
 
7 7
 /**
8 8
  * @author Sullivan Senechal <[email protected]>
Please login to merge, or discard this patch.
src/Constraints/CreditCardValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace SLLH\IsoCodesValidator\Constraints;
4 4
 
5
-@trigger_error('The '.__NAMESPACE__.'\CreditCardValidator class is deprecated since 1.2 and will be removed in 2.0. Use '.__NAMESPACE__.'\IsoCodesGenericValidator instead', E_USER_DEPRECATED);
5
+@trigger_error('The ' . __NAMESPACE__ . '\CreditCardValidator class is deprecated since 1.2 and will be removed in 2.0. Use ' . __NAMESPACE__ . '\IsoCodesGenericValidator instead', E_USER_DEPRECATED);
6 6
 
7 7
 /**
8 8
  * @author Sullivan Senechal <[email protected]>
Please login to merge, or discard this patch.
src/Constraints/Ean13Validator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace SLLH\IsoCodesValidator\Constraints;
4 4
 
5
-@trigger_error('The '.__NAMESPACE__.'\Ean13Validator class is deprecated since 1.2 and will be removed in 2.0. Use '.__NAMESPACE__.'\IsoCodesGenericValidator instead', E_USER_DEPRECATED);
5
+@trigger_error('The ' . __NAMESPACE__ . '\Ean13Validator class is deprecated since 1.2 and will be removed in 2.0. Use ' . __NAMESPACE__ . '\IsoCodesGenericValidator instead', E_USER_DEPRECATED);
6 6
 
7 7
 /**
8 8
  * @author Sullivan Senechal <[email protected]>
Please login to merge, or discard this patch.
src/Constraints/IbanValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace SLLH\IsoCodesValidator\Constraints;
4 4
 
5
-@trigger_error('The '.__NAMESPACE__.'\IbanValidator class is deprecated since 1.2 and will be removed in 2.0. Use '.__NAMESPACE__.'\IsoCodesGenericValidator instead', E_USER_DEPRECATED);
5
+@trigger_error('The ' . __NAMESPACE__ . '\IbanValidator class is deprecated since 1.2 and will be removed in 2.0. Use ' . __NAMESPACE__ . '\IsoCodesGenericValidator instead', E_USER_DEPRECATED);
6 6
 
7 7
 /**
8 8
  * @author Sullivan Senechal <[email protected]>
Please login to merge, or discard this patch.
src/Constraints/InseeValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace SLLH\IsoCodesValidator\Constraints;
4 4
 
5
-@trigger_error('The '.__NAMESPACE__.'\InseeValidator class is deprecated since 1.2 and will be removed in 2.0. Use '.__NAMESPACE__.'\IsoCodesGenericValidator instead', E_USER_DEPRECATED);
5
+@trigger_error('The ' . __NAMESPACE__ . '\InseeValidator class is deprecated since 1.2 and will be removed in 2.0. Use ' . __NAMESPACE__ . '\IsoCodesGenericValidator instead', E_USER_DEPRECATED);
6 6
 
7 7
 /**
8 8
  * @author Sullivan Senechal <[email protected]>
Please login to merge, or discard this patch.
src/Constraints/IsoCodesGeneric.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,6 +14,6 @@
 block discarded – undo
14 14
      */
15 15
     public function validatedBy()
16 16
     {
17
-        return __CLASS__.'Validator';
17
+        return __CLASS__ . 'Validator';
18 18
     }
19 19
 }
Please login to merge, or discard this patch.
src/Constraints/IsoCodesGenericValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
         parent::validate($value, $constraint);
19 19
 
20 20
         $constraintClass = str_replace('SLLH\\IsoCodesValidator\\Constraints\\', '', get_class($constraint));
21
-        $isoCodesClass = 'IsoCodes\\'.$constraintClass;
21
+        $isoCodesClass = 'IsoCodes\\' . $constraintClass;
22 22
 
23 23
         if ($value && !$isoCodesClass::validate($value)) {
24 24
             $this->createViolation($constraint->message);
Please login to merge, or discard this patch.