src/AbstractFormatTranslator.php
Method _createFormatTranslationException
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$message,
$code = 0,
RootException $previous = null,
$subject = null,
$context = null,
The method _translate is not named in camelCase. Open
Open
protected function _translate($string, $context = null, $params = null)
{
$string = parent::_translate($string, $context);
if (!is_null($params)) {
$string = $this->_interpolateParams($string, $params);
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method _createFormatTranslationException is not named in camelCase. Open
Open
abstract protected function _createFormatTranslationException(
$message,
$code = 0,
RootException $previous = null,
$subject = null,
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method _interpolateParams is not named in camelCase. Open
Open
abstract protected function _interpolateParams($string, $params);
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}