1
0
mirror of synced 2025-03-06 21:06:16 +03:00

#5987 CS: spacing after ! (not) operator

This commit is contained in:
Marco Pivetta 2016-11-26 05:23:04 +01:00
parent 24da9061b9
commit 3cd7b8c951
2 changed files with 5 additions and 3 deletions

View File

@ -371,7 +371,7 @@ public function __construct(<params>)
mkdir($dir, 0775, true);
}
$this->isNew = !file_exists($path) || $this->regenerateEntityIfExists;
$this->isNew = ! file_exists($path) || $this->regenerateEntityIfExists;
if ( ! $this->isNew) {
$this->parseTokensInEntityFile(file_get_contents($path));

View File

@ -126,7 +126,8 @@ class LockTest extends OrmFunctionalTestCase
public function testLockPessimisticWrite()
{
$writeLockSql = $this->_em->getConnection()->getDatabasePlatform()->getWriteLockSQL();
if (!$writeLockSql) {
if (! $writeLockSql) {
$this->markTestSkipped('Database Driver has no Write Lock support.');
}
@ -157,7 +158,8 @@ class LockTest extends OrmFunctionalTestCase
public function testLockPessimisticRead()
{
$readLockSql = $this->_em->getConnection()->getDatabasePlatform()->getReadLockSQL();
if (!$readLockSql) {
if (! $readLockSql) {
$this->markTestSkipped('Database Driver has no Write Lock support.');
}