Closed SerhiyShkolyarenko closed 5 years ago
@SerhiyShkolyarenko could you please provide exact piece of code that causes the issue? I don't fully understand the use case. According to Magento Technical guidelines:
The Request, Session, and Cookie objects MUST NOT be injected in an object constructor. They MUST be passed only as method arguments.
Closing the issue due to no activity over 14 days.
@SerhiyShkolyarenko feel free to crate a new issue with detailed description and steps to reproduce.
Steps to reproduce:
Expected result: Code sniffer doesn't return any error for Request class
Actual result: Code sniffer returns an error that Request is injected to constructor.