#5987 CS: spacing after !
(not) operator
This commit is contained in:
parent
24da9061b9
commit
3cd7b8c951
@ -371,7 +371,7 @@ public function __construct(<params>)
|
|||||||
mkdir($dir, 0775, true);
|
mkdir($dir, 0775, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->isNew = !file_exists($path) || $this->regenerateEntityIfExists;
|
$this->isNew = ! file_exists($path) || $this->regenerateEntityIfExists;
|
||||||
|
|
||||||
if ( ! $this->isNew) {
|
if ( ! $this->isNew) {
|
||||||
$this->parseTokensInEntityFile(file_get_contents($path));
|
$this->parseTokensInEntityFile(file_get_contents($path));
|
||||||
|
@ -126,7 +126,8 @@ class LockTest extends OrmFunctionalTestCase
|
|||||||
public function testLockPessimisticWrite()
|
public function testLockPessimisticWrite()
|
||||||
{
|
{
|
||||||
$writeLockSql = $this->_em->getConnection()->getDatabasePlatform()->getWriteLockSQL();
|
$writeLockSql = $this->_em->getConnection()->getDatabasePlatform()->getWriteLockSQL();
|
||||||
if (!$writeLockSql) {
|
|
||||||
|
if (! $writeLockSql) {
|
||||||
$this->markTestSkipped('Database Driver has no Write Lock support.');
|
$this->markTestSkipped('Database Driver has no Write Lock support.');
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -157,7 +158,8 @@ class LockTest extends OrmFunctionalTestCase
|
|||||||
public function testLockPessimisticRead()
|
public function testLockPessimisticRead()
|
||||||
{
|
{
|
||||||
$readLockSql = $this->_em->getConnection()->getDatabasePlatform()->getReadLockSQL();
|
$readLockSql = $this->_em->getConnection()->getDatabasePlatform()->getReadLockSQL();
|
||||||
if (!$readLockSql) {
|
|
||||||
|
if (! $readLockSql) {
|
||||||
$this->markTestSkipped('Database Driver has no Write Lock support.');
|
$this->markTestSkipped('Database Driver has no Write Lock support.');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user