Skip to content

T70 model properties get set - #79

Merged
niden merged 4 commits into
masterfrom
T70-model-properties-get-set
Nov 18, 2026
Merged

niden merged 4 commits into
masterfrom
T70-model-properties-get-set

Conversation

@niden

@niden niden commented Nov 18, 2026

Copy link
Copy Markdown
Member

Hello!

In raising this pull request, I confirm the following:

  • I have checked that another pull request for this purpose does not exist
  • I wrote some tests for this PR
  • composer test, composer cs and composer analyze all pass
  • I have created a PR for the documentation about this change, if user facing

Added the models.getSet key and crest new --get-set: protected model properties with a getter and a setter.

Thanks

@niden niden self-assigned this Nov 18, 2026
@niden niden added the enhancement New feature or request label Nov 18, 2026
@github-actions

This comment has been minimized.

@github-actions

Copy link
Copy Markdown

Code Metrics Report

master (3a07341) #79 (03dbb71) +/-
Coverage 99.7% 99.8% +0.0%
Test Execution Time 9s 12s +3s
Details
  |                     | master (3a07341) | #79 (03dbb71) |  +/-  |
  |---------------------|------------------|---------------|-------|
+ | Coverage            |            99.7% |         99.8% | +0.0% |
  |   Files             |               91 |            91 |     0 |
  |   Lines             |             3491 |          3643 |  +152 |
+ |   Covered           |             3484 |          3636 |  +152 |
- | Test Execution Time |               9s |           12s |   +3s |

Code coverage of files in pull request scope (100.0% → 100.0%, patch 100.0%)

Files Coverage +/- Patch Coverage Status
src/Command/Config/ShowCommand.php 100.0% 0.0% 100.0% modified
src/Command/InitCommand.php 100.0% 0.0% - modified
src/Command/Make/ModelCommand.php 100.0% 0.0% 100.0% modified
src/Command/NewCommand.php 100.0% 0.0% 100.0% modified
src/Generator/BaseAttributes.php 100.0% 0.0% 100.0% modified
src/Generator/ModelNames.php 100.0% 0.0% 100.0% modified
src/Generator/ModelRelations.php 100.0% 0.0% 100.0% modified
src/Project/Settings.php 100.0% 0.0% 100.0% modified

Reported by octocov

@niden
niden merged commit 50b00ad into master Nov 18, 2026
40 checks passed
@niden
niden deleted the T70-model-properties-get-set branch November 18, 2026 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant