Skip to content

Commit

Permalink
Housekeeping: phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
beberlei committed Apr 27, 2024
1 parent f864743 commit 94db6a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Tools/Event/SchemaChangedEventArgs.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Doctrine\ORM\Tools\Event;

use Doctrine\Common\EventArgs;
Expand All @@ -8,6 +10,7 @@

class SchemaChangedEventArgs extends EventArgs
{
/** @param array<string> $sqls */
public function __construct(
private readonly EntityManagerInterface $em,

Check failure on line 15 in src/Tools/Event/SchemaChangedEventArgs.php

View workflow job for this annotation

GitHub Actions / Static Analysis with PHPStan (default, phpstan.neon)

Property Doctrine\ORM\Tools\Event\SchemaChangedEventArgs::$em is never read, only written.

Check failure on line 15 in src/Tools/Event/SchemaChangedEventArgs.php

View workflow job for this annotation

GitHub Actions / Static Analysis with PHPStan (3.8.2, phpstan-dbal3.neon)

Property Doctrine\ORM\Tools\Event\SchemaChangedEventArgs::$em is never read, only written.
private readonly Schema $schema,

Check failure on line 16 in src/Tools/Event/SchemaChangedEventArgs.php

View workflow job for this annotation

GitHub Actions / Static Analysis with PHPStan (default, phpstan.neon)

Property Doctrine\ORM\Tools\Event\SchemaChangedEventArgs::$schema is never read, only written.

Check failure on line 16 in src/Tools/Event/SchemaChangedEventArgs.php

View workflow job for this annotation

GitHub Actions / Static Analysis with PHPStan (3.8.2, phpstan-dbal3.neon)

Property Doctrine\ORM\Tools\Event\SchemaChangedEventArgs::$schema is never read, only written.
Expand Down

0 comments on commit 94db6a3

Please sign in to comment.