Repository navigation
T97 make database existing project - #108
Merged
Merged
Conversation
2 of 4 tasks
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
niden
force-pushed
the
T101-make-model-all-no-sequences-partitions
branch
from
November 27, 2026 22:19
7343e92 to
6d34b25
Compare
This comment has been minimized.
This comment has been minimized.
Base automatically changed from
T101-make-model-all-no-sequences-partitions
to
master
November 27, 2026 22:27
…ntroller to make:database Assisted-by: Claude Code
…o front controller Assisted-by: Claude Code
Assisted-by: Claude Code
Assisted-by: Claude Code
Assisted-by: Claude Code
niden
force-pushed
the
T97-make-database-existing-project
branch
from
November 27, 2026 22:28
7f7cc85 to
ea2d622
Compare
This comment has been minimized.
This comment has been minimized.
Code Metrics Report
Details | | master (2156f2e) | #108 (d7f1b2c) | +/- |
|---------------------|------------------|----------------|-------|
+ | Coverage | 99.8% | 99.8% | +0.0% |
| Files | 97 | 97 | 0 |
| Lines | 4003 | 4028 | +25 |
+ | Covered | 3996 | 4021 | +25 |
- | Test Execution Time | 10s | 12s | +2s |Code coverage of files in pull request scope (100.0% → 100.0%, patch 100.0%)
Reported by octocov |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello!
In raising this pull request, I confirm the following:
composer test,composer csandcomposer analyzeall passThe checks of a project that exists, for
make:database.A
dbservice that exists: when theproviderfolder has noDbProvider.php,make:databasestarts the front controller of thebootstrapkey, if it can, and stops when the container (a Phalcon DI or aPhalcon\Container) has adbservice. A front controller that does not start, for example with novendor/, or no front controller, does not stop it. WithDbProvider.php, the check of the file of #95 decides, so--forcestill writesDbProvideragain:DbProvidergives thedbservice itself. The check isDatabaseSetup::checkContainer(), and onlymake:databasecalls it:init --databaseruns before the project has its autoloader.No front controller (no
bootstrapkey):make:databaseandinit --databaseprint the line for the container of the project, from the new stubfragment-guidance-database-no-frontof each flavor, and no line for a front. MVC:$di->register(new \App\Providers\DbProvider($projectRoot));. ADR:(new \App\Provider\DbProvider($projectRoot))->provide($container);. A SQLite provider gets$projectRoot, because there is no$this->projectRootwith no front:DatabaseChoice::arguments()takes the root as an optional parameter.The tests of the front lines now name a front in
crest.php: before, theircrest.phphad nobootstrapkey. The database test of the MVC flavor puts the printed line into a copy of the front, as the ADR test does:make:databasenow loads the front, so the process cannot load a changedAppFront.Not in scope (#97): MVC on v6 prints no
composer require phalcon/phql, becausephalcon/phalcon6.0.0 requiresphalcon/phql(#100).Stacked on #107.
Thanks