Skip to content

Commit 2779e1f

Browse files
phpstan-botondrejmirtes
authored andcommitted
Update baselines
1 parent a42c518 commit 2779e1f

3 files changed

Lines changed: 42 additions & 0 deletions

File tree

e2e/integration/doctrine-dbal-baseline.neon

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,30 @@ parameters:
3030
count: 1
3131
path: repo/src/Driver/SQLSrv/Result.php
3232

33+
-
34+
rawMessage: 'Method Doctrine\DBAL\Driver\SQLite3\Result::rowCount() has Doctrine\DBAL\Driver\Exception in PHPDoc @throws tag but it''s not thrown.'
35+
identifier: throws.unusedType
36+
count: 1
37+
path: repo/src/Driver/SQLite3/Result.php
38+
3339
-
3440
rawMessage: 'Only booleans are allowed in a while condition, int|false given.'
3541
identifier: while.condNotBoolean
3642
count: 1
3743
path: repo/src/Schema/SQLServerSchemaManager.php
3844

45+
-
46+
rawMessage: 'Method Doctrine\DBAL\Connection@anonymous/tests/ConnectionTest.php:735::commit() has Doctrine\DBAL\Exception in PHPDoc @throws tag but it''s not thrown.'
47+
identifier: throws.unusedType
48+
count: 1
49+
path: repo/tests/ConnectionTest.php
50+
51+
-
52+
rawMessage: 'Method Doctrine\DBAL\Connection@anonymous/tests/ConnectionTest.php:735::rollBack() has Doctrine\DBAL\Exception in PHPDoc @throws tag but it''s not thrown.'
53+
identifier: throws.unusedType
54+
count: 1
55+
path: repo/tests/ConnectionTest.php
56+
3957
-
4058
rawMessage: 'Only booleans are allowed in a while condition, mixed given.'
4159
identifier: while.condNotBoolean

e2e/integration/phpunit-baseline.neon

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
parameters:
22
ignoreErrors:
3+
-
4+
rawMessage: 'Method PHPUnit\Framework\Constraint\IsAnything::evaluate() has PHPUnit\Framework\ExpectationFailedException in PHPDoc @throws tag but it''s not thrown.'
5+
identifier: throws.unusedType
6+
count: 1
7+
path: repo/src/Framework/Constraint/IsAnything.php
8+
9+
-
10+
rawMessage: 'Method PHPUnit\Framework\MockObject\Rule\AnyParameters::apply() has PHPUnit\Framework\ExpectationFailedException in PHPDoc @throws tag but it''s not thrown.'
11+
identifier: throws.unusedType
12+
count: 1
13+
path: repo/src/Framework/MockObject/Runtime/Rule/AnyParameters.php
14+
315
-
416
rawMessage: Assert references unknown $this->instance.
517
identifier: assert.unknownExpr
@@ -47,3 +59,9 @@ parameters:
4759
identifier: method.internalClass
4860
count: 1
4961
path: repo/src/TextUI/Application.php
62+
63+
-
64+
rawMessage: 'Method PHPUnit\TextUI\XmlConfiguration\SuccessfulSchemaDetectionResult::version() has PHPUnit\Util\Xml\XmlException in PHPDoc @throws tag but it''s not thrown.'
65+
identifier: throws.unusedType
66+
count: 1
67+
path: repo/src/TextUI/Configuration/Xml/SchemaDetector/SuccessfulSchemaDetectionResult.php

e2e/integration/shopware-baseline.neon

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,12 @@ parameters:
256256
count: 1
257257
path: repo/tests/integration/Core/Content/Product/SalesChannel/Detail/ProductConfiguratorOrderTest.php
258258

259+
-
260+
rawMessage: 'Method Psr\Log\AbstractLogger@anonymous/tests/integration/Core/Content/Seo/SeoUrlGeneratorTest.php:361::log() has Psr\Log\InvalidArgumentException in PHPDoc @throws tag but it''s not thrown.'
261+
identifier: throws.unusedType
262+
count: 1
263+
path: repo/tests/integration/Core/Content/Seo/SeoUrlGeneratorTest.php
264+
259265
-
260266
rawMessage: 'Call to an undefined method Predis\ClientInterface|Redis|RedisArray|RedisCluster|Relay\Relay::get().'
261267
identifier: method.notFound

0 commit comments

Comments
 (0)