Skip to content

Commit

Permalink
fix: update rector config to work with latest version (#526)
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsANameToo authored Jan 9, 2023
1 parent 15746fd commit d41897c
Show file tree
Hide file tree
Showing 26 changed files with 197 additions and 195 deletions.
28 changes: 14 additions & 14 deletions config/fortify.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
|
*/

'guard' => 'web',
'guard' => 'web',

/*
|--------------------------------------------------------------------------
Expand All @@ -31,7 +31,7 @@
|
*/

'passwords' => 'users',
'passwords' => 'users',

/*
|--------------------------------------------------------------------------
Expand All @@ -48,11 +48,11 @@
|
*/

'username' => 'email',
'username' => 'email',

'username_alt' => 'username',
'username_alt' => 'username',

'email' => 'email',
'email' => 'email',

/*
|--------------------------------------------------------------------------
Expand All @@ -65,7 +65,7 @@
|
*/

'home' => config('home'),
'home' => config('home'),

/*
|--------------------------------------------------------------------------
Expand All @@ -89,9 +89,9 @@
|
*/

'middleware' => ['web', DoNotCacheResponse::class],
'middleware' => ['web', DoNotCacheResponse::class],

'middlewares' => [
'middlewares' => [
'account_settings' => [
'update_profile' => ['web', 'auth'],
'update_password' => ['web', 'auth'],
Expand All @@ -109,7 +109,7 @@
|
*/

'limiters' => [
'limiters' => [
'login' => null,
],

Expand All @@ -124,7 +124,7 @@
|
*/

'features' => [
'features' => [
Features::registration(),
Features::resetPasswords(),
Features::emailVerification(),
Expand All @@ -144,7 +144,7 @@
|
*/

'models' => [
'models' => [
'user' => '',
'invitation' => '',
],
Expand All @@ -155,8 +155,8 @@
|--------------------------------------------------------------------------
*/

'mail' => [
'default' => [
'mail' => [
'default' => [
'name' => env('MAIL_DEFAULT_NAME', 'ARK Ecosystem'),
'address' => env('MAIL_DEFAULT_ADDRESS', '[email protected]'),
],
Expand All @@ -173,7 +173,7 @@
|--------------------------------------------------------------------------
*/

'routes' => [
'routes' => [
'feedback_thank_you' => env('ROUTE_FEEDBACK_THANK_YOU', '/feedback/thank-you'),
'two_factor_reset_password' => env('ROUTE_TWO_RESET_PASSWORD', '/two-factor/reset-password/{token}'),
'account_settings_account' => env('ROUTE_ACCOUNT_SETTINGS_ACCOUNT', '/account/settings/account'),
Expand Down
28 changes: 14 additions & 14 deletions config/livewire.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
|
*/

'class_namespace' => 'App\\Http\\Livewire',
'class_namespace' => 'App\\Http\\Livewire',

/*
|--------------------------------------------------------------------------
Expand All @@ -29,7 +29,7 @@
|
*/

'view_path' => resource_path('views/livewire'),
'view_path' => resource_path('views/livewire'),

/*
|--------------------------------------------------------------------------
Expand All @@ -41,7 +41,7 @@
|
*/

'layout' => 'layouts.app',
'layout' => 'layouts.app',

/*
|--------------------------------------------------------------------------
Expand All @@ -56,7 +56,7 @@
|
*/

'asset_url' => null,
'asset_url' => null,

/*
|--------------------------------------------------------------------------
Expand All @@ -70,7 +70,7 @@
|
*/

'app_url' => null,
'app_url' => null,

/*
|--------------------------------------------------------------------------
Expand All @@ -83,7 +83,7 @@
|
*/

'middleware_group' => 'web',
'middleware_group' => 'web',

/*
|--------------------------------------------------------------------------
Expand All @@ -98,11 +98,11 @@
*/

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

'manifest_path' => null,
'manifest_path' => null,

/*
|--------------------------------------------------------------------------
Expand All @@ -140,7 +140,7 @@
|
*/

'back_button_cache' => false,
'back_button_cache' => false,

/*
|--------------------------------------------------------------------------
Expand All @@ -155,6 +155,6 @@
|
*/

'render_on_redirect' => true,
'render_on_redirect' => true,

];
28 changes: 14 additions & 14 deletions config/markdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
|
*/

'views' => true,
'views' => true,

/*
|--------------------------------------------------------------------------
Expand All @@ -50,7 +50,7 @@
|
*/

'extensions' => [
'extensions' => [
AutolinkExtension::class,
ExternalLinkExtension::class,
HeadingPermalinkExtension::class,
Expand All @@ -73,7 +73,7 @@
|
*/

'inlineRenderers' => [],
'inlineRenderers' => [],

/*
|--------------------------------------------------------------------------
Expand All @@ -90,7 +90,7 @@
|
*/

'renderer' => [
'renderer' => [
'block_separator' => "\n",
'inner_separator' => "\n",
'soft_break' => "\n",
Expand All @@ -107,7 +107,7 @@
|
*/

'enable_em' => true,
'enable_em' => true,

/*
|--------------------------------------------------------------------------
Expand All @@ -120,7 +120,7 @@
|
*/

'enable_strong' => true,
'enable_strong' => true,

/*
|--------------------------------------------------------------------------
Expand All @@ -133,7 +133,7 @@
|
*/

'use_asterisk' => true,
'use_asterisk' => true,

/*
|--------------------------------------------------------------------------
Expand All @@ -146,7 +146,7 @@
|
*/

'use_underscore' => true,
'use_underscore' => true,

/*
|--------------------------------------------------------------------------
Expand All @@ -159,7 +159,7 @@
|
*/

'html_input' => '',
'html_input' => '',

/*
|--------------------------------------------------------------------------
Expand All @@ -172,7 +172,7 @@
|
*/

'allow_unsafe_links' => true,
'allow_unsafe_links' => true,

/*
|--------------------------------------------------------------------------
Expand All @@ -185,7 +185,7 @@
|
*/

'max_nesting_level' => INF,
'max_nesting_level' => INF,

'link_attributes' => [],
'link_renderer_view_attributes' => [],
Expand All @@ -201,7 +201,7 @@
|
*/

'lazyload_images' => false,
'lazyload_images' => false,

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

/*
|--------------------------------------------------------------------------
Expand All @@ -222,5 +222,5 @@
| `ARKEcosystem\Foundation\CommonMark\Contracts\ImageDimensionsStrategy`
| interface.
*/
'image_dimensions_strategy' => null,
'image_dimensions_strategy' => null,
];
8 changes: 4 additions & 4 deletions config/newsletter.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
* You may use "log" or "null" to prevent calling the
* API directly from your environment.
*/
'driver' => env('MAILCHIMP_DRIVER', 'api'),
'driver' => env('MAILCHIMP_DRIVER', 'api'),

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

/*
* The listName to use when no listName has been specified in a method.
Expand All @@ -25,7 +25,7 @@
/*
* Here you can define projects of the lists.
*/
'lists' => [
'lists' => [

/*
* This key is used to identify this list. It can be used
Expand All @@ -48,6 +48,6 @@
/*
* If you're having trouble with https connections, set this to false.
*/
'ssl' => true,
'ssl' => true,

];
10 changes: 5 additions & 5 deletions config/rules.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,22 @@
'twitter' => '/^[a-zA-Z0-9-_@]+$/m',
],

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

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

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

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

'www_url_prefix' => '/^www\./',
'www_url_prefix' => '/^www\./',
],

];
4 changes: 2 additions & 2 deletions config/share.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
'facebook' => [
'uri' => 'https://www.facebook.com/sharer/sharer.php',
],
'twitter' => [
'twitter' => [
'uri' => 'https://twitter.com/intent/tweet',
'text' => 'Default share text',
],
'reddit' => [
'reddit' => [
'uri' => 'https://www.reddit.com/submit',
'text' => 'Default share text',
],
Expand Down
Loading

0 comments on commit d41897c

Please sign in to comment.