-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
roadiz-ci
committed
Jun 21, 2024
1 parent
7a49568
commit 5d6adae
Showing
13 changed files
with
194 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
# | ||
# Roadiz | ||
# | ||
/pimple.json | ||
|
||
# Ignore Google webmaster tool verification | ||
/google*.html | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
parameters: | ||
level: 7 | ||
level: max | ||
paths: | ||
- src | ||
excludePaths: | ||
- */node_modules/* | ||
- */bower_components/* | ||
- */static/* | ||
ignoreErrors: | ||
- identifier: missingType.iterableValue | ||
- identifier: missingType.generics | ||
- '#unknown class Parsedown(Extra)?#' | ||
- '#Instantiated class Memcached not found#' | ||
- '#Instantiated class Redis not found#' | ||
reportUnmatchedIgnoredErrors: false | ||
checkGenericClassInNonGenericObjectType: false | ||
checkMissingIterableValueType: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace RZ\Roadiz\Core\AbstractEntities; | ||
|
||
use ApiPlatform\Doctrine\Orm\Filter\NumericFilter; | ||
use ApiPlatform\Metadata\ApiFilter; | ||
use Doctrine\Common\Comparable; | ||
use Doctrine\ORM\Mapping as ORM; | ||
use JMS\Serializer\Annotation as Serializer; | ||
use Symfony\Component\Serializer\Annotation as SymfonySerializer; | ||
use ApiPlatform\Doctrine\Orm\Filter\RangeFilter; | ||
|
||
/** | ||
* Combined AbstractDateTimed and PositionedTrait. | ||
*/ | ||
#[ | ||
ORM\MappedSuperclass, | ||
ORM\HasLifecycleCallbacks, | ||
ORM\Table, | ||
ORM\Index(columns: ["position"]), | ||
ORM\Index(columns: ["created_at"]), | ||
ORM\Index(columns: ["updated_at"]) | ||
] | ||
abstract class AbstractDateTimedPositioned extends AbstractDateTimed implements PositionedInterface, Comparable | ||
{ | ||
use PositionedTrait; | ||
|
||
#[ | ||
ORM\Column(type: "float"), | ||
Serializer\Groups(["position"]), | ||
Serializer\Type("float"), | ||
SymfonySerializer\Groups(["position"]), | ||
ApiFilter(RangeFilter::class), | ||
Check failure on line 35 in src/Core/AbstractEntities/AbstractDateTimedPositioned.php GitHub Actions / run-tests (8.3)
|
||
ApiFilter(NumericFilter::class) | ||
Check failure on line 36 in src/Core/AbstractEntities/AbstractDateTimedPositioned.php GitHub Actions / run-tests (8.3)
|
||
] | ||
protected float $position = 0.0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.