Completed
Push — master ( 9462c8...8ad790 )
by Caio
03:56
created
src/Generators/Base/BarcodeGenerator.php 1 patch
Indentation   +50 added lines, -50 removed lines patch added patch discarded remove patch
@@ -1689,40 +1689,40 @@  discard block
 block discarded – undo
1689 1689
         //Convert digits to bars
1690 1690
         $codes            = [
1691 1691
             'A' => [ // left odd parity
1692
-                     '0' => '0001101',
1693
-                     '1' => '0011001',
1694
-                     '2' => '0010011',
1695
-                     '3' => '0111101',
1696
-                     '4' => '0100011',
1697
-                     '5' => '0110001',
1698
-                     '6' => '0101111',
1699
-                     '7' => '0111011',
1700
-                     '8' => '0110111',
1701
-                     '9' => '0001011'
1692
+                        '0' => '0001101',
1693
+                        '1' => '0011001',
1694
+                        '2' => '0010011',
1695
+                        '3' => '0111101',
1696
+                        '4' => '0100011',
1697
+                        '5' => '0110001',
1698
+                        '6' => '0101111',
1699
+                        '7' => '0111011',
1700
+                        '8' => '0110111',
1701
+                        '9' => '0001011'
1702 1702
             ],
1703 1703
             'B' => [ // left even parity
1704
-                     '0' => '0100111',
1705
-                     '1' => '0110011',
1706
-                     '2' => '0011011',
1707
-                     '3' => '0100001',
1708
-                     '4' => '0011101',
1709
-                     '5' => '0111001',
1710
-                     '6' => '0000101',
1711
-                     '7' => '0010001',
1712
-                     '8' => '0001001',
1713
-                     '9' => '0010111'
1704
+                        '0' => '0100111',
1705
+                        '1' => '0110011',
1706
+                        '2' => '0011011',
1707
+                        '3' => '0100001',
1708
+                        '4' => '0011101',
1709
+                        '5' => '0111001',
1710
+                        '6' => '0000101',
1711
+                        '7' => '0010001',
1712
+                        '8' => '0001001',
1713
+                        '9' => '0010111'
1714 1714
             ],
1715 1715
             'C' => [ // right
1716
-                     '0' => '1110010',
1717
-                     '1' => '1100110',
1718
-                     '2' => '1101100',
1719
-                     '3' => '1000010',
1720
-                     '4' => '1011100',
1721
-                     '5' => '1001110',
1722
-                     '6' => '1010000',
1723
-                     '7' => '1000100',
1724
-                     '8' => '1001000',
1725
-                     '9' => '1110100'
1716
+                        '0' => '1110010',
1717
+                        '1' => '1100110',
1718
+                        '2' => '1101100',
1719
+                        '3' => '1000010',
1720
+                        '4' => '1011100',
1721
+                        '5' => '1001110',
1722
+                        '6' => '1010000',
1723
+                        '7' => '1000100',
1724
+                        '8' => '1001000',
1725
+                        '9' => '1110100'
1726 1726
             ]
1727 1727
         ];
1728 1728
         $parities         = [
@@ -1851,28 +1851,28 @@  discard block
 block discarded – undo
1851 1851
         //Convert digits to bars
1852 1852
         $codes       = [
1853 1853
             'A' => [ // left odd parity
1854
-                     '0' => '0001101',
1855
-                     '1' => '0011001',
1856
-                     '2' => '0010011',
1857
-                     '3' => '0111101',
1858
-                     '4' => '0100011',
1859
-                     '5' => '0110001',
1860
-                     '6' => '0101111',
1861
-                     '7' => '0111011',
1862
-                     '8' => '0110111',
1863
-                     '9' => '0001011'
1854
+                        '0' => '0001101',
1855
+                        '1' => '0011001',
1856
+                        '2' => '0010011',
1857
+                        '3' => '0111101',
1858
+                        '4' => '0100011',
1859
+                        '5' => '0110001',
1860
+                        '6' => '0101111',
1861
+                        '7' => '0111011',
1862
+                        '8' => '0110111',
1863
+                        '9' => '0001011'
1864 1864
             ],
1865 1865
             'B' => [ // left even parity
1866
-                     '0' => '0100111',
1867
-                     '1' => '0110011',
1868
-                     '2' => '0011011',
1869
-                     '3' => '0100001',
1870
-                     '4' => '0011101',
1871
-                     '5' => '0111001',
1872
-                     '6' => '0000101',
1873
-                     '7' => '0010001',
1874
-                     '8' => '0001001',
1875
-                     '9' => '0010111'
1866
+                        '0' => '0100111',
1867
+                        '1' => '0110011',
1868
+                        '2' => '0011011',
1869
+                        '3' => '0100001',
1870
+                        '4' => '0011101',
1871
+                        '5' => '0111001',
1872
+                        '6' => '0000101',
1873
+                        '7' => '0010001',
1874
+                        '8' => '0001001',
1875
+                        '9' => '0010111'
1876 1876
             ]
1877 1877
         ];
1878 1878
         $parities    = [];
Please login to merge, or discard this patch.
src/Providers/BoletoServiceProvider.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -51,19 +51,19 @@
 block discarded – undo
51 51
     private function registerBindings()
52 52
     {
53 53
         $this->app->bind('CbCaio\Boletos\Models\Banco\Contracts\BancoInterface',
54
-                         'CbCaio\Boletos\Models\Banco\Base\Banco');
54
+                            'CbCaio\Boletos\Models\Banco\Base\Banco');
55 55
 
56 56
         $this->app->bind('CbCaio\Boletos\Models\Beneficiario\Contracts\BeneficiarioInterface',
57
-                         'CbCaio\Boletos\Models\Beneficiario\Base\Beneficiario');
57
+                            'CbCaio\Boletos\Models\Beneficiario\Base\Beneficiario');
58 58
 
59 59
         $this->app->bind('CbCaio\Boletos\Models\Boleto\Contracts\BoletoInterface',
60
-                         'CbCaio\Boletos\Models\Boleto\Base\Boleto');
60
+                            'CbCaio\Boletos\Models\Boleto\Base\Boleto');
61 61
 
62 62
         $this->app->bind('CbCaio\Boletos\Models\BoletoInfo\Contracts\BoletoInfoInterface',
63
-                         'CbCaio\Boletos\Models\BoletoInfo\BoletoInfo');
63
+                            'CbCaio\Boletos\Models\BoletoInfo\BoletoInfo');
64 64
 
65 65
         $this->app->bind('CbCaio\Boletos\Models\Pagador\Contracts\PagadorInterface',
66
-                         'CbCaio\Boletos\Models\Pagador\Pagador');
66
+                            'CbCaio\Boletos\Models\Pagador\Pagador');
67 67
     }
68 68
 
69 69
 }
70 70
\ No newline at end of file
Please login to merge, or discard this patch.
src/Models/BoletoInfo/BoletoInfo.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
         if (isset($this->attributes['data_vencimento']))
91 91
         {
92 92
             return Carbon::createFromFormat($this->date_format, $this->attributes['data_vencimento'])
93
-                         ->setTime(0, 0, 0);
93
+                            ->setTime(0, 0, 0);
94 94
         } else
95 95
         {
96 96
             return NULL;
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
         if (isset($this->attributes['data_documento']))
106 106
         {
107 107
             return Carbon::createFromFormat($this->date_format, $this->attributes['data_documento'])
108
-                         ->setTime(0, 0, 0);
108
+                            ->setTime(0, 0, 0);
109 109
         } else
110 110
         {
111 111
             return NULL;
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
         if (isset($this->attributes['data_processamento']))
122 122
         {
123 123
             return Carbon::createFromFormat($this->date_format, $this->attributes['data_processamento'])
124
-                         ->setTime(0, 0, 0);
124
+                            ->setTime(0, 0, 0);
125 125
         } else
126 126
         {
127 127
             return NULL;
Please login to merge, or discard this patch.
src/Models/Boletos/Base/Boleto.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@
 block discarded – undo
188 188
                         break;
189 189
                     case ":vencimento":
190 190
                         $string = preg_replace("/$attribute" . '\b/',
191
-                                               $this->info->getDataVencimentoCalculada(), $string);
191
+                                                $this->info->getDataVencimentoCalculada(), $string);
192 192
                         break;
193 193
                 }
194 194
             }
Please login to merge, or discard this patch.