apply more cs rules for php-cs

This commit is contained in:
2023-10-17 13:27:03 +02:00
parent 0b0cbed9db
commit bc2041cbdd
1485 changed files with 8169 additions and 9620 deletions

View File

@@ -14,8 +14,6 @@ namespace Chill\Migrations\Person;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
use function count;
/**
* Check if each person do not have multiple addresses with the same valideFrom.
*/
@@ -34,11 +32,11 @@ class Version20160422000000 extends AbstractMigration
$personWithTwoAddressWithSameValidFrom = $stmt->fetchAll();
foreach ($personWithTwoAddressWithSameValidFrom as $p) {
$this->warnIf(true, 'The person with id ' . $p['id'] . ' has two adresses with the same validFrom date');
$this->warnIf(true, 'The person with id '.$p['id'].' has two adresses with the same validFrom date');
}
$this->abortIf(
count($personWithTwoAddressWithSameValidFrom) !== 0,
0 !== \count($personWithTwoAddressWithSameValidFrom),
'There exists some person with multiple adress with the same validFrom'
);
}