@@ -24,7 +24,7 @@ discard block |
||
| 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 |
||
| 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 |
@@ -16,10 +16,10 @@ |
||
| 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 | } |
@@ -16,10 +16,10 @@ |
||
| 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 | } |