Skip to content

Commit 5192b95

Browse files
Run php-cs-fixer
1 parent 3249048 commit 5192b95

File tree

6 files changed

+12
-16
lines changed

6 files changed

+12
-16
lines changed

src/Query.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public static function new(): self
9393
*
9494
* @param null|string $label The label to give to the node
9595
*
96-
* @link https://neo4j.com/docs/cypher-manual/current/syntax/patterns/#cypher-pattern-node Corresponding documentation on Neo4j.com
96+
* @see https://neo4j.com/docs/cypher-manual/current/syntax/patterns/#cypher-pattern-node Corresponding documentation on Neo4j.com
9797
*/
9898
public static function node(?string $label = null): Node
9999
{
@@ -108,7 +108,7 @@ public static function node(?string $label = null): Node
108108
* - Relationship::DIR_LEFT (for a relation of (a)<--(b))
109109
* - Relationship::DIR_UNI (for a relation of (a)--(b))
110110
*
111-
* @link https://neo4j.com/docs/cypher-manual/current/syntax/patterns/#cypher-pattern-relationship Corresponding documentation on Neo4j.com
111+
* @see https://neo4j.com/docs/cypher-manual/current/syntax/patterns/#cypher-pattern-relationship Corresponding documentation on Neo4j.com
112112
*/
113113
public static function relationship(array $direction = Relationship::DIR_UNI): Relationship
114114
{
@@ -118,7 +118,7 @@ public static function relationship(array $direction = Relationship::DIR_UNI): R
118118
/**
119119
* Creates a unidirectional relationship.
120120
*
121-
* @link https://neo4j.com/docs/cypher-manual/current/syntax/patterns/#cypher-pattern-relationship Corresponding documentation on Neo4j.com
121+
* @see https://neo4j.com/docs/cypher-manual/current/syntax/patterns/#cypher-pattern-relationship Corresponding documentation on Neo4j.com
122122
*/
123123
public static function relationshipUni(): Relationship
124124
{
@@ -128,7 +128,7 @@ public static function relationshipUni(): Relationship
128128
/**
129129
* Creates a right relationship.
130130
*
131-
* @link https://neo4j.com/docs/cypher-manual/current/syntax/patterns/#cypher-pattern-relationship Corresponding documentation on Neo4j.com
131+
* @see https://neo4j.com/docs/cypher-manual/current/syntax/patterns/#cypher-pattern-relationship Corresponding documentation on Neo4j.com
132132
*/
133133
public static function relationshipTo(): Relationship
134134
{
@@ -138,7 +138,7 @@ public static function relationshipTo(): Relationship
138138
/**
139139
* Creates a left relationship.
140140
*
141-
* @link https://neo4j.com/docs/cypher-manual/current/syntax/patterns/#cypher-pattern-relationship Corresponding documentation on Neo4j.com
141+
* @see https://neo4j.com/docs/cypher-manual/current/syntax/patterns/#cypher-pattern-relationship Corresponding documentation on Neo4j.com
142142
*/
143143
public static function relationshipFrom(): Relationship
144144
{

tests/end-to-end/MoviesTest.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ final class MoviesTest extends TestCase
2727
public function testFindActorNamedTomHanks(): void
2828
{
2929
$tom = node()->withProperties([
30-
'name' => 'Tom Hanks'
30+
'name' => 'Tom Hanks',
3131
]);
3232

3333
$query = query()
@@ -40,7 +40,7 @@ public function testFindActorNamedTomHanks(): void
4040
public function testFindTheMovieWithTitleCloudAtlas(): void
4141
{
4242
$cloudAtlas = node()->withProperties([
43-
'title' => 'Cloud Atlas'
43+
'title' => 'Cloud Atlas',
4444
]);
4545

4646
$query = query()
@@ -69,7 +69,7 @@ public function testFindMoviesReleasedInThe1990s(): void
6969
->match($nineties)
7070
->where([
7171
$nineties->property('released')->gte(1990),
72-
$nineties->property('released')->lt(2000)
72+
$nineties->property('released')->lt(2000),
7373
])
7474
->returning($nineties->property('title'));
7575

@@ -80,7 +80,7 @@ public function testListAllTomHanksMovies(): void
8080
{
8181
$movies = node();
8282
$tom = node('Person')->withProperties([
83-
'name' => 'Tom Hanks'
83+
'name' => 'Tom Hanks',
8484
]);
8585

8686
$query = query()
@@ -94,7 +94,7 @@ public function testWhoDirectedCloudAtlas(): void
9494
{
9595
$directors = node();
9696
$cloudAtlas = node()->withProperties([
97-
'title' => 'Cloud Atlas'
97+
'title' => 'Cloud Atlas',
9898
]);
9999

100100
$query = query()
@@ -108,7 +108,7 @@ public function testTomHanksCoActors(): void
108108
{
109109
$coActors = node();
110110
$tom = node('Person')->withProperties([
111-
'name' => 'Tom Hanks'
111+
'name' => 'Tom Hanks',
112112
]);
113113

114114
$query = query()
@@ -122,7 +122,7 @@ public function testMoviesAndActorsUpTo4HopsAwayFromKevinBacon(): void
122122
{
123123
$hollywood = node();
124124
$bacon = node('Person')->withProperties([
125-
'name' => 'Kevin Bacon'
125+
'name' => 'Kevin Bacon',
126126
]);
127127

128128
$relation = relationshipUni()

tests/unit/Traits/TypeTraits/CompositeTypeTraits/ListTypeTraitTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
*/
1010
namespace WikibaseSolutions\CypherDSL\Tests\Unit\Traits\TypeTraits\CompositeTypeTraits;
1111

12-
use PHPUnit\Framework\MockObject\MockObject;
1312
use PHPUnit\Framework\TestCase;
1413
use WikibaseSolutions\CypherDSL\Expressions\Literals\List_;
1514
use WikibaseSolutions\CypherDSL\Expressions\Operators\In;

tests/unit/Traits/TypeTraits/MethodTraits/PropertyMethodTraitTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
*/
1010
namespace WikibaseSolutions\CypherDSL\Tests\Unit\Traits\TypeTraits\MethodTraits;
1111

12-
use PHPUnit\Framework\MockObject\MockObject;
1312
use PHPUnit\Framework\TestCase;
1413
use WikibaseSolutions\CypherDSL\Expressions\Literals\Map;
1514
use WikibaseSolutions\CypherDSL\Expressions\Property;

tests/unit/Traits/TypeTraits/PropertyTypeTraits/PropertyTypeTraitTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
use WikibaseSolutions\CypherDSL\Expressions\Literals\List_;
1414
use WikibaseSolutions\CypherDSL\Expressions\Literals\String_;
1515
use WikibaseSolutions\CypherDSL\Expressions\Operators\In;
16-
use WikibaseSolutions\CypherDSL\Expressions\Property;
1716
use WikibaseSolutions\CypherDSL\Traits\TypeTraits\PropertyTypeTraits\PropertyTypeTrait;
1817
use WikibaseSolutions\CypherDSL\Types\PropertyTypes\PropertyType;
1918

tests/unit/Traits/TypeTraits/PropertyTypeTraits/StringTypeTraitTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
*/
1010
namespace WikibaseSolutions\CypherDSL\Tests\Unit\Traits\TypeTraits\PropertyTypeTraits;
1111

12-
use PHPUnit\Framework\MockObject\MockObject;
1312
use PHPUnit\Framework\TestCase;
1413
use WikibaseSolutions\CypherDSL\Expressions\Literals\String_;
1514
use WikibaseSolutions\CypherDSL\Expressions\Operators\Contains;

0 commit comments

Comments
 (0)