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

Bug: Differences in file names created with CLI command #4495

Closed
datamweb opened this issue Mar 26, 2021 · 1 comment · Fixed by #4499
Closed

Bug: Differences in file names created with CLI command #4495

datamweb opened this issue Mar 26, 2021 · 1 comment · Fixed by #4499
Labels
bug Verified issues on the current code behavior or pull requests that will fix them

Comments

@datamweb
Copy link
Contributor

Describe the bug
Hi, @paulbalandan
I use CLI for create, modal, seed and ...
When I give the name as TestModal but the corresponding file with the name Testmodal is created in the directories.

CodeIgniter 4 version
4.1.1

Affected module(s)
CLI

Expected behavior, and steps to reproduce if appropriate
step 1 : php spark make:modal
Step 2 : TestModal
Step 3 : Files are created but named Testmodal.
This problem exists for other commands(make:seeder ,make:filter and ...) as well.

Context

  • OS: [Windows 10]
  • Web server [Apache 2.0 Handler]
  • PHP version [8.0.0]
@datamweb datamweb added the bug Verified issues on the current code behavior or pull requests that will fix them label Mar 26, 2021
@paulbalandan
Copy link
Member

@datamweb thanks for the report. it seems the culprit is in GeneratorTrait::qualifyClassName(). I'll look into the issue this weekend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Verified issues on the current code behavior or pull requests that will fix them
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants