Showing 288 of 288 total issues
The method _ is not named in camelCase. Open
Open
public function _(string $message, array $parameters = [], ?string $domain = null, ?string $locale = null): string
{
return $this->getAdapter()->_($message, $parameters, $domain ?? $this->defaultDomain, $locale ?? $this->defaultLocale);
}
- 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 _makeHookDynamicFx is not named in camelCase. Open
Open
private function _makeHookDynamicFx(?\Closure $getFxThisFx, \Closure $fx, bool $isShort): \Closure
{
if ($getFxThisFx !== null) {
$getFxThisFxThis = (new \ReflectionFunction($getFxThisFx))->getClosureThis();
if ($getFxThisFxThis !== null) {
- 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
{
if (TraitUtil::hasAppScopeTrait($this) && $this->issetApp() && method_exists($this->getApp(), '_')) {
return $this->getApp()->_($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 _cloneCollection is not named in camelCase. Open
Open
protected function _cloneCollection(string $collectionName): void
{
$this->{$collectionName} = array_map(function ($item) {
$item = clone $item;
if (TraitUtil::hasTrackableTrait($item) && $item->issetOwner()) {
- 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 _shortenMl is not named in camelCase. Open
Open
protected function _shortenMl(string $ownerName, string $collectionName, string $itemShortName, ?string $origItemName): string
{
$ownerName .= '-' . $collectionName;
if (TraitUtil::hasContainerTrait($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() {
}
}
Source
The method _addToAdd is not named in camelCase. Open
Open
private static function _addToAdd(object $parent, object $object, array $addArgs, bool $skipAdd = false): void
{
if (!$skipAdd) {
$parent->add($object, ...$addArgs);
}
- 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 _addIntoCollection is not named in camelCase. Open
Open
protected function _addIntoCollection(string $name, object $item, string $collection): void
{
if (!isset($this->{$collection}) || !is_array($this->{$collection})) {
throw (new Exception('Collection does not exist'))
->addMoreInfo('collection', $collection);
- 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 _addContainer is not named in camelCase. Open
Open
protected function _addContainer(object $element, array $args): void
{
// carry on reference to application if we have appScopeTraits set
if (TraitUtil::hasAppScopeTrait($this) && TraitUtil::hasAppScopeTrait($element)
&& (!$element->issetApp() || $element->getApp() !== $this->getApp())
- 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() {
}
}