Showing 21 of 21 total issues
Method _createFormatTranslationException
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
$message,
$code = 0,
RootException $previous = null,
$subject = null,
$context = null,
Method _createStringTranslationException
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
$message,
$code = 0,
RootException $previous = null,
$subject = null,
$context = null);
The method _getTranslator is not named in camelCase. Open
protected function _getTranslator()
{
return $this->translator;
}
- 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 _translate is not named in camelCase. 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
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 _getInterpolationParams is not named in camelCase. Open
protected function _getInterpolationParams()
{
return $this->interpolationParams;
}
- 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
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() {
}
}
Source
The method _translate is not named in camelCase. Open
protected function _translate($string, $context = null)
{
$string = $this->_translateString($string, $context);
return $string;
- 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 _construct is not named in camelCase. Open
protected function _construct()
{
}
- 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 _setSubject is not named in camelCase. Open
protected function _setSubject($subject)
{
$this->subject = $subject;
return $this;
- 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 _getSubject is not named in camelCase. Open
protected function _getSubject()
{
return $this->subject;
}
- 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 _construct is not named in camelCase. Open
protected function _construct()
{
}
- 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 _getContext is not named in camelCase. Open
protected function _getContext()
{
return $this->context;
}
- 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 _createStringTranslationException is not named in camelCase. Open
abstract protected function _createStringTranslationException(
$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 _setTranslator is not named in camelCase. Open
protected function _setTranslator(TranslatorInterface $translator = null)
{
$this->translator = $translator;
return $this;
- 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 _translate is not named in camelCase. Open
abstract protected function _translate($subject);
- 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 _createTranslationException is not named in camelCase. Open
abstract protected function _createTranslationException($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 _translateString is not named in camelCase. Open
abstract protected function _translateString($string, $context = 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 _setContext is not named in camelCase. Open
protected function _setContext($context)
{
$this->context = $context;
return $this;
- 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 _createI18nException is not named in camelCase. Open
abstract protected function _createI18nException($message, $code = 0, RootException $previous = 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() {
}
}