Skip to content

Commit 01b3cce

Browse files
Bump phpstan/phpstan from 2.1.30 to 2.1.31 (#3252)
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=phpstan/phpstan&package-manager=composer&previous-version=2.1.30&new-version=2.1.31)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: William Allen <16820599+williamjallen@users.noreply.github.com>
1 parent 121d418 commit 01b3cce

3 files changed

Lines changed: 35 additions & 29 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"laravel/dusk": "8.3.3",
5555
"mockery/mockery": "1.6.12",
5656
"phpstan/extension-installer": "1.4.3",
57-
"phpstan/phpstan": "2.1.30",
57+
"phpstan/phpstan": "2.1.31",
5858
"phpstan/phpstan-deprecation-rules": "2.0.3",
5959
"phpstan/phpstan-mockery": "2.0.0",
6060
"phpstan/phpstan-phpunit": "2.0.7",

composer.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpstan-baseline.neon

Lines changed: 29 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -8244,6 +8244,12 @@ parameters:
82448244
count: 1
82458245
path: app/cdash/app/Controller/Api/TestDetails.php
82468246

8247+
-
8248+
rawMessage: Possibly invalid array key type float|int.
8249+
identifier: offsetAccess.invalidOffset
8250+
count: 1
8251+
path: app/cdash/app/Controller/Api/TestDetails.php
8252+
82478253
-
82488254
rawMessage: Property CDash\Controller\Api\TestDetails::$buildtest has no type specified.
82498255
identifier: missingType.property
@@ -13342,7 +13348,7 @@ parameters:
1334213348
path: app/cdash/include/Test/CDashUseCaseTestCase.php
1334313349

1334413350
-
13345-
rawMessage: 'Cannot call method appendChild() on DOMNode|false.'
13351+
rawMessage: 'Cannot call method appendChild() on DOMElement|false.'
1334613352
identifier: method.nonObject
1334713353
count: 13
1334813354
path: app/cdash/include/Test/UseCase/BuildUseCase.php
@@ -13462,13 +13468,13 @@ parameters:
1346213468
path: app/cdash/include/Test/UseCase/BuildUseCase.php
1346313469

1346413470
-
13465-
rawMessage: 'Parameter #1 $parent of method CDash\Test\UseCase\BuildUseCase::createFailureElement() expects DOMElement, (DOMNode|false) given.'
13471+
rawMessage: 'Parameter #1 $parent of method CDash\Test\UseCase\BuildUseCase::createFailureElement() expects DOMElement, (DOMElement|false) given.'
1346613472
identifier: argument.type
1346713473
count: 1
1346813474
path: app/cdash/include/Test/UseCase/BuildUseCase.php
1346913475

1347013476
-
13471-
rawMessage: 'Parameter #1 $parent of method CDash\Test\UseCase\UseCase::createChildElementsFromKeys() expects DOMElement, (DOMNode|false) given.'
13477+
rawMessage: 'Parameter #1 $parent of method CDash\Test\UseCase\UseCase::createChildElementsFromKeys() expects DOMElement, (DOMElement|false) given.'
1347213478
identifier: argument.type
1347313479
count: 3
1347413480
path: app/cdash/include/Test/UseCase/BuildUseCase.php
@@ -13492,7 +13498,7 @@ parameters:
1349213498
path: app/cdash/include/Test/UseCase/BuildUseCase.php
1349313499

1349413500
-
13495-
rawMessage: 'Cannot call method appendChild() on DOMNode|false.'
13501+
rawMessage: 'Cannot call method appendChild() on DOMElement|false.'
1349613502
identifier: method.nonObject
1349713503
count: 17
1349813504
path: app/cdash/include/Test/UseCase/ConfigUseCase.php
@@ -13516,13 +13522,13 @@ parameters:
1351613522
path: app/cdash/include/Test/UseCase/DynamicAnalysisUseCase.php
1351713523

1351813524
-
13519-
rawMessage: 'Cannot call method appendChild() on DOMNode|false.'
13525+
rawMessage: 'Cannot call method appendChild() on DOMElement|false.'
1352013526
identifier: method.nonObject
1352113527
count: 12
1352213528
path: app/cdash/include/Test/UseCase/DynamicAnalysisUseCase.php
1352313529

1352413530
-
13525-
rawMessage: 'Cannot call method setAttribute() on DOMNode|false.'
13531+
rawMessage: 'Cannot call method setAttribute() on DOMElement|false.'
1352613532
identifier: method.nonObject
1352713533
count: 4
1352813534
path: app/cdash/include/Test/UseCase/DynamicAnalysisUseCase.php
@@ -13606,7 +13612,13 @@ parameters:
1360613612
path: app/cdash/include/Test/UseCase/DynamicAnalysisUseCase.php
1360713613

1360813614
-
13609-
rawMessage: 'Parameter #1 $parent of method CDash\Test\UseCase\DynamicAnalysisUseCase::createResultsElement() expects DOMElement, (DOMNode|false) given.'
13615+
rawMessage: 'PHPDoc tag @var with type DOMNode is not subtype of type (DOMElement|false).'
13616+
identifier: varTag.type
13617+
count: 1
13618+
path: app/cdash/include/Test/UseCase/DynamicAnalysisUseCase.php
13619+
13620+
-
13621+
rawMessage: 'Parameter #1 $parent of method CDash\Test\UseCase\DynamicAnalysisUseCase::createResultsElement() expects DOMElement, (DOMElement|false) given.'
1361013622
identifier: argument.type
1361113623
count: 1
1361213624
path: app/cdash/include/Test/UseCase/DynamicAnalysisUseCase.php
@@ -13624,7 +13636,7 @@ parameters:
1362413636
path: app/cdash/include/Test/UseCase/DynamicAnalysisUseCase.php
1362513637

1362613638
-
13627-
rawMessage: 'Parameter #1 $parent of method CDash\Test\UseCase\UseCase::createChildElementsFromKeys() expects DOMElement, (DOMNode|false) given.'
13639+
rawMessage: 'Parameter #1 $parent of method CDash\Test\UseCase\UseCase::createChildElementsFromKeys() expects DOMElement, (DOMElement|false) given.'
1362813640
identifier: argument.type
1362913641
count: 1
1363013642
path: app/cdash/include/Test/UseCase/DynamicAnalysisUseCase.php
@@ -13636,7 +13648,7 @@ parameters:
1363613648
path: app/cdash/include/Test/UseCase/DynamicAnalysisUseCase.php
1363713649

1363813650
-
13639-
rawMessage: 'Parameter #1 $parent of method CDash\Test\UseCase\UseCase::createLabelsElement() expects DOMElement, (DOMNode|false) given.'
13651+
rawMessage: 'Parameter #1 $parent of method CDash\Test\UseCase\UseCase::createLabelsElement() expects DOMElement, (DOMElement|false) given.'
1364013652
identifier: argument.type
1364113653
count: 1
1364213654
path: app/cdash/include/Test/UseCase/DynamicAnalysisUseCase.php
@@ -13660,13 +13672,13 @@ parameters:
1366013672
path: app/cdash/include/Test/UseCase/DynamicAnalysisUseCase.php
1366113673

1366213674
-
13663-
rawMessage: 'Cannot call method appendChild() on DOMNode|false.'
13675+
rawMessage: 'Cannot call method appendChild() on DOMElement|false.'
1366413676
identifier: method.nonObject
1366513677
count: 32
1366613678
path: app/cdash/include/Test/UseCase/TestUseCase.php
1366713679

1366813680
-
13669-
rawMessage: 'Cannot call method setAttribute() on DOMNode|false.'
13681+
rawMessage: 'Cannot call method setAttribute() on DOMElement|false.'
1367013682
identifier: method.nonObject
1367113683
count: 2
1367213684
path: app/cdash/include/Test/UseCase/TestUseCase.php
@@ -13750,13 +13762,13 @@ parameters:
1375013762
path: app/cdash/include/Test/UseCase/TestUseCase.php
1375113763

1375213764
-
13753-
rawMessage: 'Parameter #1 $parent of method CDash\Test\UseCase\TestUseCase::createTestElement() expects DOMElement, (DOMNode|false) given.'
13765+
rawMessage: 'Parameter #1 $parent of method CDash\Test\UseCase\TestUseCase::createTestElement() expects DOMElement, (DOMElement|false) given.'
1375413766
identifier: argument.type
1375513767
count: 1
1375613768
path: app/cdash/include/Test/UseCase/TestUseCase.php
1375713769

1375813770
-
13759-
rawMessage: 'Parameter #1 $parent of method CDash\Test\UseCase\UseCase::createLabelsElement() expects DOMElement, (DOMNode|false) given.'
13771+
rawMessage: 'Parameter #1 $parent of method CDash\Test\UseCase\UseCase::createLabelsElement() expects DOMElement, (DOMElement|false) given.'
1376013772
identifier: argument.type
1376113773
count: 1
1376213774
path: app/cdash/include/Test/UseCase/TestUseCase.php
@@ -13768,13 +13780,13 @@ parameters:
1376813780
path: app/cdash/include/Test/UseCase/TestUseCase.php
1376913781

1377013782
-
13771-
rawMessage: 'Cannot call method appendChild() on DOMNode|false.'
13783+
rawMessage: 'Cannot call method appendChild() on DOMElement|false.'
1377213784
identifier: method.nonObject
1377313785
count: 47
1377413786
path: app/cdash/include/Test/UseCase/UpdateUseCase.php
1377513787

1377613788
-
13777-
rawMessage: 'Cannot call method setAttribute() on DOMNode|false.'
13789+
rawMessage: 'Cannot call method setAttribute() on DOMElement|false.'
1377813790
identifier: method.nonObject
1377913791
count: 2
1378013792
path: app/cdash/include/Test/UseCase/UpdateUseCase.php
@@ -13864,7 +13876,7 @@ parameters:
1386413876
path: app/cdash/include/Test/UseCase/UpdateUseCase.php
1386513877

1386613878
-
13867-
rawMessage: 'Parameter #1 $root of method CDash\Test\UseCase\UpdateUseCase::createDirectoryElement() expects DOMElement, (DOMNode|false) given.'
13879+
rawMessage: 'Parameter #1 $root of method CDash\Test\UseCase\UpdateUseCase::createDirectoryElement() expects DOMElement, (DOMElement|false) given.'
1386813880
identifier: argument.type
1386913881
count: 1
1387013882
path: app/cdash/include/Test/UseCase/UpdateUseCase.php
@@ -13894,7 +13906,7 @@ parameters:
1389413906
path: app/cdash/include/Test/UseCase/UseCase.php
1389513907

1389613908
-
13897-
rawMessage: 'Cannot call method appendChild() on DOMNode|false.'
13909+
rawMessage: 'Cannot call method appendChild() on DOMElement|false.'
1389813910
identifier: method.nonObject
1389913911
count: 2
1390013912
path: app/cdash/include/Test/UseCase/UseCase.php
@@ -20055,12 +20067,6 @@ parameters:
2005520067
count: 3
2005620068
path: app/cdash/tests/test_builddetails.php
2005720069

20058-
-
20059-
rawMessage: 'Cannot access offset int<0, max> on mixed.'
20060-
identifier: offsetAccess.nonOffsetAccessible
20061-
count: 1
20062-
path: app/cdash/tests/test_builddetails.php
20063-
2006420070
-
2006520071
rawMessage: Cannot access property $error on mixed.
2006620072
identifier: property.nonObject

0 commit comments

Comments
 (0)