Skip to content

Commit 68f077f

Browse files
committed
Merge branch 'refs/heads/5.1.x-dev' into 6.x-dev
2 parents 77645eb + ca8b62d commit 68f077f

File tree

100 files changed

+200
-104
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+200
-104
lines changed

docker/sphinx/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
alabaster==0.7.16
22
anyio==4.3.0
33
Babel==2.15.0
4-
certifi==2024.2.2
4+
certifi==2024.7.4
55
charset-normalizer==3.3.2
66
click==8.1.7
77
colorama==0.4.6

lib/LongitudeOne/Spatial/ORM/Query/AST/Functions/AbstractSpatialDQLFunction.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ abstract protected function getMinParameter(): int;
196196
* @see https://github.com/doctrine/dbal/issues/4749
197197
* @see https://github.com/longitude-one/doctrine-spatial/issues/40
198198
*
199-
* @return class-string[] a non-empty array of accepted platforms
199+
* @return class-string<AbstractPlatform>[] a non-empty array of accepted platforms
200200
*/
201201
abstract protected function getPlatforms(): array;
202202
}

lib/LongitudeOne/Spatial/ORM/Query/AST/Functions/MySql/SpBuffer.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,14 @@
1818

1919
namespace LongitudeOne\Spatial\ORM\Query\AST\Functions\MySql;
2020

21+
use Doctrine\DBAL\Platforms\AbstractPlatform;
2122
use Doctrine\DBAL\Platforms\MySQLPlatform;
2223
use LongitudeOne\Spatial\ORM\Query\AST\Functions\AbstractSpatialDQLFunction;
2324

2425
/**
2526
* Sp_Buffer DQL function.
2627
* MySQL ST_Buffer function is not able to receive a CHARACTER VARYING as third parameter.
27-
* This SQL function can only received the result of a ST_Buffer_Strategy function as third parameter.
28+
* This SQL function can only receive the result of an ST_Buffer_Strategy function as third parameter.
2829
* So Sp_Buffer DQL function is specific to MySQL.
2930
*
3031
* @author Alexandre Tranchant <[email protected]>
@@ -72,7 +73,7 @@ protected function getMinParameter(): int
7273
* @since 2.0 This function replace the protected property platforms.
7374
* @since 5.0 This function returns the class-string[] instead of string[]
7475
*
75-
* @return class-string[] a non-empty array of accepted platforms
76+
* @return class-string<AbstractPlatform>[] a non-empty array of accepted platforms
7677
*/
7778
protected function getPlatforms(): array
7879
{

lib/LongitudeOne/Spatial/ORM/Query/AST/Functions/MySql/SpBufferStrategy.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
namespace LongitudeOne\Spatial\ORM\Query\AST\Functions\MySql;
2020

21+
use Doctrine\DBAL\Platforms\AbstractPlatform;
2122
use Doctrine\DBAL\Platforms\MySQLPlatform;
2223
use LongitudeOne\Spatial\ORM\Query\AST\Functions\AbstractSpatialDQLFunction;
2324

@@ -70,7 +71,7 @@ protected function getMinParameter(): int
7071
* @since 2.0 This function replace the protected property platforms.
7172
* @since 5.0 This function returns the class-string[] instead of string[]
7273
*
73-
* @return class-string[] a non-empty array of accepted platforms
74+
* @return class-string<AbstractPlatform>[] a non-empty array of accepted platforms
7475
*/
7576
protected function getPlatforms(): array
7677
{

lib/LongitudeOne/Spatial/ORM/Query/AST/Functions/MySql/SpDistance.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
namespace LongitudeOne\Spatial\ORM\Query\AST\Functions\MySql;
2020

21+
use Doctrine\DBAL\Platforms\AbstractPlatform;
2122
use Doctrine\DBAL\Platforms\MySQLPlatform;
2223
use LongitudeOne\Spatial\ORM\Query\AST\Functions\AbstractSpatialDQLFunction;
2324

@@ -70,7 +71,7 @@ protected function getMinParameter(): int
7071
* @since 2.0 This function replace the protected property platforms.
7172
* @since 5.0 This function returns the class-string[] instead of string[]
7273
*
73-
* @return class-string[] a non-empty array of accepted platforms
74+
* @return class-string<AbstractPlatform>[] a non-empty array of accepted platforms
7475
*/
7576
protected function getPlatforms(): array
7677
{

lib/LongitudeOne/Spatial/ORM/Query/AST/Functions/MySql/SpDistanceSphere.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
namespace LongitudeOne\Spatial\ORM\Query\AST\Functions\MySql;
2020

21+
use Doctrine\DBAL\Platforms\AbstractPlatform;
2122
use Doctrine\DBAL\Platforms\MySQLPlatform;
2223
use LongitudeOne\Spatial\ORM\Query\AST\Functions\AbstractSpatialDQLFunction;
2324

@@ -70,7 +71,7 @@ protected function getMinParameter(): int
7071
* @since 2.0 This function replace the protected property platforms.
7172
* @since 5.0 This function returns the class-string[] instead of string[]
7273
*
73-
* @return class-string[] a non-empty array of accepted platforms
74+
* @return class-string<AbstractPlatform>[] a non-empty array of accepted platforms
7475
*/
7576
protected function getPlatforms(): array
7677
{

lib/LongitudeOne/Spatial/ORM/Query/AST/Functions/MySql/SpGeometryType.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
namespace LongitudeOne\Spatial\ORM\Query\AST\Functions\MySql;
2020

21+
use Doctrine\DBAL\Platforms\AbstractPlatform;
2122
use Doctrine\DBAL\Platforms\MySQLPlatform;
2223
use LongitudeOne\Spatial\ORM\Query\AST\Functions\AbstractSpatialDQLFunction;
2324

@@ -69,7 +70,7 @@ protected function getMinParameter(): int
6970
* @since 2.0 This function replace the protected property platforms.
7071
* @since 5.0 This function returns the class-string[] instead of string[]
7172
*
72-
* @return class-string[] a non-empty array of accepted platforms
73+
* @return class-string<AbstractPlatform>[] a non-empty array of accepted platforms
7374
*/
7475
protected function getPlatforms(): array
7576
{

lib/LongitudeOne/Spatial/ORM/Query/AST/Functions/MySql/SpLineString.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
namespace LongitudeOne\Spatial\ORM\Query\AST\Functions\MySql;
2020

21+
use Doctrine\DBAL\Platforms\AbstractPlatform;
2122
use Doctrine\DBAL\Platforms\MySQLPlatform;
2223
use LongitudeOne\Spatial\ORM\Query\AST\Functions\AbstractSpatialDQLFunction;
2324

@@ -70,7 +71,7 @@ protected function getMinParameter(): int
7071
* @since 2.0 This function replace the protected property platforms.
7172
* @since 5.0 This function returns the class-string[] instead of string[]
7273
*
73-
* @return class-string[] a non-empty array of accepted platforms
74+
* @return class-string<AbstractPlatform>[] a non-empty array of accepted platforms
7475
*/
7576
protected function getPlatforms(): array
7677
{

lib/LongitudeOne/Spatial/ORM/Query/AST/Functions/MySql/SpMbrContains.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
namespace LongitudeOne\Spatial\ORM\Query\AST\Functions\MySql;
2020

21+
use Doctrine\DBAL\Platforms\AbstractPlatform;
2122
use Doctrine\DBAL\Platforms\MySQLPlatform;
2223
use LongitudeOne\Spatial\ORM\Query\AST\Functions\AbstractSpatialDQLFunction;
2324

@@ -69,7 +70,7 @@ protected function getMinParameter(): int
6970
* @since 2.0 This function replace the protected property platforms.
7071
* @since 5.0 This function returns the class-string[] instead of string[]
7172
*
72-
* @return class-string[] a non-empty array of accepted platforms
73+
* @return class-string<AbstractPlatform>[] a non-empty array of accepted platforms
7374
*/
7475
protected function getPlatforms(): array
7576
{

lib/LongitudeOne/Spatial/ORM/Query/AST/Functions/MySql/SpMbrDisjoint.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
namespace LongitudeOne\Spatial\ORM\Query\AST\Functions\MySql;
2020

21+
use Doctrine\DBAL\Platforms\AbstractPlatform;
2122
use Doctrine\DBAL\Platforms\MySQLPlatform;
2223
use LongitudeOne\Spatial\ORM\Query\AST\Functions\AbstractSpatialDQLFunction;
2324

@@ -69,7 +70,7 @@ protected function getMinParameter(): int
6970
* @since 2.0 This function replace the protected property platforms.
7071
* @since 5.0 This function returns the class-string[] instead of string[]
7172
*
72-
* @return class-string[] a non-empty array of accepted platforms
73+
* @return class-string<AbstractPlatform>[] a non-empty array of accepted platforms
7374
*/
7475
protected function getPlatforms(): array
7576
{

lib/LongitudeOne/Spatial/ORM/Query/AST/Functions/MySql/SpMbrEquals.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
namespace LongitudeOne\Spatial\ORM\Query\AST\Functions\MySql;
2020

21+
use Doctrine\DBAL\Platforms\AbstractPlatform;
2122
use Doctrine\DBAL\Platforms\MySQLPlatform;
2223
use LongitudeOne\Spatial\ORM\Query\AST\Functions\AbstractSpatialDQLFunction;
2324

@@ -70,7 +71,7 @@ protected function getMinParameter(): int
7071
* @since 2.0 This function replace the protected property platforms.
7172
* @since 5.0 This function returns the class-string[] instead of string[]
7273
*
73-
* @return class-string[] a non-empty array of accepted platforms
74+
* @return class-string<AbstractPlatform>[] a non-empty array of accepted platforms
7475
*/
7576
protected function getPlatforms(): array
7677
{

lib/LongitudeOne/Spatial/ORM/Query/AST/Functions/MySql/SpMbrIntersects.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
namespace LongitudeOne\Spatial\ORM\Query\AST\Functions\MySql;
2020

21+
use Doctrine\DBAL\Platforms\AbstractPlatform;
2122
use Doctrine\DBAL\Platforms\MySQLPlatform;
2223
use LongitudeOne\Spatial\ORM\Query\AST\Functions\AbstractSpatialDQLFunction;
2324

@@ -71,7 +72,7 @@ protected function getMinParameter(): int
7172
* @since 2.0 This function replace the protected property platforms.
7273
* @since 5.0 This function returns the class-string[] instead of string[]
7374
*
74-
* @return class-string[] a non-empty array of accepted platforms
75+
* @return class-string<AbstractPlatform>[] a non-empty array of accepted platforms
7576
*/
7677
protected function getPlatforms(): array
7778
{

lib/LongitudeOne/Spatial/ORM/Query/AST/Functions/MySql/SpMbrOverlaps.php

+2-3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
namespace LongitudeOne\Spatial\ORM\Query\AST\Functions\MySql;
2020

21+
use Doctrine\DBAL\Platforms\AbstractPlatform;
2122
use Doctrine\DBAL\Platforms\MySQLPlatform;
2223
use LongitudeOne\Spatial\ORM\Query\AST\Functions\AbstractSpatialDQLFunction;
2324

@@ -67,12 +68,10 @@ protected function getMinParameter(): int
6768
/**
6869
* Get the platforms accepted.
6970
*
70-
* TODO check why this function was used with postgresql.
71-
*
7271
* @since 2.0 This function replace the protected property platforms.
7372
* @since 5.0 This function returns the class-string[] instead of string[]
7473
*
75-
* @return class-string[] a non-empty array of accepted platforms
74+
* @return class-string<AbstractPlatform>[] a non-empty array of accepted platforms
7675
*/
7776
protected function getPlatforms(): array
7877
{

lib/LongitudeOne/Spatial/ORM/Query/AST/Functions/MySql/SpMbrTouches.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
namespace LongitudeOne\Spatial\ORM\Query\AST\Functions\MySql;
2020

21+
use Doctrine\DBAL\Platforms\AbstractPlatform;
2122
use Doctrine\DBAL\Platforms\MySQLPlatform;
2223
use LongitudeOne\Spatial\ORM\Query\AST\Functions\AbstractSpatialDQLFunction;
2324

@@ -71,7 +72,7 @@ protected function getMinParameter(): int
7172
* @since 2.0 This function replace the protected property platforms.
7273
* @since 5.0 This function returns the class-string[] instead of string[]
7374
*
74-
* @return class-string[] a non-empty array of accepted platforms
75+
* @return class-string<AbstractPlatform>[] a non-empty array of accepted platforms
7576
*/
7677
protected function getPlatforms(): array
7778
{

lib/LongitudeOne/Spatial/ORM/Query/AST/Functions/MySql/SpMbrWithin.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
namespace LongitudeOne\Spatial\ORM\Query\AST\Functions\MySql;
2020

21+
use Doctrine\DBAL\Platforms\AbstractPlatform;
2122
use Doctrine\DBAL\Platforms\MySQLPlatform;
2223
use LongitudeOne\Spatial\ORM\Query\AST\Functions\AbstractSpatialDQLFunction;
2324

@@ -71,7 +72,7 @@ protected function getMinParameter(): int
7172
* @since 2.0 This function replace the protected property platforms.
7273
* @since 5.0 This function returns the class-string[] instead of string[]
7374
*
74-
* @return class-string[] a non-empty array of accepted platforms
75+
* @return class-string<AbstractPlatform>[] a non-empty array of accepted platforms
7576
*/
7677
protected function getPlatforms(): array
7778
{

lib/LongitudeOne/Spatial/ORM/Query/AST/Functions/MySql/SpPoint.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
namespace LongitudeOne\Spatial\ORM\Query\AST\Functions\MySql;
2020

21+
use Doctrine\DBAL\Platforms\AbstractPlatform;
2122
use Doctrine\DBAL\Platforms\MySQLPlatform;
2223
use LongitudeOne\Spatial\ORM\Query\AST\Functions\AbstractSpatialDQLFunction;
2324

@@ -70,7 +71,7 @@ protected function getMinParameter(): int
7071
* @since 2.0 This function replace the protected property platforms.
7172
* @since 5.0 This function returns the class-string[] instead of string[]
7273
*
73-
* @return class-string[] a non-empty array of accepted platforms
74+
* @return class-string<AbstractPlatform>[] a non-empty array of accepted platforms
7475
*/
7576
protected function getPlatforms(): array
7677
{

lib/LongitudeOne/Spatial/ORM/Query/AST/Functions/PostgreSql/SpAsGeoJson.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
namespace LongitudeOne\Spatial\ORM\Query\AST\Functions\PostgreSql;
2020

21+
use Doctrine\DBAL\Platforms\AbstractPlatform;
2122
use Doctrine\DBAL\Platforms\PostgreSQLPlatform;
2223
use LongitudeOne\Spatial\ORM\Query\AST\Functions\AbstractSpatialDQLFunction;
2324
use LongitudeOne\Spatial\ORM\Query\AST\Functions\ReturnsGeometryInterface;
@@ -71,7 +72,7 @@ protected function getMinParameter(): int
7172
* @since 2.0 This function replace the protected property platforms.
7273
* @since 5.0 This function returns the class-string[] instead of string[]
7374
*
74-
* @return class-string[] a non-empty array of accepted platforms
75+
* @return class-string<AbstractPlatform>[] a non-empty array of accepted platforms
7576
*/
7677
protected function getPlatforms(): array
7778
{

lib/LongitudeOne/Spatial/ORM/Query/AST/Functions/PostgreSql/SpAzimuth.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
namespace LongitudeOne\Spatial\ORM\Query\AST\Functions\PostgreSql;
2020

21+
use Doctrine\DBAL\Platforms\AbstractPlatform;
2122
use Doctrine\DBAL\Platforms\PostgreSQLPlatform;
2223
use LongitudeOne\Spatial\ORM\Query\AST\Functions\AbstractSpatialDQLFunction;
2324

@@ -70,7 +71,7 @@ protected function getMinParameter(): int
7071
* @since 2.0 This function replace the protected property platforms.
7172
* @since 5.0 This function returns the class-string[] instead of string[]
7273
*
73-
* @return class-string[] a non-empty array of accepted platforms
74+
* @return class-string<AbstractPlatform>[] a non-empty array of accepted platforms
7475
*/
7576
protected function getPlatforms(): array
7677
{

lib/LongitudeOne/Spatial/ORM/Query/AST/Functions/PostgreSql/SpClosestPoint.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
namespace LongitudeOne\Spatial\ORM\Query\AST\Functions\PostgreSql;
2020

21+
use Doctrine\DBAL\Platforms\AbstractPlatform;
2122
use Doctrine\DBAL\Platforms\PostgreSQLPlatform;
2223
use LongitudeOne\Spatial\ORM\Query\AST\Functions\AbstractSpatialDQLFunction;
2324

@@ -71,7 +72,7 @@ protected function getMinParameter(): int
7172
* @since 2.0 This function replace the protected property platforms.
7273
* @since 5.0 This function returns the class-string[] instead of string[]
7374
*
74-
* @return class-string[] a non-empty array of accepted platforms
75+
* @return class-string<AbstractPlatform>[] a non-empty array of accepted platforms
7576
*/
7677
protected function getPlatforms(): array
7778
{

lib/LongitudeOne/Spatial/ORM/Query/AST/Functions/PostgreSql/SpCollect.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
namespace LongitudeOne\Spatial\ORM\Query\AST\Functions\PostgreSql;
2020

21+
use Doctrine\DBAL\Platforms\AbstractPlatform;
2122
use Doctrine\DBAL\Platforms\PostgreSQLPlatform;
2223
use LongitudeOne\Spatial\ORM\Query\AST\Functions\AbstractSpatialDQLFunction;
2324

@@ -70,7 +71,7 @@ protected function getMinParameter(): int
7071
* @since 2.0 This function replace the protected property platforms.
7172
* @since 5.0 This function returns the class-string[] instead of string[]
7273
*
73-
* @return class-string[] a non-empty array of accepted platforms
74+
* @return class-string<AbstractPlatform>[] a non-empty array of accepted platforms
7475
*/
7576
protected function getPlatforms(): array
7677
{

lib/LongitudeOne/Spatial/ORM/Query/AST/Functions/PostgreSql/SpContainsProperly.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
namespace LongitudeOne\Spatial\ORM\Query\AST\Functions\PostgreSql;
2020

21+
use Doctrine\DBAL\Platforms\AbstractPlatform;
2122
use Doctrine\DBAL\Platforms\PostgreSQLPlatform;
2223
use LongitudeOne\Spatial\ORM\Query\AST\Functions\AbstractSpatialDQLFunction;
2324

@@ -70,7 +71,7 @@ protected function getMinParameter(): int
7071
* @since 2.0 This function replace the protected property platforms.
7172
* @since 5.0 This function returns the class-string[] instead of string[]
7273
*
73-
* @return class-string[] a non-empty array of accepted platforms
74+
* @return class-string<AbstractPlatform>[] a non-empty array of accepted platforms
7475
*/
7576
protected function getPlatforms(): array
7677
{

lib/LongitudeOne/Spatial/ORM/Query/AST/Functions/PostgreSql/SpCoveredBy.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
namespace LongitudeOne\Spatial\ORM\Query\AST\Functions\PostgreSql;
2020

21+
use Doctrine\DBAL\Platforms\AbstractPlatform;
2122
use Doctrine\DBAL\Platforms\PostgreSQLPlatform;
2223
use LongitudeOne\Spatial\ORM\Query\AST\Functions\AbstractSpatialDQLFunction;
2324

@@ -70,7 +71,7 @@ protected function getMinParameter(): int
7071
* @since 2.0 This function replace the protected property platforms.
7172
* @since 5.0 This function returns the class-string[] instead of string[]
7273
*
73-
* @return class-string[] a non-empty array of accepted platforms
74+
* @return class-string<AbstractPlatform>[] a non-empty array of accepted platforms
7475
*/
7576
protected function getPlatforms(): array
7677
{

lib/LongitudeOne/Spatial/ORM/Query/AST/Functions/PostgreSql/SpCovers.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
namespace LongitudeOne\Spatial\ORM\Query\AST\Functions\PostgreSql;
2020

21+
use Doctrine\DBAL\Platforms\AbstractPlatform;
2122
use Doctrine\DBAL\Platforms\PostgreSQLPlatform;
2223
use LongitudeOne\Spatial\ORM\Query\AST\Functions\AbstractSpatialDQLFunction;
2324

@@ -70,7 +71,7 @@ protected function getMinParameter(): int
7071
* @since 2.0 This function replace the protected property platforms.
7172
* @since 5.0 This function returns the class-string[] instead of string[]
7273
*
73-
* @return class-string[] a non-empty array of accepted platforms
74+
* @return class-string<AbstractPlatform>[] a non-empty array of accepted platforms
7475
*/
7576
protected function getPlatforms(): array
7677
{

0 commit comments

Comments
 (0)