-
Notifications
You must be signed in to change notification settings - Fork 3
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
- Optimized all the stubs and docblocks #35
- Optimized all the stubs and docblocks #35
Conversation
maxvrdev
commented
Oct 17, 2021
- Branched from DEV
- Updated all Stubs & Docblocks
- Branched from DEV
Hi, i've marked this PR as draft, cause it doesn't fix issue #32. Issue is related to all stub file (located under All of this file should be checked and, eventually, fixed. Please, remember that you should check files in dev branch, not master, because it is not updated. Furthermore, master should have only stable code, so all the new features must be merged only in dev. Please, add fix to all these file so we can close this feature and thank you very much for your support :)
Please remember you have to add all dependencies with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please replace \App\Http\Requests\{{modelName}}Request
with {{modelName}}Request
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Controller.stub
in Controller.stub, update function, please replace in dockblock
\App\Http\Requests\{{modelName}}Request $request
with => {{modelName}}Request $request
Model.stub
There is no sense of use App\Models\{{modelName}};
, as model class is self-importing itself. Please remove it
Clean up the imports on the Controller Stub
This reverts commit d51e8a5.
Fix #32 |
* - Optimized all the stubs and docblocks * Add Import to Model Stub * Remove the import from the Model Stub Clean up the imports on the Controller Stub Related to issue #32 Co-authored-by: [email protected] <[email protected]>
* Update .travis.yml * Revert "Update .travis.yml" This reverts commit 6c54da4. * Update GeneratorTest.php * feat: Hard Refactor (#29) * Updated stub-test * New Generators * Added dependency Support * Removed unused param & added setData * commands depends on new generators Old generator has been deprecated * Updated PHPUnit test suite * ControllerGenerator + tests * FactoryGenerator + test * ModelGenerator + test * RequestGenerator + test * ResourceGenerator + test * RouteGenerator + tests * fix: typo in ModelGenerator * TestGenerator + test * Stub + test * updated .gitignore * Php-cs-fixer Co-authored-by: Andrea Civita <[email protected]> * Namespace Added to Factory Stub (#33) (#36) Co-authored-by: Max VanRay <[email protected]> * - Optimized all the stubs and docblocks (#35) * - Optimized all the stubs and docblocks * Add Import to Model Stub * Remove the import from the Model Stub Clean up the imports on the Controller Stub Related to issue #32 Co-authored-by: [email protected] <[email protected]> Co-authored-by: Andrea Civita <[email protected]> Co-authored-by: Max VanRay <[email protected]> Co-authored-by: Max VanReynegom <[email protected]>