Skip to content

Commit 26ddfde

Browse files
committed
Bumped dependencies, removed nette/utils
1 parent 85ee0de commit 26ddfde

14 files changed

+700
-1039
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
build/*
33
vendor/*
44
.phpunit.result.cache
5+
.phpunit.cache/*

composer.json

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "infinityloop-dev/graphpinator-constraint-directives",
33
"description": "Typesystem directives to declare additional validation on top of GraphQL type system.",
4-
"homepage": "https://www.infinityloop.dev/",
4+
"homepage": "https://github.com/graphpql/",
55
"type": "library",
66
"license": ["MIT"],
77
"authors": [
@@ -12,17 +12,16 @@
1212
}
1313
],
1414
"require": {
15-
"php": ">=8.0.1",
15+
"php": ">=8.1",
1616
"ext-fileinfo": "*",
17-
"infinityloop-dev/graphpinator": "^1.2.1",
18-
"infinityloop-dev/utils": "^2.1.2",
19-
"nette/utils": "^3.2"
17+
"infinityloop-dev/graphpinator": "^1.6",
18+
"infinityloop-dev/utils": "^2.3"
2019
},
2120
"require-dev": {
22-
"infinityloop-dev/graphpinator-upload": "^1.0.2",
23-
"phpunit/phpunit": "^9.5",
24-
"infection/infection": "^0.26",
25-
"phpstan/phpstan": "^1.0",
21+
"infinityloop-dev/graphpinator-upload": "^1.1",
22+
"phpunit/phpunit": "^10.4",
23+
"infection/infection": "^0.27",
24+
"phpstan/phpstan": "^1.10",
2625
"infinityloop-dev/coding-standard": "^0.2"
2726
},
2827
"suggest": {

composer.lock

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

phpunit.xml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
3-
<coverage processUncoveredFiles="true">
4-
<include>
5-
<directory suffix=".php">src</directory>
6-
</include>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.4/phpunit.xsd" cacheDirectory=".phpunit.cache">
3+
<coverage>
74
<report>
85
<clover outputFile="./build/phpunit.clover.xml"/>
96
<html outputDirectory="./build/html" lowUpperBound="70" highLowerBound="100"/>
@@ -18,4 +15,9 @@
1815
<logging>
1916
<junit outputFile="./build/logfile.xml"/>
2017
</logging>
18+
<source>
19+
<include>
20+
<directory suffix=".php">src</directory>
21+
</include>
22+
</source>
2123
</phpunit>

tests/Integration/ConstraintArgumentTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
final class ConstraintArgumentTest extends \PHPUnit\Framework\TestCase
1010
{
11-
public function argumentDataProvider() : array
11+
public static function argumentDataProvider() : array
1212
{
1313
return [
1414
[
@@ -130,7 +130,7 @@ public function testArgument(Json $request, Json $expected) : void
130130
self::assertNull($result->getErrors());
131131
}
132132

133-
public function argumentInvalidDataProvider() : array
133+
public static function argumentInvalidDataProvider() : array
134134
{
135135
return [
136136
[

tests/Integration/ConstraintFieldTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
final class ConstraintFieldTest extends \PHPUnit\Framework\TestCase
1010
{
11-
public function fieldDataProvider() : array
11+
public static function fieldDataProvider() : array
1212
{
1313
return [
1414
[
@@ -175,7 +175,7 @@ public function testField(array $settings, Json $expected) : void
175175
);
176176
}
177177

178-
public function fieldInvalidDataProvider() : array
178+
public static function fieldInvalidDataProvider() : array
179179
{
180180
return [
181181
[

tests/Integration/ConstraintVariableTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
final class ConstraintVariableTest extends \PHPUnit\Framework\TestCase
1010
{
11-
public function variableDataProvider() : array
11+
public static function variableDataProvider() : array
1212
{
1313
return [
1414
[
@@ -56,7 +56,7 @@ public function testVariable(Json $request) : void
5656
);
5757
}
5858

59-
public function variableInvalidDataProvider() : array
59+
public static function variableInvalidDataProvider() : array
6060
{
6161
return [
6262
[

tests/Integration/FloatVarianceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
final class FloatVarianceTest extends \PHPUnit\Framework\TestCase
88
{
9-
public function covarianceDataProvider() : array
9+
public static function covarianceDataProvider() : array
1010
{
1111
return [
1212
[

tests/Integration/IntVarianceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
final class IntVarianceTest extends \PHPUnit\Framework\TestCase
88
{
9-
public function covarianceDataProvider() : array
9+
public static function covarianceDataProvider() : array
1010
{
1111
return [
1212
[

tests/Integration/ListVarianceTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
final class ListVarianceTest extends \PHPUnit\Framework\TestCase
88
{
9-
public function covarianceDataProvider() : array
9+
public static function covarianceDataProvider() : array
1010
{
1111
return [
1212
[
@@ -112,7 +112,7 @@ protected function getFieldDefinition() : \Graphpinator\Typesystem\Field\FieldSe
112112
}
113113
}
114114

115-
public function covarianceDataProviderInner() : array
115+
public static function covarianceDataProviderInner() : array
116116
{
117117
return [
118118
[

0 commit comments

Comments
 (0)