Repository navigation
T28 crest init - #37
Merged
Merged
Conversation
Assisted-by: Claude Code
Assisted-by: Claude Code
Assisted-by: Claude Code
Assisted-by: Claude Code
Assisted-by: Claude Code
This comment has been minimized.
This comment has been minimized.
Assisted-by: Claude Code
Assisted-by: Claude Code
Assisted-by: Claude Code
This comment has been minimized.
This comment has been minimized.
Code Metrics Report
Details | | master (da80806) | T28-crest-init (20f5c66) | +/- |
|---------------------|------------------|--------------------------|-------|
+ | Coverage | 99.1% | 99.5% | +0.3% |
| Files | 50 | 56 | +6 |
| Lines | 1186 | 1430 | +244 |
+ | Covered | 1176 | 1423 | +247 |
- | Test Execution Time | 1s | 2s | +1s |Code coverage of files in pull request scope (99.1% → 99.8%, patch 99.7%)
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 passinit: writescrest.phpfor an existing project. It proposes the values that it finds (namespace, front controller, runtime) and asks for each one. #28--no-interaction(-n): ask no questions and use the default answers. #28runtimekey tocrest.php:host, ordockerwith a compose service. With docker, a global crest runs project commands withdocker compose exec, exceptserve, which runs on the host. #28newfor the values that no option gives (namespace, PHP, Phalcon, runtime). #28--runtime=host|dockerand--servicetonew: they answer the runtime questions. #28crest.phpto required. The project root is the folder of the--configfile, or of the nearestcrest.php, for all commands, the hand-off,serve,up,downandinstall. Without it, crest saysrun 'crest init'. #28config:show: a value thatcrest.phpdoes not state has the origindefault. #28crest.phpthat does not require crest gets thecomposer require --dev phalcon/cresthint. #28new:crest.phpstates every path and the runtime. #28install: it uses the service of theruntimekey. #28project-configstub: its placeholders arenamespace,bootstrap,pathsandruntime.bootstrapandpathsgive whole lines. A copy that was published before this change stopsnewandinit; publish it again. #28--no-interaction(-n). A contributed command that declares either one fails when it runs. #28composer.jsonwhen there is nocrest.php. #28Thanks