File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 7
7
"authors" : [
8
8
{
9
9
"name" : " Syndesi (Sören Klein)" ,
10
-
11
- "homepage" : " https://syndesi.dev" ,
12
- "role" : " Developer"
10
+
13
11
}
14
12
],
15
13
"keywords" : [
32
30
}
33
31
},
34
32
"require-dev" : {
35
- "vimeo/psalm" : " ^4.23 " ,
33
+ "vimeo/psalm" : " ^5.0 " ,
36
34
"boesing/psalm-plugin-stringf" : " ^1.1" ,
37
35
"phpstan/phpstan" : " ^1.6" ,
38
36
"phpunit/php-code-coverage" : " ^9.2" ,
39
- "infection/infection" : " ^0.26.10 " ,
37
+ "infection/infection" : " ^0.27.0 " ,
40
38
"friendsofphp/php-cs-fixer" : " ^3.8" ,
41
39
"phpunit/phpunit" : " ^9.5" ,
42
40
"roave/no-leaks" : " ^1.3" ,
43
- "phpbench/phpbench" : " ^1.2"
41
+ "phpbench/phpbench" : " ^1.2" ,
42
+ "infection/codeception-adapter" : " ^0.4.2"
44
43
},
45
44
"scripts" : {
46
45
"test" : " php vendor/phpunit/phpunit/phpunit" ,
Original file line number Diff line number Diff line change @@ -83,8 +83,8 @@ public function addRelation(RelationInterface $relation): self
83
83
}
84
84
85
85
$ ownIdentifyingString = ToStringHelper::nodeToString ($ this , true );
86
- if (ToStringHelper::nodeToString ($ startNode , true ) !== $ ownIdentifyingString &&
87
- ToStringHelper::nodeToString ($ endNode , true ) !== $ ownIdentifyingString
86
+ if (ToStringHelper::nodeToString ($ startNode , true ) !== $ ownIdentifyingString
87
+ && ToStringHelper::nodeToString ($ endNode , true ) !== $ ownIdentifyingString
88
88
) {
89
89
throw new InvalidArgumentException ("Adding a relation to a node requires that either the start node or the end node must be the same as the node itself. " );
90
90
}
You can’t perform that action at this time.
0 commit comments