Skip to content

Commit a919cb5

Browse files
committed
coding style: fixed spaces & use statements order
1 parent cf8f133 commit a919cb5

File tree

66 files changed

+51
-84
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+51
-84
lines changed

src/Bridges/DatabaseDI/DatabaseExtension.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,5 +130,4 @@ private function setupDatabase($config, $name): void
130130
$builder->addAlias("nette.database.$name.context", $this->prefix("$name.context"));
131131
}
132132
}
133-
134133
}

src/Bridges/DatabaseTracy/ConnectionPanel.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,5 +139,4 @@ public function getPanel(): ?string
139139
require __DIR__ . '/templates/ConnectionPanel.panel.phtml';
140140
return ob_get_clean();
141141
}
142-
143142
}

src/Bridges/DatabaseTracy/templates/ConnectionPanel.panel.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace Nette\Bridges\DatabaseTracy;
44

5-
use Tracy;
65
use Nette\Database\Helpers;
6+
use Tracy;
77

88
?>
99
<style class="tracy-debug">

src/Database/Context.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,5 +152,4 @@ public static function literal($value, ...$params): SqlLiteral
152152
{
153153
return new SqlLiteral($value, $params);
154154
}
155-
156155
}

src/Database/Conventions/DiscoveredConventions.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,5 +100,4 @@ public function getBelongsToReference(string $table, string $key): ?array
100100
$this->structure->rebuild();
101101
return $this->getBelongsToReference($table, $key);
102102
}
103-
104103
}

src/Database/Conventions/StaticConventions.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,4 @@ protected function getColumnFromTable(string $name): string
7878

7979
return $name;
8080
}
81-
8281
}

src/Database/DriverException.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,4 @@ public function getQueryString(): ?string
6262
{
6363
return $this->queryString;
6464
}
65-
6665
}

src/Database/Drivers/MsSqlDriver.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,5 +143,4 @@ public function isSupported(string $item): bool
143143
{
144144
return $item === self::SUPPORT_SUBSELECT;
145145
}
146-
147146
}

src/Database/Drivers/MySqlDriver.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,5 +234,4 @@ public function isSupported(string $item): bool
234234
// and more.
235235
return $item === self::SUPPORT_SELECT_UNGROUPED_COLUMNS || $item === self::SUPPORT_MULTI_COLUMN_AS_OR_COND;
236236
}
237-
238237
}

src/Database/Drivers/OciDriver.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,5 +172,4 @@ public function isSupported(string $item): bool
172172
{
173173
return $item === self::SUPPORT_SEQUENCE || $item === self::SUPPORT_SUBSELECT;
174174
}
175-
176175
}

0 commit comments

Comments
 (0)