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

fix: CLIRequest Erros in CLI #6421

Merged
merged 6 commits into from
Aug 27, 2022

Conversation

kenjis
Copy link
Member

@kenjis kenjis commented Aug 24, 2022

Description

Ref #6089

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@kenjis kenjis added the bug Verified issues on the current code behavior or pull requests that will fix them label Aug 24, 2022
@kenjis kenjis marked this pull request as draft August 24, 2022 23:59
@kenjis kenjis marked this pull request as ready for review August 25, 2022 00:16
Copy link
Member

@MGatner MGatner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might need to be split up. Let's get at least one more review in here first.

I think this is a good change, follow up to the Services::createRequest() work.

system/HTTP/CLIRequest.php Outdated Show resolved Hide resolved
In a class that implements RequestInterface, a method that does not actually exist was displayed
in the IDE as if it existed.
Call to undefined method CodeIgniter\HTTP\CLIRequest::getPost()
@kenjis kenjis changed the title fix: Honeypot filter causes Error in CLI fix: CLIRequest Erros in CLI Aug 27, 2022
@MGatner
Copy link
Member

MGatner commented Aug 27, 2022

Looks good!

@kenjis kenjis merged commit e686a14 into codeigniter4:develop Aug 27, 2022
@kenjis kenjis deleted the fix-RequestInterface-mixin branch August 27, 2022 12:19
@kenjis kenjis mentioned this pull request Oct 9, 2022
2 tasks
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 this pull request may close these issues.

Bug: Call to undefined method CodeIgniter\HTTP\CLIRequest::getPost() while running the CLI routes
2 participants