- 26 Jan, 2020 2 commits
-
-
Sergei Morozov authored
-
Sergei Morozov authored
-
- 25 Jan, 2020 2 commits
-
-
Sergei Morozov authored
Introduce properties for SQL parts in QueryBuilder
-
Benjamin Morel authored
-
- 22 Jan, 2020 6 commits
-
-
Sergei Morozov authored
Added the missing argument type to Connection::executeQuery($types)
-
Sergei Morozov authored
Fixed the QueryBuilder::setMaxResults() signature to accept NULL
-
Sergei Morozov authored
Enforced argument and return types in QueryBuilder and ExpressionBuilder
-
Sergei Morozov authored
-
Sergei Morozov authored
The original signature was improperly documented which later became enforced.
-
Sergei Morozov authored
-
- 21 Jan, 2020 4 commits
-
-
Sergei Morozov authored
Replaced func_get_args() with variadic arguments
-
Sergei Morozov authored
-
Sergei Morozov authored
Introduce From class in QueryBuilder
-
Benjamin Morel authored
-
- 20 Jan, 2020 2 commits
-
-
Sergei Morozov authored
Fix phpstan error
-
Benjamin Morel authored
-
- 18 Jan, 2020 2 commits
-
-
Sergei Morozov authored
Introduce Join class in QueryBuilder
-
Benjamin Morel authored
-
- 17 Jan, 2020 2 commits
-
-
Sergei Morozov authored
Fix phpstan errors
-
Benjamin Morel authored
-
- 16 Jan, 2020 9 commits
-
-
Sergei Morozov authored
Fix some whitelisted PHPStan errors
-
Sergei Morozov authored
Removed Connection::project()
-
Sergei Morozov authored
The methods has more limitations and caveats than provides real use: 1. It fetches all data in memory which is often inefficient (see #2718). 2. It fetches rows in memory one by one instead of using `fetchAll()`. 4. It doesn't allow to specify the statement fetch mode since it's instantiated internally. 5. It can be easily replaced with: ```php foreach ($conn->executeQuery($query, $params, $types) as $value) { yield $function($value); } ```
-
Sergei Morozov authored
-
Sergei Morozov authored
-
Sergei Morozov authored
-
Sergei Morozov authored
-
Sergei Morozov authored
-
Sergei Morozov authored
Fix phpstan errors
-
- 15 Jan, 2020 1 commit
-
-
Benjamin Morel authored
-
- 13 Jan, 2020 3 commits
-
-
Marco Pivetta authored
Removed the OCI8Connection::getExecuteMode() method
-
Sergei Morozov authored
The existing relationship between the connection and its statement violate the ISP principle. Instead of having access only to the execution mode of the connection, statements have access to the entire connection API. Having a method which is not defined in the driver connection interface makes it impossible to mark the method `final` (#3590).
-
Marco Pivetta authored
Made the OCI8Statement class final
-
- 12 Jan, 2020 5 commits
-
-
Sergei Morozov authored
-
Sergei Morozov authored
-
Marco Pivetta authored
Refactored MySQLiStatement::$columnNames
-
Sergei Morozov authored
The `$columnNames` property has a too complex type `string[]|false|null` which leads to: 1. Non-trivial to understand conditions and assertions like `if ($columnNames === false)`, `if ($columnNames === true)` and `assert(is_array($columnNames))`. 2. Avoidable [false-positives](https://scrutinizer-ci.com/g/doctrine/dbal/inspections/20d1aea4-2217-4f38-8adc-5ce10fa9cf0b/issues/files/lib/Doctrine/DBAL/Driver/Mysqli/MysqliStatement.php?status=new&orderField=path&order=asc&honorSelectedPaths=0) on Scrutinizer that thinks that `$columnNames` can be TRUE.
-
Sergei Morozov authored
Make classes final where applicable.
-
- 11 Jan, 2020 2 commits
-
-
Jonathan H. Wage authored
-
Jonathan H. Wage authored
-