Skip to content

Commit

Permalink
Rollback idetity int trait.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasHermanek committed Oct 3, 2024
1 parent 0b657d3 commit 3349b9f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions src/Entity/AssetLicence.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use AnzuSystems\Contracts\Entity\Interfaces\IdentifiableInterface;
use AnzuSystems\Contracts\Entity\Interfaces\TimeTrackingInterface;
use AnzuSystems\Contracts\Entity\Interfaces\UserTrackingInterface;
use AnzuSystems\Contracts\Entity\Traits\IdentityIntTrait;
use AnzuSystems\Contracts\Entity\Traits\IdentityTrait;
use AnzuSystems\Contracts\Entity\Traits\TimeTrackingTrait;
use AnzuSystems\Contracts\Entity\Traits\UserTrackingTrait;
use AnzuSystems\CoreDamBundle\App;
Expand All @@ -31,7 +31,8 @@
#[BaseAppAssert\UniqueEntity(fields: ['extSystem', 'extId'], errorAtPath: ['extId'])]
class AssetLicence implements IdentifiableInterface, UserTrackingInterface, TimeTrackingInterface, AssetLicenceInterface, ExtSystemInterface
{
use IdentityIntTrait;
/** @psalm-suppress DeprecatedTrait */
use IdentityTrait;

Check failure on line 35 in src/Entity/AssetLicence.php

View workflow job for this annotation

GitHub Actions / PHP 8.3

DeprecatedTrait

src/Entity/AssetLicence.php:35:9: DeprecatedTrait: Trait AnzuSystems\Contracts\Entity\Traits\IdentityTrait is deprecated (see https://psalm.dev/171)
use TimeTrackingTrait;
use UserTrackingTrait;

Expand Down
5 changes: 3 additions & 2 deletions src/Entity/AssetLicenceGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use AnzuSystems\Contracts\Entity\Interfaces\IdentifiableInterface;
use AnzuSystems\Contracts\Entity\Interfaces\TimeTrackingInterface;
use AnzuSystems\Contracts\Entity\Interfaces\UserTrackingInterface;
use AnzuSystems\Contracts\Entity\Traits\IdentityIntTrait;
use AnzuSystems\Contracts\Entity\Traits\IdentityTrait;
use AnzuSystems\Contracts\Entity\Traits\TimeTrackingTrait;
use AnzuSystems\Contracts\Entity\Traits\UserTrackingTrait;
use AnzuSystems\CoreDamBundle\App;
Expand All @@ -33,7 +33,8 @@ class AssetLicenceGroup implements
UserTrackingInterface,
TimeTrackingInterface
{
use IdentityIntTrait;
/** @psalm-suppress DeprecatedTrait */
use IdentityTrait;

Check failure on line 37 in src/Entity/AssetLicenceGroup.php

View workflow job for this annotation

GitHub Actions / PHP 8.3

DeprecatedTrait

src/Entity/AssetLicenceGroup.php:37:9: DeprecatedTrait: Trait AnzuSystems\Contracts\Entity\Traits\IdentityTrait is deprecated (see https://psalm.dev/171)
use TimeTrackingTrait;
use UserTrackingTrait;

Expand Down
5 changes: 3 additions & 2 deletions src/Entity/ExtSystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use AnzuSystems\Contracts\Entity\Interfaces\IdentifiableInterface;
use AnzuSystems\Contracts\Entity\Interfaces\TimeTrackingInterface;
use AnzuSystems\Contracts\Entity\Interfaces\UserTrackingInterface;
use AnzuSystems\Contracts\Entity\Traits\IdentityIntTrait;
use AnzuSystems\Contracts\Entity\Traits\IdentityTrait;
use AnzuSystems\Contracts\Entity\Traits\TimeTrackingTrait;
use AnzuSystems\Contracts\Entity\Traits\UserTrackingTrait;
use AnzuSystems\CoreDamBundle\App;
Expand All @@ -30,7 +30,8 @@
#[ORM\Cache(usage: App::CACHE_STRATEGY)]
class ExtSystem implements IdentifiableInterface, UserTrackingInterface, TimeTrackingInterface, ExtSystemInterface
{
use IdentityIntTrait;
/** @psalm-suppress DeprecatedTrait */
use IdentityTrait;

Check failure on line 34 in src/Entity/ExtSystem.php

View workflow job for this annotation

GitHub Actions / PHP 8.3

DeprecatedTrait

src/Entity/ExtSystem.php:34:9: DeprecatedTrait: Trait AnzuSystems\Contracts\Entity\Traits\IdentityTrait is deprecated (see https://psalm.dev/171)
use UserTrackingTrait;
use TimeTrackingTrait;

Expand Down

0 comments on commit 3349b9f

Please sign in to comment.