Completed
Push — travis-xdebug ( 9fd149...0098f2 )
by Sullivan
09:32 queued 05:01
created
src/Constraints/SirenValidator.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__.'\SirenValidator 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__ . '\SirenValidator 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/SiretValidator.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__.'\SiretValidator 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__ . '\SiretValidator 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/StructuredCommunicationValidator.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__.'\StructuredCommunicationValidator 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__ . '\StructuredCommunicationValidator 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/SwiftBicValidator.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__.'\SwiftBicValidator 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__ . '\SwiftBicValidator 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/UkninValidator.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__.'\UkninValidator 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__ . '\UkninValidator 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/VatValidator.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__.'\VatValidator 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__ . '\VatValidator 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/ZipCode.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,15 +17,15 @@  discard block
 block discarded – undo
17 17
     /**
18 18
      * @deprecated since 1.1, to be removed in 2.0.
19 19
      */
20
-    const US            = 'US';
20
+    const US = 'US';
21 21
     /**
22 22
      * @deprecated since 1.1, to be removed in 2.0.
23 23
      */
24
-    const CANADA        = 'Canada';
24
+    const CANADA = 'Canada';
25 25
     /**
26 26
      * @deprecated since 1.1, to be removed in 2.0.
27 27
      */
28
-    const FRANCE        = 'France';
28
+    const FRANCE = 'France';
29 29
     /**
30 30
      * @deprecated since 1.1, to be removed in 2.0.
31 31
      */
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
                 'Netherlands'   => 'NL',
63 63
             ];
64 64
 
65
-            @trigger_error('The value "'.$this->country.'" for '.__CLASS__.'::country options is deprecated since version 1.1 and will be removed in 2.0. Use '.$deprecatedOptionsBridge[$this->country].' instead.', E_USER_DEPRECATED);
65
+            @trigger_error('The value "' . $this->country . '" for ' . __CLASS__ . '::country options is deprecated since version 1.1 and will be removed in 2.0. Use ' . $deprecatedOptionsBridge[$this->country] . ' instead.', E_USER_DEPRECATED);
66 66
 
67 67
             $this->country = $deprecatedOptionsBridge[$this->country];
68 68
         }
Please login to merge, or discard this patch.
src/Provider/IsoCodesValidatorServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     public function register(Application $app)
17 17
     {
18 18
         if (isset($app['translator'])) {
19
-            $file = __DIR__.'/../Resources/translations/validators.'.$app['locale'].'.xlf';
19
+            $file = __DIR__ . '/../Resources/translations/validators.' . $app['locale'] . '.xlf';
20 20
             if (file_exists($file)) {
21 21
                 $app['translator']->addResource('xliff', $file, $app['locale'], 'validators');
22 22
             }
Please login to merge, or discard this patch.