Skip to content

Commit d41897c

Browse files
authored
fix: update rector config to work with latest version (#526)
1 parent 15746fd commit d41897c

File tree

26 files changed

+197
-195
lines changed

26 files changed

+197
-195
lines changed

config/fortify.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
|
1919
*/
2020

21-
'guard' => 'web',
21+
'guard' => 'web',
2222

2323
/*
2424
|--------------------------------------------------------------------------
@@ -31,7 +31,7 @@
3131
|
3232
*/
3333

34-
'passwords' => 'users',
34+
'passwords' => 'users',
3535

3636
/*
3737
|--------------------------------------------------------------------------
@@ -48,11 +48,11 @@
4848
|
4949
*/
5050

51-
'username' => 'email',
51+
'username' => 'email',
5252

53-
'username_alt' => 'username',
53+
'username_alt' => 'username',
5454

55-
'email' => 'email',
55+
'email' => 'email',
5656

5757
/*
5858
|--------------------------------------------------------------------------
@@ -65,7 +65,7 @@
6565
|
6666
*/
6767

68-
'home' => config('home'),
68+
'home' => config('home'),
6969

7070
/*
7171
|--------------------------------------------------------------------------
@@ -89,9 +89,9 @@
8989
|
9090
*/
9191

92-
'middleware' => ['web', DoNotCacheResponse::class],
92+
'middleware' => ['web', DoNotCacheResponse::class],
9393

94-
'middlewares' => [
94+
'middlewares' => [
9595
'account_settings' => [
9696
'update_profile' => ['web', 'auth'],
9797
'update_password' => ['web', 'auth'],
@@ -109,7 +109,7 @@
109109
|
110110
*/
111111

112-
'limiters' => [
112+
'limiters' => [
113113
'login' => null,
114114
],
115115

@@ -124,7 +124,7 @@
124124
|
125125
*/
126126

127-
'features' => [
127+
'features' => [
128128
Features::registration(),
129129
Features::resetPasswords(),
130130
Features::emailVerification(),
@@ -144,7 +144,7 @@
144144
|
145145
*/
146146

147-
'models' => [
147+
'models' => [
148148
'user' => '',
149149
'invitation' => '',
150150
],
@@ -155,8 +155,8 @@
155155
|--------------------------------------------------------------------------
156156
*/
157157

158-
'mail' => [
159-
'default' => [
158+
'mail' => [
159+
'default' => [
160160
'name' => env('MAIL_DEFAULT_NAME', 'ARK Ecosystem'),
161161
'address' => env('MAIL_DEFAULT_ADDRESS', '[email protected]'),
162162
],
@@ -173,7 +173,7 @@
173173
|--------------------------------------------------------------------------
174174
*/
175175

176-
'routes' => [
176+
'routes' => [
177177
'feedback_thank_you' => env('ROUTE_FEEDBACK_THANK_YOU', '/feedback/thank-you'),
178178
'two_factor_reset_password' => env('ROUTE_TWO_RESET_PASSWORD', '/two-factor/reset-password/{token}'),
179179
'account_settings_account' => env('ROUTE_ACCOUNT_SETTINGS_ACCOUNT', '/account/settings/account'),

config/livewire.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
|
1818
*/
1919

20-
'class_namespace' => 'App\\Http\\Livewire',
20+
'class_namespace' => 'App\\Http\\Livewire',
2121

2222
/*
2323
|--------------------------------------------------------------------------
@@ -29,7 +29,7 @@
2929
|
3030
*/
3131

32-
'view_path' => resource_path('views/livewire'),
32+
'view_path' => resource_path('views/livewire'),
3333

3434
/*
3535
|--------------------------------------------------------------------------
@@ -41,7 +41,7 @@
4141
|
4242
*/
4343

44-
'layout' => 'layouts.app',
44+
'layout' => 'layouts.app',
4545

4646
/*
4747
|--------------------------------------------------------------------------
@@ -56,7 +56,7 @@
5656
|
5757
*/
5858

59-
'asset_url' => null,
59+
'asset_url' => null,
6060

6161
/*
6262
|--------------------------------------------------------------------------
@@ -70,7 +70,7 @@
7070
|
7171
*/
7272

73-
'app_url' => null,
73+
'app_url' => null,
7474

7575
/*
7676
|--------------------------------------------------------------------------
@@ -83,7 +83,7 @@
8383
|
8484
*/
8585

86-
'middleware_group' => 'web',
86+
'middleware_group' => 'web',
8787

8888
/*
8989
|--------------------------------------------------------------------------
@@ -98,11 +98,11 @@
9898
*/
9999

100100
'temporary_file_upload' => [
101-
'disk' => null, // Example: 'local', 's3' Default: 'default'
102-
'rules' => null, // Example: ['file', 'mimes:png,jpg'] Default: ['required', 'file', 'max:12288'] (12MB)
103-
'directory' => null, // Example: 'tmp' Default 'livewire-tmp'
104-
'middleware' => null, // Example: 'throttle:5,1' Default: 'throttle:60,1'
105-
'preview_mimes' => [ // Supported file types for temporary pre-signed file URLs.
101+
'disk' => null, // Example: 'local', 's3' Default: 'default'
102+
'rules' => null, // Example: ['file', 'mimes:png,jpg'] Default: ['required', 'file', 'max:12288'] (12MB)
103+
'directory' => null, // Example: 'tmp' Default 'livewire-tmp'
104+
'middleware' => null, // Example: 'throttle:5,1' Default: 'throttle:60,1'
105+
'preview_mimes' => [ // Supported file types for temporary pre-signed file URLs.
106106
'png', 'gif', 'bmp', 'svg', 'wav', 'mp4',
107107
'mov', 'avi', 'wmv', 'mp3', 'm4a',
108108
'jpg', 'jpeg', 'mpga', 'webp', 'wma',
@@ -124,7 +124,7 @@
124124
|
125125
*/
126126

127-
'manifest_path' => null,
127+
'manifest_path' => null,
128128

129129
/*
130130
|--------------------------------------------------------------------------
@@ -140,7 +140,7 @@
140140
|
141141
*/
142142

143-
'back_button_cache' => false,
143+
'back_button_cache' => false,
144144

145145
/*
146146
|--------------------------------------------------------------------------
@@ -155,6 +155,6 @@
155155
|
156156
*/
157157

158-
'render_on_redirect' => true,
158+
'render_on_redirect' => true,
159159

160160
];

config/markdown.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
|
3737
*/
3838

39-
'views' => true,
39+
'views' => true,
4040

4141
/*
4242
|--------------------------------------------------------------------------
@@ -50,7 +50,7 @@
5050
|
5151
*/
5252

53-
'extensions' => [
53+
'extensions' => [
5454
AutolinkExtension::class,
5555
ExternalLinkExtension::class,
5656
HeadingPermalinkExtension::class,
@@ -73,7 +73,7 @@
7373
|
7474
*/
7575

76-
'inlineRenderers' => [],
76+
'inlineRenderers' => [],
7777

7878
/*
7979
|--------------------------------------------------------------------------
@@ -90,7 +90,7 @@
9090
|
9191
*/
9292

93-
'renderer' => [
93+
'renderer' => [
9494
'block_separator' => "\n",
9595
'inner_separator' => "\n",
9696
'soft_break' => "\n",
@@ -107,7 +107,7 @@
107107
|
108108
*/
109109

110-
'enable_em' => true,
110+
'enable_em' => true,
111111

112112
/*
113113
|--------------------------------------------------------------------------
@@ -120,7 +120,7 @@
120120
|
121121
*/
122122

123-
'enable_strong' => true,
123+
'enable_strong' => true,
124124

125125
/*
126126
|--------------------------------------------------------------------------
@@ -133,7 +133,7 @@
133133
|
134134
*/
135135

136-
'use_asterisk' => true,
136+
'use_asterisk' => true,
137137

138138
/*
139139
|--------------------------------------------------------------------------
@@ -146,7 +146,7 @@
146146
|
147147
*/
148148

149-
'use_underscore' => true,
149+
'use_underscore' => true,
150150

151151
/*
152152
|--------------------------------------------------------------------------
@@ -159,7 +159,7 @@
159159
|
160160
*/
161161

162-
'html_input' => '',
162+
'html_input' => '',
163163

164164
/*
165165
|--------------------------------------------------------------------------
@@ -172,7 +172,7 @@
172172
|
173173
*/
174174

175-
'allow_unsafe_links' => true,
175+
'allow_unsafe_links' => true,
176176

177177
/*
178178
|--------------------------------------------------------------------------
@@ -185,7 +185,7 @@
185185
|
186186
*/
187187

188-
'max_nesting_level' => INF,
188+
'max_nesting_level' => INF,
189189

190190
'link_attributes' => [],
191191
'link_renderer_view_attributes' => [],
@@ -201,7 +201,7 @@
201201
|
202202
*/
203203

204-
'lazyload_images' => false,
204+
'lazyload_images' => false,
205205

206206
/*
207207
|--------------------------------------------------------------------------
@@ -211,7 +211,7 @@
211211
| The options below are going to be deep merged with the default options
212212
| defined on the `src/Providers/CommonMarkServiceProvider.php` file.
213213
*/
214-
'environment' => [],
214+
'environment' => [],
215215

216216
/*
217217
|--------------------------------------------------------------------------
@@ -222,5 +222,5 @@
222222
| `ARKEcosystem\Foundation\CommonMark\Contracts\ImageDimensionsStrategy`
223223
| interface.
224224
*/
225-
'image_dimensions_strategy' => null,
225+
'image_dimensions_strategy' => null,
226226
];

config/newsletter.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
* You may use "log" or "null" to prevent calling the
1010
* API directly from your environment.
1111
*/
12-
'driver' => env('MAILCHIMP_DRIVER', 'api'),
12+
'driver' => env('MAILCHIMP_DRIVER', 'api'),
1313

1414
/*
1515
* The API key of a MailChimp account. You can find yours at
1616
* https://us10.admin.mailchimp.com/account/api-key-popup/.
1717
*/
18-
'apiKey' => env('MAILCHIMP_APIKEY'),
18+
'apiKey' => env('MAILCHIMP_APIKEY'),
1919

2020
/*
2121
* The listName to use when no listName has been specified in a method.
@@ -25,7 +25,7 @@
2525
/*
2626
* Here you can define projects of the lists.
2727
*/
28-
'lists' => [
28+
'lists' => [
2929

3030
/*
3131
* This key is used to identify this list. It can be used
@@ -48,6 +48,6 @@
4848
/*
4949
* If you're having trouble with https connections, set this to false.
5050
*/
51-
'ssl' => true,
51+
'ssl' => true,
5252

5353
];

config/rules.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,22 @@
3131
'twitter' => '/^[a-zA-Z0-9-_@]+$/m',
3232
],
3333

34-
'source_providers' => [
34+
'source_providers' => [
3535
'bitbucket' => '/(?:https?:)\/\/(?:www\.)?bitbucket\.(com|org)\/(?P<login>[A-z0-9_-]+)(?:\/(?P<repo>[*]+)\/?)?/m',
3636
'github' => '/(?:https?:)\/\/(?:www\.)?github\.com\/(?P<login>[A-z0-9_-]+)(?:\/(?P<repo>[*]+)\/?)?/m',
3737
'gitlab' => '/(?:https?:)\/\/(?:www\.)?gitlab\.com\/(?P<login>[A-z0-9_-]+)(?:\/(?P<repo>[*]+)\/?)?/m',
3838
],
3939

40-
'video_sources' => [
40+
'video_sources' => [
4141
'youtube' => '/(?:https?:)\/\/((?:www|m)\.)?((?:youtube\.com|youtu.be))(\/(?:[\w\-]+\?v=|embed\/|v\/)?)([\w\-]+)(\S+)?$/m',
4242
'youtube_id' => '/^[^"&?\/\s]{11}$/',
4343
],
4444

45-
'user_mentions' => '/<a[^>]*data-username="([^"]*)"[^>]*>([^<]+)<\/a>/',
45+
'user_mentions' => '/<a[^>]*data-username="([^"]*)"[^>]*>([^<]+)<\/a>/',
4646

47-
'website' => '/https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.(?<host>[^\s]{1,})/m',
47+
'website' => '/https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.(?<host>[^\s]{1,})/m',
4848

49-
'www_url_prefix' => '/^www\./',
49+
'www_url_prefix' => '/^www\./',
5050
],
5151

5252
];

config/share.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
'facebook' => [
1818
'uri' => 'https://www.facebook.com/sharer/sharer.php',
1919
],
20-
'twitter' => [
20+
'twitter' => [
2121
'uri' => 'https://twitter.com/intent/tweet',
2222
'text' => 'Default share text',
2323
],
24-
'reddit' => [
24+
'reddit' => [
2525
'uri' => 'https://www.reddit.com/submit',
2626
'text' => 'Default share text',
2727
],

0 commit comments

Comments
 (0)