Skip to content

Commit 330112b

Browse files
authored
Bump PHPStan to 2.2.1 and use bare ... unsealed shape (#86)
1 parent 81e7857 commit 330112b

239 files changed

Lines changed: 617 additions & 611 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -335,17 +335,17 @@ final class Data
335335
* 'merged'?: bool,
336336
* 'number'?: int,
337337
* 'title'?: string,
338-
* ...<int|string, mixed>,
338+
* ...,
339339
* }>,
340-
* ...<int|string, mixed>,
340+
* ...,
341341
* },
342-
* ...<int|string, mixed>,
342+
* ...,
343343
* } $data
344344
* @param list<array{
345345
* 'code': string,
346346
* 'debugMessage'?: string,
347347
* 'message': string,
348-
* ...<int|string, mixed>,
348+
* ...,
349349
* }> $errors
350350
*/
351351
public function __construct(
@@ -767,29 +767,29 @@ final class Data
767767
* 'node': array{
768768
* 'id': int,
769769
* 'name': string,
770-
* ...<int|string, mixed>,
770+
* ...,
771771
* },
772-
* ...<int|string, mixed>,
772+
* ...,
773773
* }>,
774-
* ...<int|string, mixed>,
774+
* ...,
775775
* },
776776
* 'issues': list<array{
777777
* 'id': int,
778778
* 'name': string,
779-
* ...<int|string, mixed>,
779+
* ...,
780780
* }>,
781781
* 'projects': list<array{
782782
* 'id': string,
783783
* 'name': string,
784-
* ...<int|string, mixed>,
784+
* ...,
785785
* }>,
786-
* ...<int|string, mixed>,
786+
* ...,
787787
* } $data
788788
* @param list<array{
789789
* 'code': string,
790790
* 'debugMessage'?: string,
791791
* 'message': string,
792-
* ...<int|string, mixed>,
792+
* ...,
793793
* }> $errors
794794
*/
795795
public function __construct(
@@ -870,9 +870,9 @@ final class Viewer
870870
* 'project': null|array{
871871
* 'id': string,
872872
* 'name': string,
873-
* ...<int|string, mixed>,
873+
* ...,
874874
* },
875-
* ...<int|string, mixed>,
875+
* ...,
876876
* } $data
877877
*/
878878
public function __construct(
@@ -1088,7 +1088,7 @@ final class ProjectView
10881088
* 'description': null|string,
10891089
* 'name': string,
10901090
* 'state': null|string,
1091-
* ...<int|string, mixed>,
1091+
* ...,
10921092
* } $data
10931093
*/
10941094
public function __construct(
@@ -1122,7 +1122,7 @@ final class Project
11221122
* 'description': null|string,
11231123
* 'name': string,
11241124
* 'state': null|string,
1125-
* ...<int|string, mixed>,
1125+
* ...,
11261126
* } $data
11271127
*/
11281128
public function __construct(

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"composer-runtime-api": "^2.0",
99
"nikic/php-parser": "^5.7",
1010
"phpstan/phpdoc-parser": "^2.3",
11-
"phpstan/phpstan": "^2.1.18",
11+
"phpstan/phpstan": "^2.2.1",
1212
"ruudk/code-generator": "^0.4.7",
1313
"sebastian/diff": "^7 || ^8",
1414
"symfony/console": "^8.0",

composer.lock

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

examples/Generated/Fragment/PullRequestInfo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ final class PullRequestInfo
3232
* 'merged': bool,
3333
* 'number': int,
3434
* 'title': string,
35-
* ...<int|string, mixed>,
35+
* ...,
3636
* } $data
3737
*/
3838
public function __construct(

examples/Generated/Query/Search/Data.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,17 @@ final class Data
4141
* 'merged'?: bool,
4242
* 'number'?: int,
4343
* 'title'?: string,
44-
* ...<int|string, mixed>,
44+
* ...,
4545
* }>,
46-
* ...<int|string, mixed>,
46+
* ...,
4747
* },
48-
* ...<int|string, mixed>,
48+
* ...,
4949
* } $data
5050
* @param list<array{
5151
* 'code': string,
5252
* 'debugMessage'?: string,
5353
* 'message': string,
54-
* ...<int|string, mixed>,
54+
* ...,
5555
* }> $errors
5656
*/
5757
public function __construct(

examples/Generated/Query/Search/Data/SearchResultItemConnection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ final class SearchResultItemConnection
3636
* 'merged'?: bool,
3737
* 'number'?: int,
3838
* 'title'?: string,
39-
* ...<int|string, mixed>,
39+
* ...,
4040
* }>,
41-
* ...<int|string, mixed>,
41+
* ...,
4242
* } $data
4343
*/
4444
public function __construct(

examples/Generated/Query/Search/Data/SearchResultItemConnection/Node.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ final class Node
9595
* 'merged'?: bool,
9696
* 'number'?: int,
9797
* 'title'?: string,
98-
* ...<int|string, mixed>,
98+
* ...,
9999
* } $data
100100
*/
101101
public function __construct(

examples/Generated/Query/Search/Data/SearchResultItemConnection/Node/AsIssue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ final class AsIssue
2727
* '__typename': 'Issue',
2828
* 'number': int,
2929
* 'title': string,
30-
* ...<int|string, mixed>,
30+
* ...,
3131
* } $data
3232
*/
3333
public function __construct(

examples/Generated/Query/Search/Error.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* @param array{
1515
* 'debugMessage'?: string,
1616
* 'message': string,
17-
* ...<int|string, mixed>,
17+
* ...,
1818
* } $error
1919
*/
2020
public function __construct(array $error)

examples/Generated/Query/Viewer/Data.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ final class Data
3030
* @param array{
3131
* 'viewer': array{
3232
* 'login': string,
33-
* ...<int|string, mixed>,
33+
* ...,
3434
* },
35-
* ...<int|string, mixed>,
35+
* ...,
3636
* } $data
3737
* @param list<array{
3838
* 'code': string,
3939
* 'debugMessage'?: string,
4040
* 'message': string,
41-
* ...<int|string, mixed>,
41+
* ...,
4242
* }> $errors
4343
*/
4444
public function __construct(

0 commit comments

Comments
 (0)