Showing 287 of 287 total issues
The method _ is not named in camelCase. Open
Open
public function _(string $message, array $parameters = [], ?string $domain = null, ?string $locale = null): string;
- Read upRead up
- Create a ticketCreate a ticket
- 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 _echoStderr is not named in camelCase. Open
Open
protected function _echoStderr(string $message): void
{
file_put_contents('php://stderr', $message, \FILE_APPEND);
}
- Read upRead up
- Create a ticketCreate a ticket
- 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 _factory is not named in camelCase. Open
Open
protected function _factory($seed, array $defaults): object
{
if (!is_array($seed) && !is_object($seed)) { // @phpstan-ignore-line
throw new Exception('Use of non-array (' . gettype($seed) . ') seed is not supported');
}
- Read upRead up
- Create a ticketCreate a ticket
- 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 _newObject is not named in camelCase. Open
Open
protected function _newObject(string $className, array $ctorArgs): object
{
return new $className(...$ctorArgs);
}
- Read upRead up
- Create a ticketCreate a ticket
- 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 _onNotSuccessfulTest is not named in camelCase. Open
Open
protected function _onNotSuccessfulTest(\Throwable $e): void
{
// release objects from uncaught exception as it is never released
$this->releaseObjectsFromExceptionTrace($e);
- Read upRead up
- Create a ticketCreate a ticket
- 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 _ is not named in camelCase. Open
Open
public function _(string $message, array $parameters = [], ?string $domain = null, ?string $locale = null): string
{
return $this->adapter
? $this->adapter->_($message, $parameters, $domain, $locale)
: Translator::instance()->_($message, $parameters, $domain, $locale);
- Read upRead up
- Create a ticketCreate a ticket
- 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 _shorten is not named in camelCase. Open
Open
protected function _shorten(string $ownerName, string $itemShortName, ?string $origItemName): string
{
$desired = $origItemName ?? $ownerName . '_' . $itemShortName;
if (TraitUtil::hasAppScopeTrait($this)
- Read upRead up
- Create a ticketCreate a ticket
- 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() {
}
}