ADmad

Results 55 issues of ADmad

- Make `Datbase\Query` abstract - Code cleanup Refs #16648

`Database/Query` is currently a ~2400 lines behemoth. `Query` could be turned into a base class with common code and then have separate classes for SELECT, UPDATE, INSERT and DELETE queries....

enhancement

- [x] `FixtureInjector` implements `PHPUnit\Framework\TestListener` which has been deprecated as of phpunit 8. The alternative is to use [Hook Interfaces](https://phpunit.readthedocs.io/en/8.3/extending-phpunit.html#extending-the-testrunner). - [ ] `PHPUnit\Framework\TestSuite` extended by `Cake\TestSuite\Testsuite` is marked as...

deprecations
pinned

- [x] Drop `StatementInterface::count()` and stop using `StatmentInterface::rowCount()` for `SELECT` queries. #16255 #16264 - [x] Change return type of `SteatmentInterface::fetchAll()`. #16274 - [x] Change argument type for `QueryTrait::_decorateResults()` to `ResultSetInterface`....

RFC

- [ ] Figure out why the table schema are missing when running the testuite on GA. - [ ] Add back authorization plugin to "require-dev" when it has a...

`DebugLog::totalRows()` returns the total of `LoggedQuery::$numRows` of all logged queries. The latter would be count of fetched rows in case of `SELECT` queries and affected rows in case of `INSERT`,`UPDATE`/`DELETE`...

When using `migration_diff` with `--plugin` option is creates migrations for all tables in the db instead of just the tables for which Table classes are present in the plugin. It...

enhancement

_From @notoriousturtle on July 6, 2017 6:26_ * [x] bug * [x] feature request (see bottom of post) * CakePHP Version: 3.7.7 * Platform and Target: 7.0.18-0ubuntu0.16.04.1 ### What you...

Defect