src/CommandAwareTrait.php
Showing 0 of 5 total issues
Avoid using short method names like CommandAwareTrait::__(). The configured minimum method name length is 3. Invalid
Invalid
abstract protected function __($string, $args = [], $context = null);
- Read upRead up
- Exclude checks
The method _setCommand is not named in camelCase. Invalid
Invalid
protected function _setCommand($command) { if ($command !== null && !is_string($command) && !($command instanceof Stringable)) { throw $this->_createInvalidArgumentException($this->__('Invalid command'), null, null, $command); }
- Read upRead up
- Exclude checks
The method _getCommand is not named in camelCase. Invalid
Invalid
protected function _getCommand() { return $this->command; }
- Read upRead up
- Exclude checks
The method __ is not named in camelCase. Invalid
Invalid
abstract protected function __($string, $args = [], $context = null);
- Read upRead up
- Exclude checks
The method _createInvalidArgumentException is not named in camelCase. Invalid
Invalid
abstract protected function _createInvalidArgumentException( $message = null, $code = null, RootException $previous = null, $argument = null
- Read upRead up
- Exclude checks