Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
"require": {
"php": "^8.2",
"ext-json": "*",
"yajra/laravel-datatables-oracle": "^11.0"
"yajra/laravel-datatables-oracle": "^12.0"
},
"require-dev": {
"larastan/larastan": "^2.9.1",
"orchestra/testbench": "^9",
"laravel/pint": "^1.14",
"rector/rector": "^1.0",
"larastan/larastan": "^3.1",
"orchestra/testbench": "^10",
"laravel/pint": "^1.21",
"rector/rector": "^2.0",
"livewire/livewire": "^3.4"
},
"suggest": {
Expand All @@ -43,7 +43,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "11.0-dev"
"dev-master": "12.x-dev"
},
"laravel": {
"providers": [
Expand Down
7 changes: 5 additions & 2 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ parameters:

ignoreErrors:
- '#Unsafe usage of new static\(\).#'
- identifier: missingType.generics
- identifier: missingType.iterableValue
- identifier: missingType.generics
- identifier: missingType.iterableValue
- identifier: binaryOp.invalid
- identifier: return.type
- identifier: argument.type

excludePaths:
- ./src/Html/Fluent.php
6 changes: 4 additions & 2 deletions src/Html/Button.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,12 @@ public function addClass(string $class): static
{
if (! isset($this->attributes['className'])) {
$this->attributes['className'] = $class;
} else {
$this->attributes['className'] .= " $class";

return $this;
}

$this->attributes['className'] = $this->attributes['className']." $class";

return $this;
}

Expand Down
2 changes: 1 addition & 1 deletion src/Html/Column.php
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ public function parseRender(mixed $value): ?string
return $value($parameters);
} elseif ($this->isBuiltInRenderFunction($value)) {
return $value;
} elseif (strlen((string) $value) < 256 && $view->exists($value)) {
} elseif (is_string($value) && strlen($value) < 256 && $view->exists($value)) {
return $view->make($value)->with($parameters)->render();
}

Expand Down