Skip to content

Commit

Permalink
Removed unused dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
akadlec committed Feb 6, 2024
1 parent 9607241 commit e07d0d5
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion .docs/en/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ extensions:
....
ipubDoctrineCrud: IPub\DoctrineCrud\DI\DoctrineCrudExtension
ipubDoctrineConsistence: IPub\DoctrineConsistence\DI\DoctrineConsistenceExtension
ipubDynamicDiscriminatorMap: IPub\DoctrineDynamicDiscriminatorMap\DI\DoctrineDynamicDiscriminatorMapExtension
fbDateTimeFactory: FastyBird\DateTimeFactory\DI\DateTimeFactoryExtension
```

Expand Down
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"fastybird/datetime-factory": "^0.6",
"ipub/doctrine-consistence": "^0.4",
"ipub/doctrine-crud": "^4.0",
"ipub/doctrine-dynamic-discriminator-map": "^1.4",
"ipub/doctrine-orm-query": "^0.1",
"ipub/slim-router": "^0.2.0",
"lcobucci/jwt": "^4.2",
Expand Down
6 changes: 2 additions & 4 deletions src/Entities/Tokens/Token.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
use FastyBird\SimpleAuth\Types;
use IPub\DoctrineCrud;
use IPub\DoctrineCrud\Mapping\Attribute as IPubDoctrine;
use IPub\DoctrineDynamicDiscriminatorMap\Entities as DoctrineDynamicDiscriminatorMapEntities;
use Ramsey\Uuid;
use Throwable;

Expand All @@ -40,8 +39,7 @@
#[ORM\InheritanceType('SINGLE_TABLE')]
#[ORM\DiscriminatorColumn(name: 'token_type', type: 'string', length: 20)]
#[ORM\MappedSuperclass]
abstract class Token implements DoctrineCrud\Entities\IEntity,
DoctrineDynamicDiscriminatorMapEntities\IDiscriminatorProvider
abstract class Token implements DoctrineCrud\Entities\IEntity
{

#[ORM\Id]
Expand Down Expand Up @@ -71,8 +69,8 @@ abstract class Token implements DoctrineCrud\Entities\IEntity,
*/
#[IPubDoctrine\Crud(writable: true)]
#[ORM\Column(
type: 'string_enum',
name: 'token_state',
type: 'string_enum',
nullable: false,
options: ['default' => Types\TokenState::ACTIVE],
)]
Expand Down
2 changes: 1 addition & 1 deletion src/Mapping/Attribute/Owner.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
use Doctrine\ORM\Mapping as ORMMapping;

/**
* Entity owner annotation for Doctrine2
* Entity owner attribute for Doctrine2
*
* @package FastyBird:SimpleAuth!
* @subpackage Mapping
Expand Down
1 change: 0 additions & 1 deletion tests/common.neon
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ extensions:
nettrineOrmCache : Nettrine\ORM\DI\OrmCacheExtension
ipubDoctrineCrud : IPub\DoctrineCrud\DI\DoctrineCrudExtension
ipubDoctrineConsistence : IPub\DoctrineConsistence\DI\DoctrineConsistenceExtension
ipubDynamicDiscriminatorMap : IPub\DoctrineDynamicDiscriminatorMap\DI\DoctrineDynamicDiscriminatorMapExtension
fbDateTimeFactory : FastyBird\DateTimeFactory\DI\DateTimeFactoryExtension

services:
Expand Down

0 comments on commit e07d0d5

Please sign in to comment.