Skip to content

Commit 83be3c8

Browse files
committed
Apply fixes from StyleCI
1 parent 827893f commit 83be3c8

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

src/Illuminate/Database/Schema/Grammars/SqlServerGrammar.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,6 @@ public function compileGetAllViews()
413413
return "select name, type from sys.objects where type = 'V'";
414414
}
415415

416-
417416
/**
418417
* Create the column definition for a char type.
419418
*

src/Illuminate/Database/Schema/SqlServerBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function dropDatabaseIfExists($name)
3030
);
3131
}
3232

33-
/**
33+
/**
3434
* Drop all tables from the database.
3535
*
3636
* @return void

tests/Integration/Database/SqlServer/DatabaseSqlServerSchemaBuilderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function testGetAllTablesAndColumnListing()
6363

6464
public function testGetAllViews()
6565
{
66-
DB::connection('sqlsrv')->statement(<<<SQL
66+
DB::connection('sqlsrv')->statement(<<<'SQL'
6767
CREATE VIEW users_view
6868
AS
6969
SELECT name,age from users;
@@ -76,7 +76,7 @@ public function testGetAllViews()
7676
$this->assertEquals('users_view', $obj->name);
7777
$this->assertEquals('V ', $obj->type);
7878

79-
DB::connection('sqlsrv')->statement(<<<SQL
79+
DB::connection('sqlsrv')->statement(<<<'SQL'
8080
DROP VIEW IF EXISTS users_view;
8181
SQL);
8282

tests/Integration/Database/Sqlite/DatabaseSqliteSchemaBuilderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function testGetAllTablesAndColumnListing()
7070

7171
public function testGetAllViews()
7272
{
73-
DB::connection('conn1')->statement(<<<SQL
73+
DB::connection('conn1')->statement(<<<'SQL'
7474
CREATE VIEW users_view
7575
AS
7676
SELECT name,age from users;
@@ -83,7 +83,7 @@ public function testGetAllViews()
8383
$this->assertEquals('users_view', $obj->name);
8484
$this->assertEquals('view', $obj->type);
8585

86-
DB::connection('conn1')->statement(<<<SQL
86+
DB::connection('conn1')->statement(<<<'SQL'
8787
DROP VIEW IF EXISTS users_view;
8888
SQL);
8989

0 commit comments

Comments
 (0)