diff --git a/.php-cs-fixer.cache b/.php-cs-fixer.cache index 6dec6bba..1c767099 100644 --- a/.php-cs-fixer.cache +++ b/.php-cs-fixer.cache @@ -1 +1 @@ -{"php":"8.0.5","version":"3.0.0","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces":true,"class_definition":true,"constant_case":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_spaces_after_function_name":true,"no_spaces_inside_parenthesis":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"length"},"blank_line_before_statement":{"statements":["break","case","continue","declare","default","do","exit","for","foreach","goto","if","include","include_once","require","require_once","return","switch","throw","try","while","yield","yield_from"]},"no_extra_blank_lines":{"tokens":["break","case","continue","curly_brace_block","default","extra","parenthesis_brace_block","return","square_brace_block","switch","throw","use","use_trait"]},"cast_spaces":{"space":"single"},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true,"single_space_after_construct":true,"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":{"elements":["arrays"]},"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":{"operators":{"=>":"align"}},"method_chaining_indentation":true,"array_indentation":true,"single_quote":true,"no_singleline_whitespace_before_semicolons":true,"no_empty_statement":true,"standardize_increment":true,"object_operator_without_whitespace":true,"ternary_operator_spaces":true,"no_leading_namespace_whitespace":true,"no_blank_lines_before_namespace":true,"fully_qualified_strict_types":true,"single_line_throw":true,"function_typehint_space":true,"simplified_if_return":true,"no_useless_else":true,"no_unneeded_curly_braces":true,"no_empty_comment":true,"no_blank_lines_after_class_opening":true,"whitespace_after_comma_in_array":true,"trim_array_spaces":true,"no_whitespace_before_comma_in_array":true,"lowercase_static_reference":true},"hashes":{"app\/Providers\/AppServiceProvider.php":386165394,"app\/Providers\/EventServiceProvider.php":3395009334,"app\/Providers\/FortifyServiceProvider.php":4138315837,"app\/Providers\/AuthServiceProvider.php":169859517,"app\/Providers\/RouteServiceProvider.php":2048667731,"app\/Providers\/BroadcastServiceProvider.php":3541093703,"app\/Rules\/DisabledMimetypes.php":3208905600,"app\/Traits\/Oasis.php":589740399,"app\/Http\/Kernel.php":960929552,"app\/Http\/Requests\/Oasis\/CreateOrderRequest.php":6605150,"app\/Http\/Requests\/FileBrowser\/SearchRequest.php":202095165,"app\/Http\/Requests\/Payments\/RegisterNewPaymentMethodRequest.php":3499435528,"app\/Http\/Requests\/User\/UpdateUserPasswordRequest.php":2221986665,"app\/Http\/Requests\/SetupWizard\/StoreStripeBillingRequest.php":2569186739,"app\/Http\/Requests\/SetupWizard\/StoreStripePlansRequest.php":3654298680,"app\/Http\/Requests\/SetupWizard\/StoreDatabaseCredentialsRequest.php":602982257,"app\/Http\/Requests\/SetupWizard\/StoreAppSetupRequest.php":1119996339,"app\/Http\/Requests\/SetupWizard\/StoreStripeCredentialsRequest.php":1588619865,"app\/Http\/Requests\/SetupWizard\/StoreEnvironmentSetupRequest.php":4136423662,"app\/Http\/Requests\/FileFunctions\/CreateFolderRequest.php":3692937785,"app\/Http\/Requests\/FileFunctions\/RenameItemRequest.php":3723095090,"app\/Http\/Requests\/FileFunctions\/UploadRequest.php":3635395860,"app\/Http\/Requests\/FileFunctions\/DeleteItemRequest.php":1266391068,"app\/Http\/Requests\/FileFunctions\/MoveItemRequest.php":2207518417,"app\/Http\/Requests\/Subscription\/StoreUpgradeAccountRequest.php":2224778578,"app\/Http\/Requests\/PublicPages\/SendContactMessageRequest.php":3774635559,"app\/Http\/Requests\/Languages\/UpdateLanguageRequest.php":2759186372,"app\/Http\/Requests\/Languages\/UpdateStringRequest.php":325219474,"app\/Http\/Requests\/Languages\/CreateLanguageRequest.php":2413927892,"app\/Http\/Requests\/Auth\/CheckAccountRequest.php":708120184,"app\/Http\/Requests\/Share\/AuthenticateShareRequest.php":1928811787,"app\/Http\/Requests\/Share\/UpdateShareRequest.php":3029590464,"app\/Http\/Requests\/Share\/CreateShareRequest.php":623520874,"app\/Http\/Requests\/Admin\/ChangeRoleRequest.php":377188311,"app\/Http\/Requests\/Admin\/CreateUserByAdmin.php":1187439409,"app\/Http\/Requests\/Admin\/ChangeStorageCapacityRequest.php":2787589842,"app\/Http\/Requests\/Admin\/DeleteUserRequest.php":2636618911,"app\/Http\/Mail\/SendContactMessage.php":594829001,"app\/Http\/Resources\/UserStorageResource.php":2500526056,"app\/Http\/Resources\/PricingResource.php":1267485808,"app\/Http\/Resources\/LanguageResource.php":3173560286,"app\/Http\/Resources\/Oasis\/SubscriptionRequestResource.php":2388189686,"app\/Http\/Resources\/PageCollection.php":842383211,"app\/Http\/Resources\/InvoiceCollection.php":3442384146,"app\/Http\/Resources\/UserResource.php":2051716131,"app\/Http\/Resources\/PricingCollection.php":549452717,"app\/Http\/Resources\/FileResource.php":2504031769,"app\/Http\/Resources\/InvoiceAdminCollection.php":274747241,"app\/Http\/Resources\/InvoiceResource.php":188824434,"app\/Http\/Resources\/PageResource.php":3319655507,"app\/Http\/Resources\/PaymentDefaultCardResource.php":1228639420,"app\/Http\/Resources\/LanguageCollection.php":3837282263,"app\/Http\/Resources\/PlanResource.php":3228222040,"app\/Http\/Resources\/PaymentCardCollection.php":35382430,"app\/Http\/Resources\/PaymentCardResource.php":4249352961,"app\/Http\/Resources\/UserSubscription.php":2726832096,"app\/Http\/Resources\/InvoiceAdminResource.php":4202873718,"app\/Http\/Resources\/UsersCollection.php":3057145737,"app\/Http\/Resources\/ShareResource.php":4289675308,"app\/Http\/Resources\/PlanCollection.php":1402537053,"app\/Http\/Middleware\/CheckForMaintenanceMode.php":3053801562,"app\/Http\/Middleware\/EncryptCookies.php":1502216959,"app\/Http\/Middleware\/Authenticate.php":829439188,"app\/Http\/Middleware\/PreventRequestsDuringMaintenance.php":2280943271,"app\/Http\/Middleware\/RedirectIfAuthenticated.php":4037446582,"app\/Http\/Middleware\/VerifyCsrfToken.php":2876451146,"app\/Http\/Middleware\/TrustProxies.php":3573151230,"app\/Http\/Middleware\/TrimStrings.php":10633912,"app\/Http\/helpers.php":1029601324,"app\/Http\/Controllers\/Oasis\/AdminController.php":1313795195,"app\/Http\/Controllers\/Oasis\/SubscriptionController.php":157524483,"app\/Http\/Controllers\/App\/SetupWizardController.php":2417332358,"app\/Http\/Controllers\/App\/Maintenance.php":96974254,"app\/Http\/Controllers\/App\/AppFunctionsController.php":2511361643,"app\/Http\/Controllers\/Sharing\/FileSharedAccessController.php":2079123015,"app\/Http\/Controllers\/Sharing\/BrowseShareController.php":1628570073,"app\/Http\/Controllers\/Sharing\/ManipulateShareItemsController.php":4088697328,"app\/Http\/Controllers\/User\/SubscriptionController.php":2751297300,"app\/Http\/Controllers\/User\/AccountController.php":4242307318,"app\/Http\/Controllers\/User\/PaymentMethodsController.php":2668275135,"app\/Http\/Controllers\/Controller.php":2646027293,"app\/Http\/Controllers\/Subscription\/StripeWebhookController.php":2426977191,"app\/Http\/Controllers\/FileManager\/FileAccessController.php":755754173,"app\/Http\/Controllers\/FileManager\/TrashController.php":3425626945,"app\/Http\/Controllers\/FileManager\/EditItemsController.php":2785195430,"app\/Http\/Controllers\/FileManager\/FavouriteController.php":2757720034,"app\/Http\/Controllers\/FileManager\/BrowseController.php":4160971047,"app\/Http\/Controllers\/FileManager\/ShareController.php":3375932059,"app\/Http\/Controllers\/Auth\/ResetPasswordController.php":348514476,"app\/Http\/Controllers\/Auth\/ConfirmPasswordController.php":711266715,"app\/Http\/Controllers\/Auth\/ForgotPasswordController.php":2521654140,"app\/Http\/Controllers\/Auth\/AuthController.php":1812257694,"app\/Http\/Controllers\/Auth\/LoginController.php":2932123434,"app\/Http\/Controllers\/Auth\/VerificationController.php":260994322,"app\/Http\/Controllers\/Admin\/DashboardController.php":813458242,"app\/Http\/Controllers\/Admin\/LanguageController.php":32213647,"app\/Http\/Controllers\/Admin\/PagesController.php":3260477919,"app\/Http\/Controllers\/Admin\/UserController.php":819076585,"app\/Http\/Controllers\/Admin\/InvoiceController.php":2147703671,"app\/Http\/Controllers\/Admin\/SettingController.php":3120704415,"app\/Http\/Controllers\/Admin\/PlanController.php":297053207,"app\/Http\/Notifications\/ConfirmPayment.php":332683570,"app\/Exceptions\/Handler.php":1302274777,"app\/Console\/Kernel.php":2439449263,"app\/Console\/Commands\/SetupDevEnvironment.php":1888506376,"app\/Console\/Commands\/SetupProdEnvironment.php":668067928,"app\/Console\/Commands\/SetupOasisEnvironment.php":2979346841,"app\/Actions\/Fortify\/UpdateUserProfileInformation.php":3856897817,"app\/Actions\/Fortify\/CreateNewUser.php":994974564,"app\/Actions\/Fortify\/ResetUserPassword.php":4190615589,"app\/Actions\/Fortify\/PasswordValidationRules.php":2923916238,"app\/Actions\/Fortify\/UpdateUserPassword.php":1722429031,"app\/Models\/Folder.php":774866902,"app\/Models\/Oasis\/SubscriptionRequest.php":3752927732,"app\/Models\/Language.php":1756684391,"app\/Models\/User.php":2627971116,"app\/Models\/Share.php":131227417,"app\/Models\/LanguageTranslation.php":1555765712,"app\/Models\/File.php":12791111,"app\/Models\/Invoice.php":2355468220,"app\/Models\/Zip.php":2771946819,"app\/Models\/Setting.php":3917536845,"app\/Models\/Page.php":907354308,"app\/Models\/UserSettings.php":3400206961,"app\/Models\/Traffic.php":2512673789,"app\/Services\/Oasis\/CzechRegisterSearchService.php":1381261222,"app\/Services\/Oasis\/OasisDevService.php":2949798966,"app\/Services\/Oasis\/OasisService.php":533721080,"app\/Services\/StripeService.php":3132959360,"app\/Services\/FileManagerService.php":2970656502,"app\/Services\/HelperService.php":3229683643,"app\/Services\/LanguageService.php":1337481237,"app\/Services\/DemoService.php":3443050092,"app\/Services\/SetupService.php":1722905884,"app\/Services\/SchedulerService.php":3203885791,"app\/Notifications\/Oasis\/ReminderForPaymentRequiredNotification.php":2048785676,"app\/Notifications\/Oasis\/PaymentRequiredNotification.php":2037767700,"app\/Notifications\/ResetPassword.php":217123398,"app\/Notifications\/SharedSendViaEmail.php":113607832,"routes\/share.php":1915112226,"routes\/admin.php":1753159742,"routes\/user.php":4259547085,"routes\/channels.php":2877044881,"routes\/api.php":3451943582,"routes\/oasis.php":917790463,"routes\/web.php":2109839853,"routes\/file.php":3064209512,"routes\/maintenance.php":3748923669,"routes\/console.php":2045403946,"routes\/setup.php":174846292,"config\/database.php":1500812285,"config\/app.php":3163075654,"config\/vuefilemanager.php":1126120216,"config\/filesystems.php":22502131,"config\/content.php":2506681111,"config\/fortify.php":3943498774,"config\/broadcasting.php":639178001,"config\/session.php":2232050276,"config\/custom-language-translations.php":3488532145,"config\/mail.php":1982918162,"config\/queue.php":113961715,"config\/cors.php":814133164,"config\/laravel-query-monitor.php":332751186,"config\/cache.php":3632019567,"config\/auth.php":2575944760,"config\/view.php":3441258419,"config\/hashing.php":2194319214,"config\/services.php":903116839,"config\/scout.php":2655201160,"config\/language-translations.php":54877381,"config\/cashier.php":1925306958,"config\/snappy.php":1295106295,"config\/logging.php":1549177037,"config\/backup.php":2804181921}} \ No newline at end of file +{"php":"8.0.5","version":"3.0.0","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces":true,"class_definition":true,"constant_case":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_spaces_after_function_name":true,"no_spaces_inside_parenthesis":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"length"},"blank_line_before_statement":{"statements":["break","case","continue","declare","default","do","exit","for","foreach","goto","if","include","include_once","require","require_once","return","switch","throw","try","while","yield","yield_from"]},"no_extra_blank_lines":{"tokens":["break","case","continue","curly_brace_block","default","extra","parenthesis_brace_block","return","square_brace_block","switch","throw","use","use_trait"]},"cast_spaces":{"space":"single"},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true,"single_space_after_construct":true,"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":{"elements":["arrays"]},"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":{"operators":{"=>":"align"}},"method_chaining_indentation":true,"array_indentation":true,"single_quote":true,"no_singleline_whitespace_before_semicolons":true,"no_empty_statement":true,"standardize_increment":true,"object_operator_without_whitespace":true,"ternary_operator_spaces":true,"no_leading_namespace_whitespace":true,"no_blank_lines_before_namespace":true,"fully_qualified_strict_types":true,"single_line_throw":true,"function_typehint_space":true,"simplified_if_return":true,"no_useless_else":true,"no_unneeded_curly_braces":true,"no_empty_comment":true,"no_blank_lines_after_class_opening":true,"whitespace_after_comma_in_array":true,"trim_array_spaces":true,"no_whitespace_before_comma_in_array":true,"lowercase_static_reference":true},"hashes":{"app\/Providers\/AppServiceProvider.php":386165394,"app\/Providers\/EventServiceProvider.php":3395009334,"app\/Providers\/FortifyServiceProvider.php":4138315837,"app\/Providers\/AuthServiceProvider.php":169859517,"app\/Providers\/RouteServiceProvider.php":2048667731,"app\/Providers\/BroadcastServiceProvider.php":3541093703,"app\/Rules\/DisabledMimetypes.php":3208905600,"app\/Traits\/Oasis.php":589740399,"app\/Http\/Kernel.php":960929552,"app\/Http\/Requests\/Oasis\/CreateOrderRequest.php":6605150,"app\/Http\/Requests\/FileBrowser\/SearchRequest.php":202095165,"app\/Http\/Requests\/Payments\/RegisterNewPaymentMethodRequest.php":3499435528,"app\/Http\/Requests\/User\/UpdateUserPasswordRequest.php":2221986665,"app\/Http\/Requests\/SetupWizard\/StoreStripeBillingRequest.php":2569186739,"app\/Http\/Requests\/SetupWizard\/StoreStripePlansRequest.php":3654298680,"app\/Http\/Requests\/SetupWizard\/StoreDatabaseCredentialsRequest.php":602982257,"app\/Http\/Requests\/SetupWizard\/StoreAppSetupRequest.php":1119996339,"app\/Http\/Requests\/SetupWizard\/StoreStripeCredentialsRequest.php":1588619865,"app\/Http\/Requests\/SetupWizard\/StoreEnvironmentSetupRequest.php":4136423662,"app\/Http\/Requests\/FileFunctions\/CreateFolderRequest.php":3692937785,"app\/Http\/Requests\/FileFunctions\/RenameItemRequest.php":3723095090,"app\/Http\/Requests\/FileFunctions\/UploadRequest.php":3635395860,"app\/Http\/Requests\/FileFunctions\/DeleteItemRequest.php":1266391068,"app\/Http\/Requests\/FileFunctions\/MoveItemRequest.php":2207518417,"app\/Http\/Requests\/Subscription\/StoreUpgradeAccountRequest.php":2224778578,"app\/Http\/Requests\/PublicPages\/SendContactMessageRequest.php":3774635559,"app\/Http\/Requests\/Languages\/UpdateLanguageRequest.php":2759186372,"app\/Http\/Requests\/Languages\/UpdateStringRequest.php":325219474,"app\/Http\/Requests\/Languages\/CreateLanguageRequest.php":2413927892,"app\/Http\/Requests\/Auth\/CheckAccountRequest.php":708120184,"app\/Http\/Requests\/Share\/AuthenticateShareRequest.php":1928811787,"app\/Http\/Requests\/Share\/UpdateShareRequest.php":3029590464,"app\/Http\/Requests\/Share\/CreateShareRequest.php":623520874,"app\/Http\/Requests\/Admin\/ChangeRoleRequest.php":377188311,"app\/Http\/Requests\/Admin\/CreateUserByAdmin.php":1187439409,"app\/Http\/Requests\/Admin\/ChangeStorageCapacityRequest.php":2787589842,"app\/Http\/Requests\/Admin\/DeleteUserRequest.php":2636618911,"app\/Http\/Mail\/SendContactMessage.php":594829001,"app\/Http\/Resources\/UserStorageResource.php":2500526056,"app\/Http\/Resources\/PricingResource.php":1267485808,"app\/Http\/Resources\/LanguageResource.php":3173560286,"app\/Http\/Resources\/Oasis\/SubscriptionRequestResource.php":2388189686,"app\/Http\/Resources\/PageCollection.php":842383211,"app\/Http\/Resources\/InvoiceCollection.php":3442384146,"app\/Http\/Resources\/UserResource.php":2051716131,"app\/Http\/Resources\/PricingCollection.php":549452717,"app\/Http\/Resources\/FileResource.php":2504031769,"app\/Http\/Resources\/InvoiceAdminCollection.php":274747241,"app\/Http\/Resources\/InvoiceResource.php":188824434,"app\/Http\/Resources\/PageResource.php":3319655507,"app\/Http\/Resources\/PaymentDefaultCardResource.php":1228639420,"app\/Http\/Resources\/LanguageCollection.php":3837282263,"app\/Http\/Resources\/PlanResource.php":3228222040,"app\/Http\/Resources\/PaymentCardCollection.php":35382430,"app\/Http\/Resources\/PaymentCardResource.php":4249352961,"app\/Http\/Resources\/UserSubscription.php":2726832096,"app\/Http\/Resources\/InvoiceAdminResource.php":4202873718,"app\/Http\/Resources\/UsersCollection.php":3057145737,"app\/Http\/Resources\/ShareResource.php":4289675308,"app\/Http\/Resources\/PlanCollection.php":1402537053,"app\/Http\/Middleware\/CheckForMaintenanceMode.php":3053801562,"app\/Http\/Middleware\/EncryptCookies.php":1502216959,"app\/Http\/Middleware\/Authenticate.php":829439188,"app\/Http\/Middleware\/PreventRequestsDuringMaintenance.php":2280943271,"app\/Http\/Middleware\/RedirectIfAuthenticated.php":4037446582,"app\/Http\/Middleware\/VerifyCsrfToken.php":2876451146,"app\/Http\/Middleware\/TrustProxies.php":3573151230,"app\/Http\/Middleware\/TrimStrings.php":10633912,"app\/Http\/helpers.php":4042691390,"app\/Http\/Controllers\/Oasis\/AdminController.php":1313795195,"app\/Http\/Controllers\/Oasis\/SubscriptionController.php":157524483,"app\/Http\/Controllers\/App\/SetupWizardController.php":2417332358,"app\/Http\/Controllers\/App\/Maintenance.php":96974254,"app\/Http\/Controllers\/App\/AppFunctionsController.php":2511361643,"app\/Http\/Controllers\/Sharing\/FileSharedAccessController.php":2079123015,"app\/Http\/Controllers\/Sharing\/BrowseShareController.php":1628570073,"app\/Http\/Controllers\/Sharing\/ManipulateShareItemsController.php":4088697328,"app\/Http\/Controllers\/User\/SubscriptionController.php":2751297300,"app\/Http\/Controllers\/User\/AccountController.php":4242307318,"app\/Http\/Controllers\/User\/PaymentMethodsController.php":2668275135,"app\/Http\/Controllers\/Controller.php":2646027293,"app\/Http\/Controllers\/Subscription\/StripeWebhookController.php":2426977191,"app\/Http\/Controllers\/FileManager\/FileAccessController.php":755754173,"app\/Http\/Controllers\/FileManager\/TrashController.php":3425626945,"app\/Http\/Controllers\/FileManager\/EditItemsController.php":2785195430,"app\/Http\/Controllers\/FileManager\/FavouriteController.php":2757720034,"app\/Http\/Controllers\/FileManager\/BrowseController.php":4160971047,"app\/Http\/Controllers\/FileManager\/ShareController.php":3375932059,"app\/Http\/Controllers\/Auth\/ResetPasswordController.php":348514476,"app\/Http\/Controllers\/Auth\/ConfirmPasswordController.php":711266715,"app\/Http\/Controllers\/Auth\/ForgotPasswordController.php":2521654140,"app\/Http\/Controllers\/Auth\/AuthController.php":1812257694,"app\/Http\/Controllers\/Auth\/LoginController.php":2932123434,"app\/Http\/Controllers\/Auth\/VerificationController.php":260994322,"app\/Http\/Controllers\/Admin\/DashboardController.php":813458242,"app\/Http\/Controllers\/Admin\/LanguageController.php":32213647,"app\/Http\/Controllers\/Admin\/PagesController.php":3260477919,"app\/Http\/Controllers\/Admin\/UserController.php":819076585,"app\/Http\/Controllers\/Admin\/InvoiceController.php":2147703671,"app\/Http\/Controllers\/Admin\/SettingController.php":3120704415,"app\/Http\/Controllers\/Admin\/PlanController.php":297053207,"app\/Http\/Notifications\/ConfirmPayment.php":332683570,"app\/Exceptions\/Handler.php":1302274777,"app\/Console\/Kernel.php":2439449263,"app\/Console\/Commands\/SetupDevEnvironment.php":1888506376,"app\/Console\/Commands\/SetupProdEnvironment.php":668067928,"app\/Console\/Commands\/SetupOasisEnvironment.php":2979346841,"app\/Actions\/Fortify\/UpdateUserProfileInformation.php":3856897817,"app\/Actions\/Fortify\/CreateNewUser.php":994974564,"app\/Actions\/Fortify\/ResetUserPassword.php":4190615589,"app\/Actions\/Fortify\/PasswordValidationRules.php":2923916238,"app\/Actions\/Fortify\/UpdateUserPassword.php":1722429031,"app\/Models\/Folder.php":774866902,"app\/Models\/Oasis\/SubscriptionRequest.php":3752927732,"app\/Models\/Language.php":1756684391,"app\/Models\/User.php":2627971116,"app\/Models\/Share.php":131227417,"app\/Models\/LanguageTranslation.php":1555765712,"app\/Models\/File.php":12791111,"app\/Models\/Invoice.php":2355468220,"app\/Models\/Zip.php":2771946819,"app\/Models\/Setting.php":3917536845,"app\/Models\/Page.php":907354308,"app\/Models\/UserSettings.php":3400206961,"app\/Models\/Traffic.php":2512673789,"app\/Services\/Oasis\/CzechRegisterSearchService.php":1381261222,"app\/Services\/Oasis\/OasisDevService.php":2949798966,"app\/Services\/Oasis\/OasisService.php":533721080,"app\/Services\/StripeService.php":3132959360,"app\/Services\/FileManagerService.php":2970656502,"app\/Services\/HelperService.php":3229683643,"app\/Services\/LanguageService.php":1337481237,"app\/Services\/DemoService.php":3443050092,"app\/Services\/SetupService.php":1722905884,"app\/Services\/SchedulerService.php":3203885791,"app\/Notifications\/Oasis\/ReminderForPaymentRequiredNotification.php":2048785676,"app\/Notifications\/Oasis\/PaymentRequiredNotification.php":2037767700,"app\/Notifications\/ResetPassword.php":217123398,"app\/Notifications\/SharedSendViaEmail.php":113607832,"routes\/share.php":1915112226,"routes\/admin.php":1753159742,"routes\/user.php":4259547085,"routes\/channels.php":2877044881,"routes\/api.php":3451943582,"routes\/oasis.php":917790463,"routes\/web.php":2109839853,"routes\/file.php":3064209512,"routes\/maintenance.php":3748923669,"routes\/console.php":2045403946,"routes\/setup.php":174846292,"config\/database.php":1500812285,"config\/app.php":3163075654,"config\/vuefilemanager.php":1126120216,"config\/filesystems.php":22502131,"config\/content.php":2506681111,"config\/fortify.php":3943498774,"config\/broadcasting.php":639178001,"config\/session.php":2232050276,"config\/custom-language-translations.php":3488532145,"config\/mail.php":1982918162,"config\/queue.php":113961715,"config\/cors.php":814133164,"config\/laravel-query-monitor.php":332751186,"config\/cache.php":3632019567,"config\/auth.php":2575944760,"config\/view.php":3441258419,"config\/hashing.php":2194319214,"config\/services.php":903116839,"config\/scout.php":2655201160,"config\/language-translations.php":54877381,"config\/cashier.php":1925306958,"config\/snappy.php":1295106295,"config\/logging.php":1549177037,"config\/backup.php":2804181921}} \ No newline at end of file diff --git a/app/Http/helpers.php b/app/Http/helpers.php index 0d211572..9bbf509e 100644 --- a/app/Http/helpers.php +++ b/app/Http/helpers.php @@ -16,7 +16,7 @@ use Illuminate\Support\Facades\Storage; use Intervention\Image\ImageManagerStatic as Image; use Illuminate\Database\Eloquent\ModelNotFoundException; -if (!function_exists('obfuscate_email')) { +if (! function_exists('obfuscate_email')) { /** * Obfuscate email * @@ -33,7 +33,7 @@ if (!function_exists('obfuscate_email')) { } } -if (!function_exists('get_setting')) { +if (! function_exists('get_setting')) { /** * Get single value from settings table * @@ -46,7 +46,7 @@ if (!function_exists('get_setting')) { } } -if (!function_exists('get_settings_in_json')) { +if (! function_exists('get_settings_in_json')) { /** * Get all app settings and return them as json */ @@ -60,7 +60,7 @@ if (!function_exists('get_settings_in_json')) { } } -if (!function_exists('get_setup_status')) { +if (! function_exists('get_setup_status')) { /** * Check if setup wizard was passed * @@ -74,7 +74,7 @@ if (!function_exists('get_setup_status')) { } } -if (!function_exists('add_paragraphs')) { +if (! function_exists('add_paragraphs')) { /** * Create paragraph from text * @@ -123,7 +123,7 @@ if (!function_exists('add_paragraphs')) { } } -if (!function_exists('setEnvironmentValue')) { +if (! function_exists('setEnvironmentValue')) { /** * Set environment value * @@ -150,11 +150,11 @@ if (!function_exists('setEnvironmentValue')) { $str = substr($str, 0, -1); - return !(!file_put_contents($envFile, $str)); + return ! (! file_put_contents($envFile, $str)); } } -if (!function_exists('get_invoice_number')) { +if (! function_exists('get_invoice_number')) { /** * Get invoice number * @@ -168,11 +168,11 @@ if (!function_exists('get_invoice_number')) { return now()->year . '001'; } - return (int)$invoices->last()->order + 1; + return (int) $invoices->last()->order + 1; } } -if (!function_exists('cache_forget_many')) { +if (! function_exists('cache_forget_many')) { /** * Forget many cache keys at once * @param $cache @@ -185,7 +185,7 @@ if (!function_exists('cache_forget_many')) { } } -if (!function_exists('get_storage')) { +if (! function_exists('get_storage')) { /** * Get app version from config * @@ -197,7 +197,7 @@ if (!function_exists('get_storage')) { } } -if (!function_exists('is_storage_driver')) { +if (! function_exists('is_storage_driver')) { /** * Check if is running AWS s3 as storage * @@ -213,7 +213,7 @@ if (!function_exists('is_storage_driver')) { } } -if (!function_exists('get_version')) { +if (! function_exists('get_version')) { /** * Get app version from config * @@ -225,7 +225,7 @@ if (!function_exists('get_version')) { } } -if (!function_exists('is_demo')) { +if (! function_exists('is_demo')) { /** * Check if is demo * @@ -237,7 +237,7 @@ if (!function_exists('is_demo')) { } } -if (!function_exists('is_demo_account')) { +if (! function_exists('is_demo_account')) { /** * Check if is demo * @@ -250,7 +250,7 @@ if (!function_exists('is_demo_account')) { } } -if (!function_exists('get_item')) { +if (! function_exists('get_item')) { /** * Get folder or file item * @@ -266,7 +266,7 @@ if (!function_exists('get_item')) { } } -if (!function_exists('get_shared')) { +if (! function_exists('get_shared')) { /** * Get shared token * @@ -280,7 +280,7 @@ if (!function_exists('get_shared')) { } } -if (!function_exists('is_editor')) { +if (! function_exists('is_editor')) { /** * Check if shared permission is editor * @@ -293,7 +293,7 @@ if (!function_exists('is_editor')) { } } -if (!function_exists('is_visitor')) { +if (! function_exists('is_visitor')) { /** * Check if shared permission is visitor * @@ -306,7 +306,7 @@ if (!function_exists('is_visitor')) { } } -if (!function_exists('store_avatar')) { +if (! function_exists('store_avatar')) { /** * Store user avatar to storage * @@ -316,7 +316,7 @@ if (!function_exists('store_avatar')) { */ function store_avatar($request, $name) { - if (!$request->hasFile($name)) { + if (! $request->hasFile($name)) { return null; } @@ -345,7 +345,7 @@ if (!function_exists('store_avatar')) { } } -if (!function_exists('store_system_image')) { +if (! function_exists('store_system_image')) { /** * Store system image * @@ -355,7 +355,7 @@ if (!function_exists('store_system_image')) { */ function store_system_image($request, $name) { - if (!$request->hasFile($name)) { + if (! $request->hasFile($name)) { return null; } @@ -372,7 +372,7 @@ if (!function_exists('store_system_image')) { } } -if (!function_exists('make_single_input')) { +if (! function_exists('make_single_input')) { /** * Make input from request * @@ -392,7 +392,7 @@ if (!function_exists('make_single_input')) { } } -if (!function_exists('format_gigabytes')) { +if (! function_exists('format_gigabytes')) { /** * Format integer to gigabytes * @@ -409,7 +409,7 @@ if (!function_exists('format_gigabytes')) { } } -if (!function_exists('format_megabytes')) { +if (! function_exists('format_megabytes')) { /** * Format string to formated megabytes string * @@ -430,7 +430,7 @@ if (!function_exists('format_megabytes')) { } } -if (!function_exists('format_bytes')) { +if (! function_exists('format_bytes')) { /** * Convert megabytes to bytes * @@ -443,7 +443,7 @@ if (!function_exists('format_bytes')) { } } -if (!function_exists('get_storage_fill_percentage')) { +if (! function_exists('get_storage_fill_percentage')) { /** * Get storage usage in percent * @@ -464,11 +464,11 @@ if (!function_exists('get_storage_fill_percentage')) { } // Return in 2 decimal - return number_format((float)$progress, 2, '.', ''); + return number_format((float) $progress, 2, '.', ''); } } -if (!function_exists('user_storage_percentage')) { +if (! function_exists('user_storage_percentage')) { /** * Get user capacity fill by percentage * @@ -490,7 +490,7 @@ if (!function_exists('user_storage_percentage')) { } } -if (!function_exists('recursiveFind')) { +if (! function_exists('recursiveFind')) { /** * Find all key values in recursive array * @@ -514,7 +514,7 @@ if (!function_exists('recursiveFind')) { } } -if (!function_exists('appeared_once')) { +if (! function_exists('appeared_once')) { /** * Get values which appears only once in array * @param $arr @@ -536,7 +536,7 @@ if (!function_exists('appeared_once')) { } } -if (!function_exists('filter_folders_ids')) { +if (! function_exists('filter_folders_ids')) { /** * @param $folders * @param string $by_column @@ -550,7 +550,7 @@ if (!function_exists('filter_folders_ids')) { } } -if (!function_exists('format_date')) { +if (! function_exists('format_date')) { /** * Format localized date * @@ -566,7 +566,7 @@ if (!function_exists('format_date')) { } } -if (!function_exists('get_file_type')) { +if (! function_exists('get_file_type')) { /** * Get file type from mimetype * @@ -586,7 +586,7 @@ if (!function_exists('get_file_type')) { } } -if (!function_exists('map_language_translations')) { +if (! function_exists('map_language_translations')) { /** * It map language translations as language key and language value * @@ -601,7 +601,7 @@ if (!function_exists('map_language_translations')) { } } -if (!function_exists('get_file_type_from_mimetype')) { +if (! function_exists('get_file_type_from_mimetype')) { /** * Get file type from mimetype * @@ -614,7 +614,7 @@ if (!function_exists('get_file_type_from_mimetype')) { } } -if (!function_exists('get_pretty_name')) { +if (! function_exists('get_pretty_name')) { /** * Format pretty name file * @@ -639,7 +639,7 @@ if (!function_exists('get_pretty_name')) { } } -if (!function_exists('get_image_meta_data')) { +if (! function_exists('get_image_meta_data')) { /** * Get exif data from jpeg image * @@ -659,7 +659,7 @@ if (!function_exists('get_image_meta_data')) { } } -if (!function_exists('get_default_language_translations')) { +if (! function_exists('get_default_language_translations')) { /** * @return Collection */ @@ -673,7 +673,7 @@ if (!function_exists('get_default_language_translations')) { } } -if (!function_exists('is_dev')) { +if (! function_exists('is_dev')) { /** * Check if app is in dev mode * @@ -685,7 +685,7 @@ if (!function_exists('is_dev')) { } } -if (!function_exists('seems_utf8')) { +if (! function_exists('seems_utf8')) { /** * @param $str * @return bool @@ -730,7 +730,7 @@ if (!function_exists('seems_utf8')) { } } -if (!function_exists('remove_accents')) { +if (! function_exists('remove_accents')) { /** * Converts all accent characters to ASCII characters. * @@ -741,7 +741,7 @@ if (!function_exists('remove_accents')) { */ function remove_accents($string) { - if (!preg_match('/[\x80-\xff]/', $string)) { + if (! preg_match('/[\x80-\xff]/', $string)) { return $string; } @@ -844,7 +844,7 @@ if (!function_exists('remove_accents')) { // Euro Sign chr(226) . chr(130) . chr(172) => 'E', // GBP (Pound) Sign - chr(194) . chr(163) => '',]; + chr(194) . chr(163) => '', ]; $string = strtr($string, $chars); } else { @@ -872,8 +872,7 @@ if (!function_exists('remove_accents')) { } } -if (!function_exists('get_files_for_zip')) { - +if (! function_exists('get_files_for_zip')) { /** * Get all files from folder and get their folder location in VueFileManager directories * @@ -885,7 +884,7 @@ if (!function_exists('get_files_for_zip')) { function get_files_for_zip($folders, $files, $path = []) { // Return file list - if (!isset($folders->folders)) { + if (! isset($folders->folders)) { return $files->unique()->values()->all(); } @@ -913,7 +912,7 @@ if (!function_exists('get_files_for_zip')) { } } -if (!function_exists('set_time_by_user_timezone')) { +if (! function_exists('set_time_by_user_timezone')) { /** * Set time by user timezone GMT * @@ -934,7 +933,7 @@ if (!function_exists('set_time_by_user_timezone')) { } } -if (!function_exists('__t')) { +if (! function_exists('__t')) { /** * Translate the given message. * @param $key @@ -955,12 +954,12 @@ if (!function_exists('__t')) { // Get language strings $strings = cache()->rememberForever("language-translations-$locale", function () use ($locale) { - try { - return Language::whereLocale($locale)->firstOrFail()->languageTranslations; - } catch (QueryException | ModelNotFoundException $e) { - return null; - } - }) ?? get_default_language_translations(); + try { + return Language::whereLocale($locale)->firstOrFail()->languageTranslations; + } catch (QueryException | ModelNotFoundException $e) { + return null; + } + }) ?? get_default_language_translations(); // Find the string by key $string = $strings->firstWhere('key', $key)->value ?? $strings->get($key); @@ -973,7 +972,7 @@ if (!function_exists('__t')) { } } -if (!function_exists('replace_occurrence')) { +if (! function_exists('replace_occurrence')) { /** * Replace string occurrence in __t() by their values *