Skip to content

Commit

Permalink
Fixed failing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
DamienHarper committed Aug 30, 2024
1 parent 12e36e0 commit 1cb6b8d
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 32 deletions.
1 change: 1 addition & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ parameters:
return_type: 100
param_type: 100
property_type: 100
constant: 0

paths:
- src
Expand Down
10 changes: 0 additions & 10 deletions src/Model/Transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,36 +18,26 @@ class Transaction implements TransactionInterface
{
/**
* @var string
*
* @phpstan-ignore-next-line
*/
public const INSERT = 'insert';

/**
* @var string
*
* @phpstan-ignore-next-line
*/
public const UPDATE = 'update';

/**
* @var string
*
* @phpstan-ignore-next-line
*/
public const REMOVE = 'remove';

/**
* @var string
*
* @phpstan-ignore-next-line
*/
public const ASSOCIATE = 'associate';

/**
* @var string
*
* @phpstan-ignore-next-line
*/
public const DISSOCIATE = 'dissociate';

Expand Down
2 changes: 0 additions & 2 deletions src/Provider/Doctrine/Auditing/Annotation/Security.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ final class Security
{
/**
* @var string
*
* @phpstan-ignore-next-line
*/
public const VIEW_SCOPE = 'view';

Expand Down
2 changes: 0 additions & 2 deletions src/Provider/Doctrine/DoctrineProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ final class DoctrineProvider extends AbstractProvider
{
/**
* @var array<string, string>
*
* @phpstan-ignore-next-line
*/
private const FIELDS = [
'type' => '?',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ final class CleanAuditLogsCommand extends Command

/**
* @var string
*
* @phpstan-ignore-next-line
*/
private const UNTIL_DATE_FORMAT = 'Y-m-d H:i:s';

Expand Down
14 changes: 0 additions & 14 deletions src/Provider/Doctrine/Persistence/Reader/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,50 +23,36 @@ final class Query
{
/**
* @var string
*
* @phpstan-ignore-next-line
*/
public const TYPE = 'type';

/**
* @var string
*
* @phpstan-ignore-next-line
*/
public const CREATED_AT = 'created_at';

/**
* @var string
*
* @phpstan-ignore-next-line
*/
public const TRANSACTION_HASH = 'transaction_hash';

/**
* @var string
*
* @phpstan-ignore-next-line
*/
public const OBJECT_ID = 'object_id';

/**
* @var string
*
* @phpstan-ignore-next-line
*/
public const USER_ID = 'blame_id';

/**
* @var string
*
* @phpstan-ignore-next-line
*/
public const ID = 'id';

/**
* @var string
*
* @phpstan-ignore-next-line
*/
public const DISCRIMINATOR = 'discriminator';

Expand Down
2 changes: 0 additions & 2 deletions src/Provider/Doctrine/Persistence/Reader/Reader.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
{
/**
* @var int
*
* @phpstan-ignore-next-line
*/
public const PAGE_SIZE = 50;

Expand Down

0 comments on commit 1cb6b8d

Please sign in to comment.