Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQ][php-slim4] Partial generation support #9573

Closed
ybelenko opened this issue May 25, 2021 · 0 comments · Fixed by #11069
Closed

[REQ][php-slim4] Partial generation support #9573

ybelenko opened this issue May 25, 2021 · 0 comments · Fixed by #11069

Comments

@ybelenko
Copy link
Contributor

ybelenko commented May 25, 2021

Is your feature request related to a problem? Please describe.

There are apis, models, apiTests, modelTests global properties to exclude some parts of application.

Describe the solution you'd like

  • When both apiTests=false AND modelTests=false
    • Exclude phpunit.xml.dist from generation
    • Remove phpunit package from composer.json
    • Remove test, test-apis, test-models scripts from composer.json
    • Remove ## Tests section from README.md
  • When apiTests=false
    • Remove Apis testsuite from phpunit.xml.dist
    • Remove test-apis script from composer.json
    • Remove composer test-apis command from README.md
  • When modelTests=false
    • Exclude BaseModelTest.php from generation
    • Remove Models testsuite from phpunit.xml.dist
    • Remove test-models script from composer.json
    • Remove composer test-models command from README.md

Describe alternatives you've considered

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant