Skip to content

Commit c3b91e3

Browse files
committed
Atualizando PHPStan
1 parent cf95d38 commit c3b91e3

File tree

4 files changed

+40
-16
lines changed

4 files changed

+40
-16
lines changed

Diff for: .github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
strategy:
1616
matrix:
1717
php-version: ['7.2', '7.3', '7.4', '8.0', '8.1']
18+
fail-fast: false
1819

1920
steps:
2021
- name: Setando PHP com soap e mbstring

Diff for: composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"vria/nodiacritic": "^0.1.2"
2323
},
2424
"require-dev": {
25-
"phpstan/phpstan": "^0.12.81",
25+
"phpstan/phpstan": "^1.0",
2626
"phpunit/phpunit": "^8.0"
2727
},
2828
"autoload": {

Diff for: composer.lock

+13-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: phpstan-baseline.neon

+25-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
parameters:
22
ignoreErrors:
3-
43
-
54
message: "#^Undefined variable\\: \\$ss$#"
65
count: 1
@@ -16,3 +15,28 @@ parameters:
1615
count: 1
1716
path: src/PhpSigep/Services/Real/CalcPrecoPrazo.php
1817

18+
-
19+
message: "#^Method PhpSigep\\\\Services\\\\SoapClient\\\\Simulador\\:\\:bloquearObjeto\\(\\) should return PhpSigep\\\\Services\\\\Result\\<array\\<PhpSigep\\\\Model\\\\BloquearObjetoResposta\\>\\> but return statement is missing\\.$#"
20+
count: 1
21+
path: src/PhpSigep/Services/SoapClient/Simulador.php
22+
23+
-
24+
message: "#^Method PhpSigep\\\\Services\\\\SoapClient\\\\Simulador\\:\\:cancelarObjeto\\(\\) should return PhpSigep\\\\Services\\\\Result\\<array\\<PhpSigep\\\\Model\\\\CancelarObjetoResposta\\>\\> but return statement is missing\\.$#"
25+
count: 1
26+
path: src/PhpSigep/Services/SoapClient/Simulador.php
27+
28+
-
29+
message: "#^Method PhpSigep\\\\Services\\\\SoapClient\\\\Simulador\\:\\:consultaCep\\(\\) should return PhpSigep\\\\Services\\\\Result\\<PhpSigep\\\\Model\\\\ConsultaCepResposta\\> but return statement is missing\\.$#"
30+
count: 1
31+
path: src/PhpSigep/Services/SoapClient/Simulador.php
32+
33+
-
34+
message: "#^Method PhpSigep\\\\Services\\\\SoapClient\\\\Simulador\\:\\:rastrearObjeto\\(\\) should return PhpSigep\\\\Services\\\\Result\\<array\\<PhpSigep\\\\Model\\\\RastrearObjetoResultado\\>\\> but return statement is missing\\.$#"
35+
count: 1
36+
path: src/PhpSigep/Services/SoapClient/Simulador.php
37+
38+
-
39+
message: "#^Method PhpSigep\\\\Services\\\\SoapClient\\\\Simulador\\:\\:verificarStatusCartaoPostagem\\(\\) should return PhpSigep\\\\Services\\\\Result\\<array\\<PhpSigep\\\\Model\\\\VerificarStatusCartaoPostagemResposta\\>\\> but return statement is missing\\.$#"
40+
count: 1
41+
path: src/PhpSigep/Services/SoapClient/Simulador.php
42+

0 commit comments

Comments
 (0)