Skip to content

Commit c787b8c

Browse files
committed
Group use statements
1 parent 9bcacbe commit c787b8c

File tree

201 files changed

+307
-470
lines changed

Some content is hidden

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

201 files changed

+307
-470
lines changed

src/main/php/rdbms/CachedResults.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ public function next() {
3838
$this->_key= key($this->_hash);
3939
return $this->_hash[$oldkey];
4040
}
41-
}
41+
}

src/main/php/rdbms/Column.class.php

100644100755
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php namespace rdbms;
22

3-
use rdbms\join\JoinProcessor;
43
use rdbms\criterion\Restrictions;
4+
use rdbms\join\JoinProcessor;
55

66
/**
77
* Represents a table column
@@ -190,4 +190,4 @@ public function greaterThanOrEqualTo($value) {
190190
public function between($lo, $hi) {
191191
return Restrictions::between($this, $lo, $hi);
192192
}
193-
}
193+
}

src/main/php/rdbms/ConnectionManager.class.php

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,4 +167,4 @@ protected function conn($name, $value) {
167167

168168
throw new DriverNotSupportedException('Neither a connection string nor a rdbms.DBConnection given.');
169169
}
170-
}
170+
}

src/main/php/rdbms/ConnectionNotRegisteredException.class.php

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
*/
1010
class ConnectionNotRegisteredException extends SQLException {
1111

12-
}
12+
}

src/main/php/rdbms/Criteria.class.php

100644100755
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
<?php namespace rdbms;
22

3-
use rdbms\criterion\Criterion;
4-
use rdbms\criterion\ProjectionList;
5-
use rdbms\criterion\Projections;
6-
use rdbms\criterion\SimpleExpression;
3+
use rdbms\criterion\{Criterion, ProjectionList, Projections, SimpleExpression};
74
use util\Objects;
85

96
define('ASCENDING', 'asc');
@@ -311,4 +308,4 @@ private function fragment($conn, $types, $col) {
311308
return $col;
312309
}
313310
}
314-
}
311+
}

src/main/php/rdbms/DBAdapter.class.php

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ public abstract function getTables($database= null);
4444
* @return string[]
4545
*/
4646
public abstract function getDatabases();
47-
}
47+
}

src/main/php/rdbms/DBConnection.class.php

100644100755
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<?php namespace rdbms;
22

33
use lang\XPClass;
4-
use util\Observable;
5-
use util\TimeZone;
4+
use util\{Observable, TimeZone};
65

76
/**
87
* Provide an interface from which all other database connection
@@ -278,4 +277,4 @@ abstract public function commit($name);
278277
public function getFormatter() {
279278
return $this->formatter;
280279
}
281-
}
280+
}

src/main/php/rdbms/DBConstraint.class.php

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ public function setName($name) {
2525
public function getName() {
2626
return $this->name;
2727
}
28-
}
28+
}

src/main/php/rdbms/DBEvent.class.php

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@ public function getArgument() {
7272
public function toString() {
7373
return nameof($this).'('.$this->name.') {'.Objects::stringOf($this->arg).'}';
7474
}
75-
}
75+
}

src/main/php/rdbms/DBForeignKeyConstraint.class.php

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,4 @@ public function toString() {
7171
return $s.'}';
7272
}
7373

74-
}
74+
}

0 commit comments

Comments
 (0)