Showing 1,792 of 1,794 total issues
The method _renderItemsForModel is not named in camelCase. Open
protected function _renderItemsForModel(): void
{
foreach ($this->model as $id => $row) {
$title = $row->getTitle();
$this->_tItem->set('value', $this->getApp()->uiPersistence->typecastAttributeSaveField($this->model->getIdField(), $id));
- 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 _setOrAppend is not named in camelCase. Open
protected function _setOrAppend($tag, ?string $value = null, bool $encodeHtml = true, bool $append = false, bool $throwIfNotFound = true): void
{
// $tag passed as associative array [tag => value]
if (is_array($tag) && $value === null) { // @phpstan-ignore identical.alwaysFalse, booleanAnd.alwaysFalse
if ($throwIfNotFound) {
- 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 _hasTag is not named in camelCase. Open
protected function _hasTag(string $tag): bool
{
return isset($this->tagTrees[$tag]);
}
- 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 _unsetFromTagTree is not named in camelCase. Open
protected function _unsetFromTagTree(TagTree $tagTree, int $k): void
{
\Closure::bind(static function () use ($tagTree, $k) {
if ($k === array_key_last($tagTree->children)) {
array_pop($tagTree->children);
- 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 _getProperAction is not named in camelCase. Open
private function _getProperAction($response): JsExpressionable
{
if ($response instanceof View) {
$response = $this->_jsRenderIntoModal($response);
} elseif (is_string($response)) { // TODO alert() should be removed
- 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 _jsRenderIntoModal is not named in camelCase. Open
private function _jsRenderIntoModal(View $response): JsExpressionable
{
if ($response instanceof Modal) {
$html = $response->getHtml();
} else {
- 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 _typecastSaveField is not named in camelCase. Open
protected function _typecastSaveField(Field $field, $value): ?string
{
// always normalize string EOL
if (is_string($value)) {
$value = preg_replace('~\r?\n|\r~', "\n", $value);
- 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 _renderArgs is not named in camelCase. Open
private function _renderArgs(array $args = []): string
{
return '('
. implode(', ', array_map(function ($arg) {
return $this->_jsEncode($arg);
- 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 _typecastLoadField is not named in camelCase. Open
protected function _typecastLoadField(Field $field, $value)
{
switch ($field->type) {
case 'boolean':
if (is_string($value)) {
- 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 _jsEncode is not named in camelCase. Open
protected function _jsEncode($value): string
{
if ($value instanceof JsExpressionable) {
$res = $value->jsRender();
} elseif ($value instanceof View) {
- 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 _addUnchecked is not named in camelCase. Open
private function _addUnchecked(Table\Column $column): Table\Column
{
return \Closure::bind(function () use ($column) {
return $this->_add($column);
}, $this, AbstractView::class)();
- 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 _getStickyArgs is not named in camelCase. Open
protected function _getStickyArgs(): array
{
if ($this->issetOwner()) {
$stickyArgs = array_merge($this->getOwner()->_getStickyArgs(), $this->stickyArgs);
} else {
- 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() {
}
}