Skip to content

Commit 4c5a8da

Browse files
committed
refactor: pr comments
1 parent 17a00a1 commit 4c5a8da

8 files changed

Lines changed: 1113 additions & 15744 deletions

File tree

.php-cs-fixer.php

Lines changed: 35 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -3,39 +3,40 @@
33
declare(strict_types=1);
44

55
$finder = PhpCsFixer\Finder::create()
6-
->notPath('vendor')
7-
->notPath('node_modules')
8-
->in(__DIR__)
9-
->in('./resources/views')
10-
->in('./config')
11-
->name('*.php')
12-
->notName('*.blade.php')
13-
->ignoreDotFiles(true)
14-
->ignoreVCS(true);
6+
->notPath('vendor')
7+
->notPath('node_modules')
8+
->in(__DIR__)
9+
->in('./resources/views')
10+
->in('./config')
11+
->name('*.php')
12+
->notName('*.blade.php')
13+
->ignoreDotFiles(true)
14+
->ignoreVCS(true);
1515

1616
return (new PhpCsFixer\Config)
17-
->setRules([
18-
'@PSR2' => true,
19-
'array_syntax' => [
20-
'syntax' => 'short',
21-
],
22-
'ordered_imports' => [
23-
'sort_algorithm' => 'alpha',
24-
],
25-
'no_unused_imports' => true,
26-
'binary_operator_spaces' => [
27-
'default' => 'single_space',
28-
'operators' => [
29-
'=>' => 'single_space',
30-
'|' => 'no_space',
31-
],
32-
],
33-
'full_opening_tag' => true,
34-
'yoda_style' => [
35-
'always_move_variable' => true,
36-
'equal' => true,
37-
'identical' => true,
38-
'less_and_greater' => true,
39-
],
40-
])
41-
->setFinder($finder);
17+
->setRules([
18+
'@PSR2' => true,
19+
'array_syntax' => [
20+
'syntax' => 'short',
21+
],
22+
'ordered_imports' => [
23+
'sort_algorithm' => 'alpha',
24+
],
25+
'no_unused_imports' => true,
26+
'array_indentation' => true,
27+
'binary_operator_spaces' => [
28+
'default' => 'single_space',
29+
'operators' => [
30+
'=>' => 'single_space',
31+
'|' => 'no_space',
32+
],
33+
],
34+
'full_opening_tag' => true,
35+
'yoda_style' => [
36+
'always_move_variable' => true,
37+
'equal' => true,
38+
'identical' => true,
39+
'less_and_greater' => true,
40+
],
41+
])
42+
->setFinder($finder);

build/icons.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return ['dependencies' => [], 'version' => 'eafbc2f5130762d2e52d'];
1+
<?php return array('dependencies' => array(), 'version' => 'eafbc2f5130762d2e52d');
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return ['dependencies' => ['react-jsx-runtime', 'wp-block-editor', 'wp-blocks'], 'version' => '743c996e1df71c631ae5'];
1+
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks'), 'version' => '743c996e1df71c631ae5');
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return ['dependencies' => ['react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n'], 'version' => 'f2161e666b36d62f2bfb'];
1+
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => 'be42ab64f714d867fcc6');

build/personal-data-table/personal-data-row/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/style.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return ['dependencies' => [], 'version' => 'd67a0320e9a637552a1d'];
1+
<?php return array('dependencies' => array(), 'version' => 'd67a0320e9a637552a1d');

0 commit comments

Comments
 (0)