Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Feb 12, 2022
1 parent 9331584 commit 16207b4
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 9 deletions.
2 changes: 0 additions & 2 deletions src/PDO/CommandPDOOracle.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
use Yiisoft\Db\Connection\ConnectionPDOInterface;
use Yiisoft\Db\Exception\Exception;
use Yiisoft\Db\Query\QueryBuilderInterface;
use Yiisoft\Db\Schema\QuoterInterface;
use Yiisoft\Db\Schema\SchemaInterface;

/**
* Command represents an Oracle SQL statement to be executed against a database.
Expand Down
2 changes: 1 addition & 1 deletion src/PDO/QueryBuilderPDOOracle.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function alterColumn(string $table, string $column, string $type): string
*
* @param string $table the table that new rows will be inserted into.
* @param array $columns the column names.
* @param iterable|Generator $rows the rows to be batched inserted into the table.
* @param Generator|iterable $rows the rows to be batched inserted into the table.
* @param array $params
*
* @throws \Exception|InvalidArgumentException|InvalidConfigException|NotSupportedException
Expand Down
2 changes: 1 addition & 1 deletion src/PDO/SchemaPDOOracle.php
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ protected function findColumns(TableSchema $table): bool
*
* @throws Exception|InvalidConfigException|Throwable
*
* @return int|null|string whether the sequence exists.
* @return int|string|null whether the sequence exists.
*
* @internal TableSchema `$table->getName()` the table schema.
*/
Expand Down
4 changes: 0 additions & 4 deletions tests/QueryBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@

use Closure;
use Yiisoft\Arrays\ArrayHelper;
use Yiisoft\Db\Connection\ConnectionInterface;
use Yiisoft\Db\Oracle\PDO\QueryBuilderPDOOracle;
use yiisoft\Db\Query\Query;
use Yiisoft\Db\Query\QueryBuilderInterface;
use Yiisoft\Db\TestSupport\TestQueryBuilderTrait;

/**
Expand Down Expand Up @@ -320,5 +317,4 @@ public function testUpsert(string $table, $insertColumns, $updateColumns, $expec
$this->assertIsOneOf($actualParams, $expectedParams);
}
}

}
1 change: 0 additions & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

use Exception;
use PHPUnit\Framework\TestCase as AbstractTestCase;
use Yiisoft\Db\Connection\ConnectionInterface;
use Yiisoft\Db\Driver\PDODriver;
use Yiisoft\Db\Oracle\PDO\ConnectionPDOOracle;
use Yiisoft\Db\TestSupport\TestTrait;
Expand Down

0 comments on commit 16207b4

Please sign in to comment.