Skip to content

Commit eca8534

Browse files
committed
Update style
1 parent 3bbd643 commit eca8534

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+296
-243
lines changed

composer.json

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,18 @@
2323
"spatie/laravel-package-tools": "^1.15.0"
2424
},
2525
"require-dev": {
26+
"larastan/larastan": "^3.0",
2627
"laravel/pint": "^1.0",
2728
"nunomaduro/collision": "^8.0",
2829
"orchestra/testbench": "^9.0|^10.0",
29-
"pestphp/pest": "^2.1|^3.0",
30-
"pestphp/pest-plugin-arch": "^2.0|^3.0",
31-
"pestphp/pest-plugin-laravel": "^2.0|^3.0",
30+
"pestphp/pest": "^3.0",
31+
"pestphp/pest-plugin-arch": "^3.0",
32+
"pestphp/pest-plugin-laravel": "^3.0",
33+
"pestphp/pest-plugin-livewire": "^3.0",
34+
"phpstan/extension-installer": "^1.1",
35+
"phpstan/phpstan-deprecation-rules": "^2.0",
36+
"phpstan/phpstan-phpunit": "^2.0",
37+
"rector/rector": "^2.0",
3238
"spatie/laravel-ray": "^1.26"
3339
},
3440
"autoload": {
@@ -42,13 +48,13 @@
4248
}
4349
},
4450
"scripts": {
45-
"pint": "vendor/bin/pint",
46-
"test:pest": "vendor/bin/pest",
47-
"test:phpstan": "vendor/bin/phpstan analyse",
48-
"test": [
49-
"@test:pest",
50-
"@test:phpstan"
51-
]
51+
"post-autoload-dump": "@php ./vendor/bin/testbench package:discover --ansi",
52+
"analyse": "phpstan analyse",
53+
"lint": "pint",
54+
"refactor": "rector",
55+
"test": "pest",
56+
"test:lint": "pint --test",
57+
"test:refactor": "rector --dry-run"
5258
},
5359
"config": {
5460
"sort-packages": true,
@@ -65,6 +71,6 @@
6571
]
6672
}
6773
},
68-
"minimum-stability": "stable",
74+
"minimum-stability": "beta",
6975
"prefer-stable": true
7076
}

config/filament-tree.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
* Tree model default children key name
1818
*/
1919
'default_children_key_name' => 'children',
20-
];
20+
];

phpstan-baseline.neon

Whitespace-only changes.

phpstan.neon.dist

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
includes:
2+
- phpstan-baseline.neon
3+
4+
parameters:
5+
level: 4
6+
paths:
7+
- src
8+
- config
9+
tmpDir: build/phpstan
10+
checkOctaneCompatibility: true
11+
checkModelProperties: true

phpunit.xml.dist

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.2/phpunit.xsd"
5+
backupGlobals="false"
6+
bootstrap="vendor/autoload.php"
7+
colors="true"
8+
processIsolation="false"
9+
stopOnFailure="false"
10+
executionOrder="random"
11+
failOnWarning="true"
12+
failOnRisky="true"
13+
failOnEmptyTestSuite="true"
14+
beStrictAboutOutputDuringTests="true"
15+
cacheDirectory="build/.phpunit.cache"
16+
backupStaticProperties="false"
17+
>
18+
<testsuites>
19+
<testsuite name="SolutionForest Test Suite">
20+
<directory>tests</directory>
21+
</testsuite>
22+
</testsuites>
23+
<coverage>
24+
<report>
25+
<html outputDirectory="build/coverage"/>
26+
<text outputFile="build/coverage.txt"/>
27+
<clover outputFile="build/logs/clover.xml"/>
28+
</report>
29+
</coverage>
30+
<logging>
31+
<junit outputFile="build/report.junit.xml"/>
32+
</logging>
33+
<source>
34+
<include>
35+
<directory suffix=".php">./src</directory>
36+
</include>
37+
</source>
38+
</phpunit>

resources/lang/az/filament-tree.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
return [
44
'root' => 'Kök',
5-
5+
66
/*
77
|--------------------------------------------------------------------------
88
| Buttons
@@ -21,11 +21,11 @@
2121
'components.tree.buttons.deselect_all.label' => 'Seçimi Yığışdır',
2222
'components.tree.buttons.expand_all.label' => 'Hamısını Genişlət',
2323
'components.tree.buttons.collapse_all.label' => 'Hamısını Daralt',
24-
24+
2525
/*
2626
|--------------------------------------------------------------------------
2727
| Message
2828
|--------------------------------------------------------------------------
2929
*/
3030
'actions.delete.confirmation.with_children' => 'Bu məlumatı və altındakı əlaqəli məlumatları silmək istədiyinizdən əminsiniz?',
31-
];
31+
];

resources/lang/en/filament-tree.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
return [
44
'root' => 'Root',
5-
5+
66
/*
77
|--------------------------------------------------------------------------
88
| Buttons
@@ -21,11 +21,11 @@
2121
'components.tree.buttons.deselect_all.label' => 'Deselect All',
2222
'components.tree.buttons.expand_all.label' => 'Expand All',
2323
'components.tree.buttons.collapse_all.label' => 'Collapse All',
24-
24+
2525
/*
2626
|--------------------------------------------------------------------------
2727
| Message
2828
|--------------------------------------------------------------------------
2929
*/
3030
'actions.delete.confirmation.with_children' => 'Are you sure delete this record and its children?',
31-
];
31+
];
Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
<?php
22

33
return [
4-
'root' => 'Raíz',
4+
'root' => 'Raíz',
55

6-
/*
7-
|--------------------------------------------------------------------------
8-
| Buttons
9-
|--------------------------------------------------------------------------
6+
/*
7+
|--------------------------------------------------------------------------
8+
| Buttons
9+
|--------------------------------------------------------------------------
1010
*/
11-
'button.save' => 'Guardar',
12-
'button.expand_all' => 'Expandir',
13-
'button.collapse_all' => 'Colapsar',
11+
'button.save' => 'Guardar',
12+
'button.expand_all' => 'Expandir',
13+
'button.collapse_all' => 'Colapsar',
1414

15-
/*
16-
|--------------------------------------------------------------------------
17-
| Form
18-
|--------------------------------------------------------------------------
15+
/*
16+
|--------------------------------------------------------------------------
17+
| Form
18+
|--------------------------------------------------------------------------
1919
*/
20-
'components.tree.buttons.select_all.label' => 'Seleccionar todo',
21-
'components.tree.buttons.deselect_all.label' => 'Deseleccionar todo',
22-
'components.tree.buttons.expand_all.label' => 'Expandir',
23-
'components.tree.buttons.collapse_all.label' => 'Colapsar',
20+
'components.tree.buttons.select_all.label' => 'Seleccionar todo',
21+
'components.tree.buttons.deselect_all.label' => 'Deseleccionar todo',
22+
'components.tree.buttons.expand_all.label' => 'Expandir',
23+
'components.tree.buttons.collapse_all.label' => 'Colapsar',
2424

25-
/*
26-
|--------------------------------------------------------------------------
27-
| Message
28-
|--------------------------------------------------------------------------
25+
/*
26+
|--------------------------------------------------------------------------
27+
| Message
28+
|--------------------------------------------------------------------------
2929
*/
30-
'actions.delete.confirmation.with_children' => 'Está seguro que desea eliminar este registro y sus registros dependientes?',
30+
'actions.delete.confirmation.with_children' => 'Está seguro que desea eliminar este registro y sus registros dependientes?',
3131
];

resources/lang/fa/filament-tree.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
return [
44
'root' => 'مسیر اصلی',
5-
5+
66
/*
77
|--------------------------------------------------------------------------
88
| Buttons
@@ -21,11 +21,11 @@
2121
'components.tree.buttons.deselect_all.label' => 'لغو انتخاب همه',
2222
'components.tree.buttons.expand_all.label' => 'باز کردن همه',
2323
'components.tree.buttons.collapse_all.label' => 'بستن همه',
24-
24+
2525
/*
2626
|--------------------------------------------------------------------------
2727
| Message
2828
|--------------------------------------------------------------------------
2929
*/
3030
'actions.delete.confirmation.with_children' => 'با حذف این مورد تمامی زیر مجموعه های این مورد نیز حذف خواهد شد ، آیا مطمعن هستید ؟ ',
31-
];
31+
];

resources/lang/fr/filament-tree.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
return [
44
'root' => 'Racine',
5-
5+
66
/*
77
|--------------------------------------------------------------------------
88
| Buttons
@@ -21,7 +21,7 @@
2121
'components.tree.buttons.deselect_all.label' => 'Tout désélectionner',
2222
'components.tree.buttons.expand_all.label' => 'Tout développer',
2323
'components.tree.buttons.collapse_all.label' => 'Tout réduire',
24-
24+
2525
/*
2626
|--------------------------------------------------------------------------
2727
| Message

0 commit comments

Comments
 (0)