Completed
Pull Request — master (#30)
by Christian
02:27
created
test/integration/ElderBrother/Change/FileListSqlTest.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
                       `District` char(20) NOT NULL DEFAULT '',
25 25
                       `Population` int(11) NOT NULL DEFAULT '0'
26 26
                     ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
27
-SQL
27
+sql
28 28
                 ,
29 29
                 'sql/EB-001-data.sql' => <<<SQL
30 30
                     INSERT INTO `City` (`ID`, `Name`, `CountryCode`, `District`, `Population`) VALUES
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
                     (7, 'Haag', 'NLD', 'Zuid-Holland', 440900),
38 38
                     (8, 'Utrecht', 'NLD', 'Utrecht', 234323),
39 39
                     (9, 'Eindhoven', 'NLD', 'Noord-Brabant', 201843);
40
-SQL
40
+sql
41 41
                 ,
42 42
                 'sql/EB-002-keys.sql' => 'ALTER TABLE `City` ADD PRIMARY KEY (`ID`);',
43 43
             ] as $filename => $content
Please login to merge, or discard this patch.
src/ElderBrother/Change/FileInfo.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,10 +16,10 @@
 block discarded – undo
16 16
     public function getParsedSql()
17 17
     {
18 18
         if ($this->parsedSql === null) {
19
-            if($this->isFile()){
19
+            if ($this->isFile()) {
20 20
                 $parser = new PHPSQLParser($this->getContents());
21 21
                 $this->parsedSql = $parser->parsed;
22
-            }else{
22
+            } else {
23 23
                 $this->parsedSql = false;
24 24
             }
25 25
         }
Please login to merge, or discard this patch.
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,10 +16,10 @@
 block discarded – undo
16 16
     public function getParsedSql()
17 17
     {
18 18
         if ($this->parsedSql === null) {
19
-            if($this->isFile()){
19
+            if($this->isFile()) {
20 20
                 $parser = new PHPSQLParser($this->getContents());
21 21
                 $this->parsedSql = $parser->parsed;
22
-            }else{
22
+            } else {
23 23
                 $this->parsedSql = false;
24 24
             }
25 25
         }
Please login to merge, or discard this patch.