Completed
Push — master ( 9f4741...8a7664 )
by Roberto
27:26 queued 12:26
created
examples/Fake/v1_2_0/FaketestEnviaCrypto.php 1 patch
Unused Use Statements   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,11 +4,10 @@
 block discarded – undo
4 4
 require_once '../../../bootstrap.php';
5 5
 
6 6
 use NFePHP\Common\Certificate;
7
-use JsonSchema\Validator;
8
-use NFePHP\eFinanc\Event;
9
-use NFePHP\eFinanc\Tools;
10 7
 use NFePHP\eFinanc\Common\FakePretty;
11 8
 use NFePHP\eFinanc\Common\Soap\SoapFake;
9
+use NFePHP\eFinanc\Event;
10
+use NFePHP\eFinanc\Tools;
12 11
 
13 12
 $config = [
14 13
     'tpAmb' => 2, //tipo de ambiente 1 - Produção; 2 - pre-produção
Please login to merge, or discard this patch.
examples/Fake/v1_2_0/FaketestEvtAberturaeFinanceira.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 ini_set('display_errors', 'On');
4 4
 require_once '../../../bootstrap.php';
5 5
 
6
-use NFePHP\eFinanc\Event;
7 6
 use NFePHP\Common\Certificate;
7
+use NFePHP\eFinanc\Event;
8 8
 
9 9
 $config = [
10 10
     'tpAmb' => 2, //tipo de ambiente 1 - Produção; 2 - pre-produção
Please login to merge, or discard this patch.
src/Common/Soap/SoapBase.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@
 block discarded – undo
164 164
     /**
165 165
      * Check if certificate is valid
166 166
      * @param Certificate $certificate
167
-     * @return mixed
167
+     * @return null|Certificate
168 168
      * @throws RuntimeException
169 169
      */
170 170
     private function checkCertValidity(Certificate $certificate = null)
Please login to merge, or discard this patch.
Unused Use Statements   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -15,13 +15,12 @@
 block discarded – undo
15 15
  * @link      http://github.com/nfephp-org/sped-efinanceira for the canonical source repository
16 16
  */
17 17
 
18
+use League\Flysystem\Adapter\Local;
19
+use League\Flysystem\Filesystem;
18 20
 use NFePHP\Common\Certificate;
19
-use NFePHP\eFinanc\Common\Soap\SoapInterface;
20
-use NFePHP\Common\Exception\SoapException;
21 21
 use NFePHP\Common\Exception\RuntimeException;
22 22
 use NFePHP\Common\Strings;
23
-use League\Flysystem\Filesystem;
24
-use League\Flysystem\Adapter\Local;
23
+use NFePHP\eFinanc\Common\Soap\SoapInterface;
25 24
 use Psr\Log\LoggerInterface;
26 25
 
27 26
 abstract class SoapBase implements SoapInterface
Please login to merge, or discard this patch.
src/Common/Soap/SoapCurl.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,10 +15,10 @@
 block discarded – undo
15 15
  * @link      http://github.com/nfephp-org/sped-efinanceira for the canonical source repository
16 16
  */
17 17
 
18
+use NFePHP\Common\Certificate;
19
+use NFePHP\Common\Exception\SoapException;
18 20
 use NFePHP\eFinanc\Common\Soap\SoapBase;
19 21
 use NFePHP\eFinanc\Common\Soap\SoapInterface;
20
-use NFePHP\Common\Exception\SoapException;
21
-use NFePHP\Common\Certificate;
22 22
 use Psr\Log\LoggerInterface;
23 23
 
24 24
 class SoapCurl extends SoapBase implements SoapInterface
Please login to merge, or discard this patch.
src/Tools.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,14 +12,14 @@
 block discarded – undo
12 12
  * @author    Roberto L. Machado <linux.rlm at gmail dot com>
13 13
  * @link      http://github.com/nfephp-org/sped-efinanceira for the canonical source repository
14 14
  */
15
-use stdClass;
16 15
 use NFePHP\Common\Validator;
17
-use NFePHP\eFinanc\Common\Tools as Base;
18 16
 use NFePHP\eFinanc\Common\Crypto;
19 17
 use NFePHP\eFinanc\Common\FactoryInterface;
18
+use NFePHP\eFinanc\Common\Tools as Base;
19
+use NFePHP\eFinanc\Exception\ConsultException;
20 20
 use NFePHP\eFinanc\Exception\EventsException;
21 21
 use NFePHP\eFinanc\Exception\ProcessException;
22
-use NFePHP\eFinanc\Exception\ConsultException;
22
+use stdClass;
23 23
 
24 24
 class Tools extends Base
25 25
 {
Please login to merge, or discard this patch.
examples/Fake/v1_2_0/FaketestEnviaCryptoZip.php 1 patch
Unused Use Statements   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,11 +4,10 @@
 block discarded – undo
4 4
 require_once '../../../bootstrap.php';
5 5
 
6 6
 use NFePHP\Common\Certificate;
7
-use JsonSchema\Validator;
8
-use NFePHP\eFinanc\Event;
9
-use NFePHP\eFinanc\Tools;
10 7
 use NFePHP\eFinanc\Common\FakePretty;
11 8
 use NFePHP\eFinanc\Common\Soap\SoapFake;
9
+use NFePHP\eFinanc\Event;
10
+use NFePHP\eFinanc\Tools;
12 11
 
13 12
 $config = [
14 13
     'tpAmb' => 2, //tipo de ambiente 1 - Produção; 2 - pre-produção
Please login to merge, or discard this patch.
examples/Fake/v1_2_0/FaketestEnviaNormal.php 1 patch
Unused Use Statements   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,11 +4,10 @@
 block discarded – undo
4 4
 require_once '../../../bootstrap.php';
5 5
 
6 6
 use NFePHP\Common\Certificate;
7
-use JsonSchema\Validator;
8
-use NFePHP\eFinanc\Event;
9
-use NFePHP\eFinanc\Tools;
10 7
 use NFePHP\eFinanc\Common\FakePretty;
11 8
 use NFePHP\eFinanc\Common\Soap\SoapFake;
9
+use NFePHP\eFinanc\Event;
10
+use NFePHP\eFinanc\Tools;
12 11
 
13 12
 $config = [
14 13
     'tpAmb' => 2, //tipo de ambiente 1 - Produção; 2 - pre-produção
Please login to merge, or discard this patch.
examples/Fake/v1_2_0/FaketestEnviaZip.php 1 patch
Unused Use Statements   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,11 +4,10 @@
 block discarded – undo
4 4
 require_once '../../../bootstrap.php';
5 5
 
6 6
 use NFePHP\Common\Certificate;
7
-use JsonSchema\Validator;
8
-use NFePHP\eFinanc\Event;
9
-use NFePHP\eFinanc\Tools;
10 7
 use NFePHP\eFinanc\Common\FakePretty;
11 8
 use NFePHP\eFinanc\Common\Soap\SoapFake;
9
+use NFePHP\eFinanc\Event;
10
+use NFePHP\eFinanc\Tools;
12 11
 
13 12
 $config = [
14 13
     'tpAmb' => 2, //tipo de ambiente 1 - Produção; 2 - pre-produção
Please login to merge, or discard this patch.
examples/Fake/v1_2_0/FaketestEvtCadDeclarante.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 ini_set('display_errors', 'On');
4 4
 require_once '../../../bootstrap.php';
5 5
 
6
-use NFePHP\eFinanc\Event;
7 6
 use NFePHP\Common\Certificate;
7
+use NFePHP\eFinanc\Event;
8 8
 
9 9
 $config = [
10 10
     'tpAmb' => 2, //tipo de ambiente 1 - Produção; 2 - pre-produção
Please login to merge, or discard this patch.