Fixed phpcs violations

This commit is contained in:
Robbie Averill 2018-10-05 16:07:33 +02:00
parent 024762f03b
commit 98568262f2
2 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@ class MySQLSchemaManager extends DBSchemaManager
public function renameTable($oldTableName, $newTableName)
{
if (!$this->hasTable($oldTableName)) {
throw new LogicException('Table '. $oldTableName . ' does not exist.');
throw new LogicException('Table ' . $oldTableName . ' does not exist.');
}
return $this->query("ALTER TABLE \"$oldTableName\" RENAME \"$newTableName\"");

View File

@ -397,7 +397,7 @@ class ThemeResourceLoaderTest extends SapphireTest
public function testFindTemplateWithCacheHit()
{
$mockCache = $this->createMock(CacheInterface::class);
$mockCache->expects($this->once())->method('has')->willReturn(true);;
$mockCache->expects($this->once())->method('has')->willReturn(true);
$mockCache->expects($this->never())->method('set');
$mockCache->expects($this->once())->method('get')->willReturn('mock_template.ss');