Skip to content

Commit

Permalink
Dependencies bump
Browse files Browse the repository at this point in the history
  • Loading branch information
peldax committed Nov 10, 2023
1 parent e5e7642 commit ee1d29b
Show file tree
Hide file tree
Showing 7 changed files with 530 additions and 740 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.idea/*
build/*
vendor/*
.phpunit.cache/*
.phpunit.result.cache
15 changes: 7 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "infinityloop-dev/graphpinator-where-directives",
"description": "Executable directives to filter values in lists.",
"homepage": "https://www.infinityloop.dev/",
"homepage": "https://github.com/graphpql/",
"type": "library",
"license": ["MIT"],
"authors": [
Expand All @@ -12,15 +12,14 @@
}
],
"require": {
"infinityloop-dev/graphpinator": "v1.4",
"infinityloop-dev/graphpinator-constraint-directives": "^1.0",
"infinityloop-dev/utils": "^2.1.2",
"nette/utils": "^3.2"
"infinityloop-dev/graphpinator": "v1.6",
"infinityloop-dev/graphpinator-constraint-directives": "^1.3",
"infinityloop-dev/utils": "^2.3"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"infection/infection": "^0.26",
"phpstan/phpstan": "^1.0",
"phpunit/phpunit": "^10.4",
"infection/infection": "^0.27",
"phpstan/phpstan": "^1.10",
"infinityloop-dev/coding-standard": "^0.2"
},
"scripts": {
Expand Down
1,228 changes: 509 additions & 719 deletions composer.lock

Large diffs are not rendered by default.

12 changes: 7 additions & 5 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">src</directory>
</include>
<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">
<coverage>
<report>
<clover outputFile="./build/phpunit.clover.xml"/>
<html outputDirectory="./build/html" lowUpperBound="70" highLowerBound="100"/>
Expand All @@ -18,4 +15,9 @@
<logging>
<junit outputFile="./build/logfile.xml"/>
</logging>
<source>
<include>
<directory suffix=".php">src</directory>
</include>
</source>
</phpunit>
10 changes: 5 additions & 5 deletions tests/Integration/FilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

final class FilterTest extends \PHPUnit\Framework\TestCase
{
public function stringDataProvider() : array
public static function stringDataProvider() : array
{
return [
[
Expand Down Expand Up @@ -98,7 +98,7 @@ public function stringDataProvider() : array
];
}

public function simpleIntDataProvider() : array
public static function simpleIntDataProvider() : array
{
return [
[
Expand Down Expand Up @@ -152,7 +152,7 @@ public function simpleIntDataProvider() : array
];
}

public function simpleFloatDataProvider() : array
public static function simpleFloatDataProvider() : array
{
return [
[
Expand Down Expand Up @@ -200,7 +200,7 @@ public function simpleFloatDataProvider() : array
];
}

public function simpleBoolDataProvider() : array
public static function simpleBoolDataProvider() : array
{
return [
[
Expand Down Expand Up @@ -230,7 +230,7 @@ public function simpleBoolDataProvider() : array
];
}

public function simpleListDataProvider() : array
public static function simpleListDataProvider() : array
{
return [
[
Expand Down
2 changes: 1 addition & 1 deletion tests/Integration/InvalidFieldTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

final class InvalidFieldTest extends \PHPUnit\Framework\TestCase
{
public function simpleDataProvider() : array
public static function simpleDataProvider() : array
{
return [
[
Expand Down
2 changes: 0 additions & 2 deletions tests/TestDIContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

final class TestDIContainer
{
use \Nette\StaticClass;

private static array $types = [];
private static ?\Graphpinator\ConstraintDirectives\ConstraintDirectiveAccessor $accessor = null;
private static ?\Graphpinator\Typesystem\Container $container = null;
Expand Down

0 comments on commit ee1d29b

Please sign in to comment.