Skip to content

Commit 10f5e31

Browse files
committed
Update all PHP deps
Except: - doctrine/persistence because we cannot support both 2.0 and 3.0
1 parent ec51aed commit 10f5e31

17 files changed

+527
-860
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@
3737
},
3838
"require": {
3939
"php": "^8.1",
40-
"doctrine/orm": "^2.11",
41-
"doctrine/persistence": "^1.3 || ^2.0",
42-
"psr/container": "^1.1",
40+
"doctrine/orm": "^2.13",
41+
"doctrine/persistence": "^2.0",
42+
"psr/container": "^1.1 || ^2.0",
4343
"webonyx/graphql-php": "^14.11"
4444
},
4545
"require-dev": {

composer.lock

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

src/Annotation/Argument.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* what is declared by the original argument of the method.
1414
*
1515
* @Annotation
16+
*
1617
* @Target({"ANNOTATION"})
1718
* @Attributes({
1819
* @Attribute("name", required=true, type="string"),

src/Annotation/Exclude.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
* This should be used to hide sensitive data such as passwords.
1111
*
1212
* @Annotation
13+
*
1314
* @Target({"METHOD", "PROPERTY"})
1415
*/
1516
final class Exclude

src/Annotation/Field.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
* what is declared by the original method.
1212
*
1313
* @Annotation
14+
*
1415
* @Target({"METHOD"})
1516
*/
1617
final class Field

src/Annotation/Filter.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* what is declared by the original argument of the method.
1414
*
1515
* @Annotation
16+
*
1617
* @Target({"ANNOTATION"})
1718
*/
1819
final class Filter
@@ -24,6 +25,7 @@ final class Filter
2425
* to organize the filter correctly in the API.
2526
*
2627
* @var string
28+
*
2729
* @Required
2830
*/
2931
public $field;
@@ -32,6 +34,7 @@ final class Filter
3234
* Key referring to the type instance of PHP class implementing the GraphQL type.
3335
*
3436
* @var string
37+
*
3538
* @Required
3639
*/
3740
public $operator;
@@ -40,6 +43,7 @@ final class Filter
4043
* GraphQL leaf type name of the type of the field.
4144
*
4245
* @var string
46+
*
4347
* @Required
4448
*/
4549
public $type;

src/Annotation/FilterGroupCondition.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
* a custom GraphQL type.
1212
*
1313
* @Annotation
14+
*
1415
* @Target({"PROPERTY"})
1516
*/
1617
final class FilterGroupCondition
@@ -19,6 +20,7 @@ final class FilterGroupCondition
1920
* FQCN of PHP class implementing the GraphQL type.
2021
*
2122
* @var string
23+
*
2224
* @Required
2325
*/
2426
public $type;

src/Annotation/Filters.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* Annotation used to define custom filters.
99
*
1010
* @Annotation
11+
*
1112
* @Target({"CLASS"})
1213
*/
1314
final class Filters
@@ -16,6 +17,7 @@ final class Filters
1617
* List of all custom filters.
1718
*
1819
* @var array<\GraphQL\Doctrine\Annotation\Filter>
20+
*
1921
* @Required
2022
*/
2123
public $filters = [];

src/Annotation/Input.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* what is declared by the original method.
1515
*
1616
* @Annotation
17+
*
1718
* @Target({"METHOD"})
1819
* @Attributes({
1920
* @Attribute("name", required=false, type="string"),

src/Annotation/Sorting.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* Annotation used to define custom sorting.
99
*
1010
* @Annotation
11+
*
1112
* @Target({"CLASS"})
1213
*/
1314
final class Sorting

0 commit comments

Comments
 (0)