Skip to content

Commit 88f8ef4

Browse files
committed
chore: rector
1 parent 27b2017 commit 88f8ef4

File tree

3 files changed

+17
-14
lines changed

3 files changed

+17
-14
lines changed

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"require-dev": {
2525
"larastan/larastan": "^2.9.1",
2626
"orchestra/testbench": "^9",
27-
"laravel/pint": "^1.14"
27+
"laravel/pint": "^1.14",
28+
"rector/rector": "^1.0"
2829
},
2930
"autoload": {
3031
"psr-4": {
@@ -49,9 +50,11 @@
4950
"scripts": {
5051
"test": "./vendor/bin/phpunit",
5152
"pint": "./vendor/bin/pint",
53+
"rector": "./vendor/bin/rector",
5254
"stan": "./vendor/bin/phpstan analyse --memory-limit=2G --ansi --no-progress --no-interaction --configuration=phpstan.neon.dist",
5355
"pr": [
5456
"@pint",
57+
"@rector",
5558
"@stan",
5659
"@test"
5760
]

src/Html/Builder.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,21 @@ class Builder
2020
use Macroable;
2121

2222
// Select plugin constants.
23-
final const SELECT_STYLE_API = 'api';
23+
final public const SELECT_STYLE_API = 'api';
2424

25-
final const SELECT_STYLE_SINGLE = 'single';
25+
final public const SELECT_STYLE_SINGLE = 'single';
2626

27-
final const SELECT_STYLE_MULTI = 'multi';
27+
final public const SELECT_STYLE_MULTI = 'multi';
2828

29-
final const SELECT_STYLE_OS = 'os';
29+
final public const SELECT_STYLE_OS = 'os';
3030

31-
final const SELECT_STYLE_MULTI_SHIFT = 'multi+shift';
31+
final public const SELECT_STYLE_MULTI_SHIFT = 'multi+shift';
3232

33-
final const SELECT_ITEMS_ROW = 'row';
33+
final public const SELECT_ITEMS_ROW = 'row';
3434

35-
final const SELECT_ITEMS_COLUMN = 'column';
35+
final public const SELECT_ITEMS_COLUMN = 'column';
3636

37-
final const SELECT_ITEMS_CELL = 'cell';
37+
final public const SELECT_ITEMS_CELL = 'cell';
3838

3939
/**
4040
* The default type to use for the DataTables javascript.

src/Html/Editor/Editor.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ class Editor extends Fluent
2424
use HasAuthorizations;
2525
use HasEvents;
2626

27-
final const DISPLAY_LIGHTBOX = 'lightbox';
27+
final public const DISPLAY_LIGHTBOX = 'lightbox';
2828

29-
final const DISPLAY_ENVELOPE = 'envelope';
29+
final public const DISPLAY_ENVELOPE = 'envelope';
3030

31-
final const DISPLAY_BOOTSTRAP = 'bootstrap';
31+
final public const DISPLAY_BOOTSTRAP = 'bootstrap';
3232

33-
final const DISPLAY_FOUNDATION = 'foundation';
33+
final public const DISPLAY_FOUNDATION = 'foundation';
3434

35-
final const DISPLAY_JQUERYUI = 'jqueryui';
35+
final public const DISPLAY_JQUERYUI = 'jqueryui';
3636

3737
public array $events = [];
3838

0 commit comments

Comments
 (0)