From 54529a2f14ac8c441f9ca33bc6c297b65e927049 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Thu, 19 Dec 2024 20:13:51 +0200 Subject: [PATCH] Add support for PHP 8.4 (#1640) --- CHANGELOG.md | 5 + application/config/config.php | 6 +- application/config/database.php | 14 +- application/config/migration.php | 6 +- application/controllers/Appointments.php | 2 +- application/controllers/Backend.php | 2 +- application/controllers/Booking.php | 2 +- application/controllers/Business_settings.php | 2 +- application/controllers/Caldav.php | 3 +- application/controllers/Console.php | 6 + application/controllers/Google.php | 2 +- application/controllers/Installation.php | 2 +- application/controllers/Recovery.php | 2 +- application/controllers/Test.php | 2 +- application/controllers/User.php | 6 +- application/controllers/api/index.html | 2 +- .../controllers/api/v1/Admins_api_v1.php | 2 +- .../api/v1/Appointments_api_v1.php | 25 +- .../controllers/api/v1/Customers_api_v1.php | 2 +- .../controllers/api/v1/Providers_api_v1.php | 2 +- .../controllers/api/v1/Secretaries_api_v1.php | 2 +- .../api/v1/Service_categories_api_v1.php | 2 +- .../controllers/api/v1/Services_api_v1.php | 8 +- .../api/v1/Unavailabilities_api_v1.php | 2 +- .../controllers/api/v1/Webhooks_api_v1.php | 2 +- application/controllers/api/v1/index.html | 2 +- application/controllers/index.html | 2 +- application/core/EA_Input.php | 2 +- application/core/EA_Model.php | 2 +- application/core/EA_Security.php | 2 +- application/helpers/asset_helper.php | 2 +- application/helpers/config_helper.php | 6 +- application/helpers/http_helper.php | 2 +- application/helpers/permission_helper.php | 4 +- application/helpers/session_helper.php | 2 +- application/helpers/setting_helper.php | 2 +- application/libraries/Availability.php | 6 +- application/libraries/Caldav_sync.php | 15 +- application/libraries/Captcha_builder.php | 5 +- application/libraries/Email_messages.php | 12 +- application/libraries/Google_sync.php | 10 + application/libraries/Ics_provider.php | 2 +- .../migrations/001_specific_calendar_sync.php | 4 +- .../002_add_google_analytics_setting.php | 4 +- ...003_add_customer_notifications_setting.php | 4 +- .../004_add_date_format_setting.php | 4 +- .../005_add_require_captcha_setting.php | 4 +- .../006_add_calendar_view_setting.php | 4 +- .../007_add_service_availabilities_type.php | 4 +- .../008_add_service_attendants_number.php | 4 +- .../migrations/009_change_column_types.php | 4 +- .../010_add_time_format_setting.php | 4 +- ...11_remove_prefix_from_fkey_constraints.php | 4 +- application/migrations/012_legal_contents.php | 4 +- .../013_add_weekday_start_setting.php | 4 +- ...014_create_appointment_location_column.php | 4 +- ...rking_plan_exceptions_to_user_settings.php | 4 +- .../016_add_require_phone_number_setting.php | 4 +- .../migrations/017_add_api_token_setting.php | 4 +- .../migrations/018_add_timezone_to_users.php | 4 +- .../019_add_display_any_provider_setting.php | 4 +- .../migrations/020_add_language_to_users.php | 4 +- .../021_modify_sync_period_columns.php | 4 +- .../022_add_booking_field_settings.php | 4 +- ...service_categories_table_to_categories.php | 4 +- ...ce_categories_column_of_services_table.php | 4 +- ...available_column_of_appointments_table.php | 4 +- ...026_add_color_column_to_services_table.php | 4 +- ...add_color_column_to_appointments_table.php | 4 +- .../028_add_matomo_analytics_url_setting.php | 4 +- ...ay_delete_personal_information_setting.php | 4 +- .../030_add_disable_booking_setting.php | 4 +- ...31_add_disable_booking_message_setting.php | 4 +- .../032_add_company_logo_setting.php | 4 +- .../033_add_company_color_setting.php | 4 +- .../034_add_display_login_button_setting.php | 4 +- ...dd_is_private_column_to_services_table.php | 4 +- ...6_add_is_private_column_to_users_table.php | 4 +- .../migrations/037_add_timestamp_columns.php | 4 +- .../migrations/038_add_theme_setting.php | 4 +- .../039_add_limit_customer_access_setting.php | 4 +- .../migrations/040_create_webhooks_table.php | 4 +- ...041_add_webhooks_column_to_roles_table.php | 4 +- .../042_add_future_booking_limit_setting.php | 4 +- ...add_appointment_status_options_setting.php | 4 +- ...dd_status_column_to_appointments_table.php | 4 +- ...delete_datetime_column_from_all_tables.php | 4 +- ...service_categories_table_to_categories.php | 4 +- ...ce_categories_column_of_services_table.php | 4 +- .../048_create_blocked_periods_table.php | 4 +- ..._blocked_periods_column_to_roles_table.php | 4 +- ...d_custom_fields_columns_to_users_table.php | 4 +- ...rt_custom_field_rows_to_settings_table.php | 4 +- ...2_add_matomo_analytics_site_id_setting.php | 4 +- .../053_add_default_language_setting.php | 4 +- .../054_add_default_timezone_setting.php | 4 +- ..._caldav_columns_to_user_settings_table.php | 4 +- ..._calendar_column_to_appointments_table.php | 4 +- .../057_add_ldap_rows_to_settings_table.php | 4 +- .../058_add_ldap_dn_column_to_users_table.php | 4 +- ...lendar_column_from_user_settings_table.php | 4 +- application/models/Admins_model.php | 14 +- application/models/Appointments_model.php | 19 +- application/models/Blocked_periods_model.php | 12 +- application/models/Consents_model.php | 10 +- application/models/Customers_model.php | 12 +- application/models/Providers_model.php | 16 +- application/models/Roles_model.php | 10 +- application/models/Secretaries_model.php | 14 +- .../models/Service_categories_model.php | 12 +- application/models/Services_model.php | 12 +- application/models/Settings_model.php | 12 +- application/models/Unavailabilities_model.php | 12 +- application/models/Users_model.php | 12 +- application/models/Webhooks_model.php | 12 +- composer.json | 2 +- composer.lock | 659 ++++++++++-------- index.php | 4 +- system/core/Common.php | 3 - system/core/Exceptions.php | 1 - system/database/DB_driver.php | 5 +- 121 files changed, 679 insertions(+), 599 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e3c6616..11f8418f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ developers to maintain and readjust their custom modifications on the main proje ## [Unreleased] +### Added + +- Add support for PHP 8.4 (#1640) + ### Fixed - Fix the date parsing issue on Safari web browsers during the booking process (#1584) @@ -12,6 +16,7 @@ developers to maintain and readjust their custom modifications on the main proje - Improve the CalDAV syncing mechanism so that it connects to more systems without problems (#1622) + ## [1.5.0] - 2024-07-07 ### Added diff --git a/application/config/config.php b/application/config/config.php index 9d608974..8a41a6d5 100644 --- a/application/config/config.php +++ b/application/config/config.php @@ -53,7 +53,7 @@ $config['index_page'] = 'index.php'; | URI string. The default setting of 'AUTO' works for most servers. | If your links do not seem to work, try one of the other delicious flavors: | -| 'AUTO' Default - auto detects +| 'AUTO' Default - auto-detects | 'PATH_INFO' Uses the PATH_INFO | 'QUERY_STRING' Uses the QUERY_STRING | 'REQUEST_URI' Uses the REQUEST_URI @@ -236,7 +236,7 @@ $config['subclass_prefix'] = 'EA_'; | characters they will get a warning message. | | As a security measure you are STRONGLY encouraged to restrict URLs to -| as few characters as possible. By default only these are allowed: a-z 0-9~%.:_- +| as few characters as possible. By default, only these are allowed: a-z 0-9~%.:_- | | Leave blank to allow all characters -- but only if you are insane. | @@ -465,7 +465,7 @@ $config['proxy_ips'] = ''; |-------------------------------------------------------------------------- | | Toggle the rate limiting feature in your application. Using rate limiting -| will control the number of requests a client can sent to the app. +| will control the number of requests a client can send to the app. | */ $config['rate_limiting'] = true; diff --git a/application/config/database.php b/application/config/database.php index 6cf6b0a6..14561592 100644 --- a/application/config/database.php +++ b/application/config/database.php @@ -35,7 +35,7 @@ | multi-byte character set and are running versions lower than these. | Sites using Latin-1 or UTF-8 database character set and collation are unaffected. | ['swap_pre'] A default table prefix that should be swapped with the dbprefix -| ['autoinit'] Whether or not to automatically initialize the database. +| ['autoinit'] Whether to automatically initialize the database. | ['stricton'] TRUE/FALSE - forces 'Strict Mode' connections | - good for ensuring strict SQL while developing | @@ -47,7 +47,7 @@ */ $active_group = 'default'; -$query_builder = TRUE; +$query_builder = true; $db['default']['hostname'] = Config::DB_HOST; $db['default']['username'] = Config::DB_USERNAME; @@ -55,15 +55,15 @@ $db['default']['password'] = Config::DB_PASSWORD; $db['default']['database'] = Config::DB_NAME; $db['default']['dbdriver'] = 'mysqli'; $db['default']['dbprefix'] = 'ea_'; -$db['default']['pconnect'] = TRUE; -$db['default']['db_debug'] = TRUE; -$db['default']['cache_on'] = FALSE; +$db['default']['pconnect'] = true; +$db['default']['db_debug'] = true; +$db['default']['cache_on'] = false; $db['default']['cachedir'] = ''; $db['default']['char_set'] = 'utf8mb4'; $db['default']['dbcollat'] = 'utf8mb4_unicode_ci'; $db['default']['swap_pre'] = ''; -$db['default']['autoinit'] = TRUE; -$db['default']['stricton'] = FALSE; +$db['default']['autoinit'] = true; +$db['default']['stricton'] = false; /* End of file database.php */ /* Location: ./application/config/database.php */ diff --git a/application/config/migration.php b/application/config/migration.php index 3df89b21..da9e5f03 100755 --- a/application/config/migration.php +++ b/application/config/migration.php @@ -9,7 +9,7 @@ | whenever you intend to do a schema migration. | */ -$config['migration_enabled'] = TRUE; +$config['migration_enabled'] = true; /* |-------------------------------------------------------------------------- @@ -28,9 +28,9 @@ $config['migration_version'] = 0; | Migrations Path |-------------------------------------------------------------------------- | -| Path to your migrations folder. +| Path to your "migrations" folder. | Typically, it will be within your application path. -| Also, writing permission is required within the migrations path. +| Also, writing permission is required within the "migrations" path. | */ $config['migration_path'] = APPPATH . 'migrations/'; diff --git a/application/controllers/Appointments.php b/application/controllers/Appointments.php index 0a31def1..b54b690a 100644 --- a/application/controllers/Appointments.php +++ b/application/controllers/Appointments.php @@ -63,7 +63,7 @@ class Appointments extends EA_Controller * * @deprecated Since 1.5 */ - public function index(string $appointment_hash = '') + public function index(string $appointment_hash = ''): void { redirect('booking/' . $appointment_hash); } diff --git a/application/controllers/Backend.php b/application/controllers/Backend.php index 2065b515..df3f68de 100755 --- a/application/controllers/Backend.php +++ b/application/controllers/Backend.php @@ -85,7 +85,7 @@ class Backend extends EA_Controller /** * Display settings page. * - * Notice: Since the "settings" page is split into multiple pages (general, business, booking etc), this method will + * Notice: Since the "settings" page is split into multiple pages (general, business, booking etc.), this method will * redirect to "general" page by default. */ public function settings(): void diff --git a/application/controllers/Booking.php b/application/controllers/Booking.php index 860c5aa0..27258294 100755 --- a/application/controllers/Booking.php +++ b/application/controllers/Booking.php @@ -551,7 +551,7 @@ class Booking extends EA_Controller * * @throws Exception */ - protected function search_any_provider(int $service_id, string $date, string $hour = null): ?int + protected function search_any_provider(int $service_id, string $date, ?string $hour = null): ?int { $available_providers = $this->providers_model->get_available_providers(true); diff --git a/application/controllers/Business_settings.php b/application/controllers/Business_settings.php index f9b30ca6..96b04592 100644 --- a/application/controllers/Business_settings.php +++ b/application/controllers/Business_settings.php @@ -124,7 +124,7 @@ class Business_settings extends EA_Controller /** * Apply global working plan to all providers. */ - public function apply_global_working_plan() + public function apply_global_working_plan(): void { try { if (cannot('edit', PRIV_SYSTEM_SETTINGS)) { diff --git a/application/controllers/Caldav.php b/application/controllers/Caldav.php index 6488902a..45610c55 100644 --- a/application/controllers/Caldav.php +++ b/application/controllers/Caldav.php @@ -12,6 +12,7 @@ * ---------------------------------------------------------------------------- */ use GuzzleHttp\Exception\GuzzleException; +use Jsvrcek\ICS\Exception\CalendarEventException; /** * Caldav controller. @@ -87,7 +88,7 @@ class Caldav extends EA_Controller * * @return void * - * @throws \Jsvrcek\ICS\Exception\CalendarEventException + * @throws CalendarEventException * @throws Exception * @throws Throwable */ diff --git a/application/controllers/Console.php b/application/controllers/Console.php index 91bb0da1..efa69549 100644 --- a/application/controllers/Console.php +++ b/application/controllers/Console.php @@ -11,6 +11,8 @@ * @since v1.3.2 * ---------------------------------------------------------------------------- */ +use Jsvrcek\ICS\Exception\CalendarEventException; + require_once __DIR__ . '/Google.php'; require_once __DIR__ . '/Caldav.php'; @@ -133,6 +135,10 @@ class Console extends EA_Controller * Usage: * * php index.php console sync + * + * @throws CalendarEventException + * @throws Exception + * @throws Throwable */ public function sync(): void { diff --git a/application/controllers/Google.php b/application/controllers/Google.php index 32f609af..f8991ef5 100644 --- a/application/controllers/Google.php +++ b/application/controllers/Google.php @@ -41,7 +41,7 @@ class Google extends EA_Controller * needs to be relatively small, because a lot of API calls might be necessary and this will lead to consuming the * Google limit for the Calendar API usage. */ - public static function sync(string $provider_id = null): void + public static function sync(?string $provider_id = null): void { try { /** @var EA_Controller $CI */ diff --git a/application/controllers/Installation.php b/application/controllers/Installation.php index bc4e43c7..d0388913 100644 --- a/application/controllers/Installation.php +++ b/application/controllers/Installation.php @@ -54,7 +54,7 @@ class Installation extends EA_Controller /** * Installs Easy!Appointments on the server. */ - public function perform() + public function perform(): void { try { if (is_app_installed()) { diff --git a/application/controllers/Recovery.php b/application/controllers/Recovery.php index dc257315..48c2dd25 100644 --- a/application/controllers/Recovery.php +++ b/application/controllers/Recovery.php @@ -50,7 +50,7 @@ class Recovery extends EA_Controller /** * Recover the user password and notify the user via email. */ - public function perform() + public function perform(): void { try { $username = request('username'); diff --git a/application/controllers/Test.php b/application/controllers/Test.php index b0744429..078579ec 100644 --- a/application/controllers/Test.php +++ b/application/controllers/Test.php @@ -12,7 +12,7 @@ * ---------------------------------------------------------------------------- */ /* - * This file can only be used in a testing environment and only from the termninal. + * This file can only be used in a testing environment and only from the terminal. */ if (ENVIRONMENT !== 'testing' || !is_cli()) { diff --git a/application/controllers/User.php b/application/controllers/User.php index a71df12c..872385af 100644 --- a/application/controllers/User.php +++ b/application/controllers/User.php @@ -44,7 +44,7 @@ class User extends EA_Controller * * @deprecated Since 1.5 Use the Login controller instead. */ - public function login() + public function login(): void { redirect('login'); } @@ -54,7 +54,7 @@ class User extends EA_Controller * * @deprecated Since 1.5 Use the Logout controller instead. */ - public function logout() + public function logout(): void { redirect('logout'); } @@ -64,7 +64,7 @@ class User extends EA_Controller * * @deprecated Since 1.5 Use the Logout controller instead. */ - public function forgot_password() + public function forgot_password(): void { redirect('recovery'); } diff --git a/application/controllers/api/index.html b/application/controllers/api/index.html index 423d9d58..221ac80d 100644 --- a/application/controllers/api/index.html +++ b/application/controllers/api/index.html @@ -1,4 +1,4 @@ - + 403 Forbidden diff --git a/application/controllers/api/v1/Admins_api_v1.php b/application/controllers/api/v1/Admins_api_v1.php index 6faa6584..af47919d 100644 --- a/application/controllers/api/v1/Admins_api_v1.php +++ b/application/controllers/api/v1/Admins_api_v1.php @@ -79,7 +79,7 @@ class Admins_api_v1 extends EA_Controller * * @param int|null $id Admin ID. */ - public function show(int $id = null): void + public function show(?int $id = null): void { try { $occurrences = $this->admins_model->get(['id' => $id]); diff --git a/application/controllers/api/v1/Appointments_api_v1.php b/application/controllers/api/v1/Appointments_api_v1.php index d3914e8d..1bd744f9 100644 --- a/application/controllers/api/v1/Appointments_api_v1.php +++ b/application/controllers/api/v1/Appointments_api_v1.php @@ -65,7 +65,7 @@ class Appointments_api_v1 extends EA_Controller $date = request('date'); if (!empty($date)) { - $where['DATE(start_datetime)'] = (new DateTime($date))->format('Y-m-d'); + $where['DATE(start_datetime)'] = new DateTime($date)->format('Y-m-d'); } // From query param. @@ -73,7 +73,7 @@ class Appointments_api_v1 extends EA_Controller $from = request('from'); if (!empty($from)) { - $where['DATE(start_datetime) >='] = (new DateTime($from))->format('Y-m-d'); + $where['DATE(start_datetime) >='] = new DateTime($from)->format('Y-m-d'); } // Till query param. @@ -81,7 +81,7 @@ class Appointments_api_v1 extends EA_Controller $till = request('till'); if (!empty($till)) { - $where['DATE(end_datetime) <='] = (new DateTime($till))->format('Y-m-d'); + $where['DATE(end_datetime) <='] = new DateTime($till)->format('Y-m-d'); } // Service ID query param. @@ -150,15 +150,12 @@ class Appointments_api_v1 extends EA_Controller if ($aggregates) { $appointment['service'] = $this->services_model->find( $appointment['id_services'] ?? ($appointment['serviceId'] ?? null), - true, ); $appointment['provider'] = $this->providers_model->find( $appointment['id_users_provider'] ?? ($appointment['providerId'] ?? null), - true, ); $appointment['customer'] = $this->customers_model->find( $appointment['id_users_customer'] ?? ($appointment['customerId'] ?? null), - true, ); $this->services_model->api_encode($appointment['service']); $this->providers_model->api_encode($appointment['provider']); @@ -171,7 +168,7 @@ class Appointments_api_v1 extends EA_Controller * * @param int|null $id Appointment ID. */ - public function show(int $id = null): void + public function show(?int $id = null): void { try { $occurrences = $this->appointments_model->get(['id' => $id]); @@ -262,15 +259,15 @@ class Appointments_api_v1 extends EA_Controller * @param array $appointment Appointment data. * @param string $action Performed action ("store" or "update"). */ - private function notify_and_sync_appointment(array $appointment, string $action = 'store') + private function notify_and_sync_appointment(array $appointment, string $action = 'store'): void { $manage_mode = $action === 'update'; - $service = $this->services_model->find($appointment['id_services'], true); + $service = $this->services_model->find($appointment['id_services']); - $provider = $this->providers_model->find($appointment['id_users_provider'], true); + $provider = $this->providers_model->find($appointment['id_users_provider']); - $customer = $this->customers_model->find($appointment['id_users_customer'], true); + $customer = $this->customers_model->find($appointment['id_users_customer']); $settings = [ 'company_name' => setting('company_name'), @@ -346,11 +343,11 @@ class Appointments_api_v1 extends EA_Controller $deleted_appointment = $occurrences[0]; - $service = $this->services_model->find($deleted_appointment['id_services'], true); + $service = $this->services_model->find($deleted_appointment['id_services']); - $provider = $this->providers_model->find($deleted_appointment['id_users_provider'], true); + $provider = $this->providers_model->find($deleted_appointment['id_users_provider']); - $customer = $this->customers_model->find($deleted_appointment['id_users_customer'], true); + $customer = $this->customers_model->find($deleted_appointment['id_users_customer']); $settings = [ 'company_name' => setting('company_name'), diff --git a/application/controllers/api/v1/Customers_api_v1.php b/application/controllers/api/v1/Customers_api_v1.php index 9141776d..7139443f 100644 --- a/application/controllers/api/v1/Customers_api_v1.php +++ b/application/controllers/api/v1/Customers_api_v1.php @@ -77,7 +77,7 @@ class Customers_api_v1 extends EA_Controller * * @param int|null $id Customer ID. */ - public function show(int $id = null): void + public function show(?int $id = null): void { try { $occurrences = $this->customers_model->get(['id' => $id]); diff --git a/application/controllers/api/v1/Providers_api_v1.php b/application/controllers/api/v1/Providers_api_v1.php index 8ec095eb..34dbe7e0 100644 --- a/application/controllers/api/v1/Providers_api_v1.php +++ b/application/controllers/api/v1/Providers_api_v1.php @@ -77,7 +77,7 @@ class Providers_api_v1 extends EA_Controller * * @param int|null $id Provider ID. */ - public function show(int $id = null): void + public function show(?int $id = null): void { try { $occurrences = $this->providers_model->get(['id' => $id]); diff --git a/application/controllers/api/v1/Secretaries_api_v1.php b/application/controllers/api/v1/Secretaries_api_v1.php index fec32f32..51cc2ad8 100644 --- a/application/controllers/api/v1/Secretaries_api_v1.php +++ b/application/controllers/api/v1/Secretaries_api_v1.php @@ -77,7 +77,7 @@ class Secretaries_api_v1 extends EA_Controller * * @param int|null $id Secretary ID. */ - public function show(int $id = null): void + public function show(?int $id = null): void { try { $occurrences = $this->secretaries_model->get(['id' => $id]); diff --git a/application/controllers/api/v1/Service_categories_api_v1.php b/application/controllers/api/v1/Service_categories_api_v1.php index 7a1d2dec..c7b3f56f 100644 --- a/application/controllers/api/v1/Service_categories_api_v1.php +++ b/application/controllers/api/v1/Service_categories_api_v1.php @@ -77,7 +77,7 @@ class Service_categories_api_v1 extends EA_Controller * * @param int|null $id Service-category ID. */ - public function show(int $id = null): void + public function show(?int $id = null): void { try { $occurrences = $this->service_categories_model->get(['id' => $id]); diff --git a/application/controllers/api/v1/Services_api_v1.php b/application/controllers/api/v1/Services_api_v1.php index 397550da..41ed528f 100644 --- a/application/controllers/api/v1/Services_api_v1.php +++ b/application/controllers/api/v1/Services_api_v1.php @@ -33,7 +33,7 @@ class Services_api_v1 extends EA_Controller } /** - * Get an service collection. + * Get a service collection. */ public function index(): void { @@ -77,7 +77,7 @@ class Services_api_v1 extends EA_Controller * * @param int|null $id Service ID. */ - public function show(int $id = null): void + public function show(?int $id = null): void { try { $occurrences = $this->services_model->get(['id' => $id]); @@ -137,7 +137,7 @@ class Services_api_v1 extends EA_Controller } /** - * Update an service. + * Update a service. * * @param int $id Service ID. */ @@ -171,7 +171,7 @@ class Services_api_v1 extends EA_Controller } /** - * Delete an service. + * Delete a service. * * @param int $id Service ID. */ diff --git a/application/controllers/api/v1/Unavailabilities_api_v1.php b/application/controllers/api/v1/Unavailabilities_api_v1.php index 016c1964..251a3e55 100644 --- a/application/controllers/api/v1/Unavailabilities_api_v1.php +++ b/application/controllers/api/v1/Unavailabilities_api_v1.php @@ -77,7 +77,7 @@ class Unavailabilities_api_v1 extends EA_Controller * * @param int|null $id Unavailability ID. */ - public function show(int $id = null): void + public function show(?int $id = null): void { try { $occurrences = $this->unavailabilities_model->get(['id' => $id]); diff --git a/application/controllers/api/v1/Webhooks_api_v1.php b/application/controllers/api/v1/Webhooks_api_v1.php index 75e71032..5c132f56 100644 --- a/application/controllers/api/v1/Webhooks_api_v1.php +++ b/application/controllers/api/v1/Webhooks_api_v1.php @@ -77,7 +77,7 @@ class Webhooks_api_v1 extends EA_Controller * * @param int|null $id Webhook ID. */ - public function show(int $id = null): void + public function show(?int $id = null): void { try { $occurrences = $this->webhooks_model->get(['id' => $id]); diff --git a/application/controllers/api/v1/index.html b/application/controllers/api/v1/index.html index 423d9d58..221ac80d 100644 --- a/application/controllers/api/v1/index.html +++ b/application/controllers/api/v1/index.html @@ -1,4 +1,4 @@ - + 403 Forbidden diff --git a/application/controllers/index.html b/application/controllers/index.html index 423d9d58..221ac80d 100644 --- a/application/controllers/index.html +++ b/application/controllers/index.html @@ -1,4 +1,4 @@ - + 403 Forbidden diff --git a/application/core/EA_Input.php b/application/core/EA_Input.php index 809816e5..bb35089a 100644 --- a/application/core/EA_Input.php +++ b/application/core/EA_Input.php @@ -51,7 +51,7 @@ class EA_Input extends CI_Input * * @return mixed */ - public function json(string $index = null, bool $xss_clean = false): mixed + public function json(?string $index = null, bool $xss_clean = false): mixed { /** @var EA_Controller $CI */ $CI = &get_instance(); diff --git a/application/core/EA_Model.php b/application/core/EA_Model.php index 7fbfc73a..0d571a61 100644 --- a/application/core/EA_Model.php +++ b/application/core/EA_Model.php @@ -105,7 +105,7 @@ class EA_Model extends CI_Model * * @return array Returns an array of records. */ - public function get_batch($where = null, int $limit = null, int $offset = null, string $order_by = null): array + public function get_batch($where = null, ?int $limit = null, ?int $offset = null, ?string $order_by = null): array { return $this->get($where, $limit, $offset, $order_by); } diff --git a/application/core/EA_Security.php b/application/core/EA_Security.php index 6a360912..0b2f94a8 100644 --- a/application/core/EA_Security.php +++ b/application/core/EA_Security.php @@ -72,7 +72,7 @@ class EA_Security extends CI_Security is_string($_COOKIE[$this->_csrf_cookie_name]) && hash_equals($csrf_token, $_COOKIE[$this->_csrf_cookie_name]); - // We kill this since we're done and we don't want to pollute the _POST array + // We kill this since we're done, and we don't want to pollute the _POST array unset($_POST[$this->_csrf_token_name]); // Regenerate on every submission? diff --git a/application/helpers/asset_helper.php b/application/helpers/asset_helper.php index a77fb2a9..c94fca3c 100644 --- a/application/helpers/asset_helper.php +++ b/application/helpers/asset_helper.php @@ -22,7 +22,7 @@ * * @return string Returns the final asset URL. */ -function asset_url(string $uri = '', string $protocol = null): string +function asset_url(string $uri = '', ?string $protocol = null): string { $debug = config('debug'); diff --git a/application/helpers/config_helper.php b/application/helpers/config_helper.php index be930c30..6a7fd03a 100644 --- a/application/helpers/config_helper.php +++ b/application/helpers/config_helper.php @@ -74,7 +74,7 @@ if (!function_exists('script_vars')) { * * @throws InvalidArgumentException */ - function script_vars(array|string $key = null, mixed $default = null): mixed + function script_vars(array|string|null $key = null, mixed $default = null): mixed { $script_vars = config('script_vars', []); @@ -119,7 +119,7 @@ if (!function_exists('html_vars')) { * * @throws InvalidArgumentException */ - function html_vars(array|string $key = null, mixed $default = null): mixed + function html_vars(array|string|null $key = null, mixed $default = null): mixed { $html_vars = config('html_vars', []); @@ -164,7 +164,7 @@ if (!function_exists('vars')) { * * @throws InvalidArgumentException */ - function vars(array|string $key = null, mixed $default = null): mixed + function vars(array|string|null $key = null, mixed $default = null): mixed { return html_vars($key) ?? (script_vars($key) ?? $default); } diff --git a/application/helpers/http_helper.php b/application/helpers/http_helper.php index 7e81bd48..48436585 100644 --- a/application/helpers/http_helper.php +++ b/application/helpers/http_helper.php @@ -26,7 +26,7 @@ if (!function_exists('request')) { * * @throws InvalidArgumentException */ - function request(string $key = null, $default = null): mixed + function request(?string $key = null, $default = null): mixed { /** @var EA_Controller $CI */ $CI = &get_instance(); diff --git a/application/helpers/permission_helper.php b/application/helpers/permission_helper.php index 11a95406..45d47908 100644 --- a/application/helpers/permission_helper.php +++ b/application/helpers/permission_helper.php @@ -25,7 +25,7 @@ if (!function_exists('can')) { * * @return bool */ - function can(string $action, string $resource, int $user_id = null): bool + function can(string $action, string $resource, ?int $user_id = null): bool { /** @var EA_Controller $CI */ $CI = &get_instance(); @@ -65,7 +65,7 @@ if (!function_exists('cannot')) { * * @return bool */ - function cannot(string $action, string $resource, int $user_id = null): bool + function cannot(string $action, string $resource, ?int $user_id = null): bool { return !can($action, $resource, $user_id); } diff --git a/application/helpers/session_helper.php b/application/helpers/session_helper.php index 79f3f37b..f8f14214 100644 --- a/application/helpers/session_helper.php +++ b/application/helpers/session_helper.php @@ -32,7 +32,7 @@ if (!function_exists('session')) { * * @throws InvalidArgumentException */ - function session(array|string $key = null, mixed $default = null): mixed + function session(array|string|null $key = null, mixed $default = null): mixed { /** @var EA_Controller $CI */ $CI = &get_instance(); diff --git a/application/helpers/setting_helper.php b/application/helpers/setting_helper.php index 607c74d5..fdc8dbc2 100644 --- a/application/helpers/setting_helper.php +++ b/application/helpers/setting_helper.php @@ -32,7 +32,7 @@ if (!function_exists('setting')) { * * @throws InvalidArgumentException */ - function setting(array|string $key = null, mixed $default = null): mixed + function setting(array|string|null $key = null, mixed $default = null): mixed { /** @var EA_Controller $CI */ $CI = &get_instance(); diff --git a/application/libraries/Availability.php b/application/libraries/Availability.php index f3e22349..c46df5df 100644 --- a/application/libraries/Availability.php +++ b/application/libraries/Availability.php @@ -60,7 +60,7 @@ class Availability string $date, array $service, array $provider, - int $exclude_appointment_id = null, + ?int $exclude_appointment_id = null, ): array { if ($this->CI->blocked_periods_model->is_entire_date_blocked($date)) { return []; @@ -97,7 +97,7 @@ class Availability string $date, array $service, array $provider, - int $exclude_appointment_id = null, + ?int $exclude_appointment_id = null, ): array { $unavailability_events = $this->CI->unavailabilities_model->get([ 'is_unavailability' => true, @@ -330,7 +330,7 @@ class Availability * * @throws Exception */ - public function get_available_periods(string $date, array $provider, int $exclude_appointment_id = null): array + public function get_available_periods(string $date, array $provider, ?int $exclude_appointment_id = null): array { // Get the service, provider's working plan and provider appointments. $working_plan = json_decode($provider['settings']['working_plan'], true); diff --git a/application/libraries/Caldav_sync.php b/application/libraries/Caldav_sync.php index 309abeb3..e2c2f5ee 100644 --- a/application/libraries/Caldav_sync.php +++ b/application/libraries/Caldav_sync.php @@ -86,7 +86,7 @@ class Caldav_sync return $caldav_event_id; } catch (GuzzleException $e) { - $this->handle_guzzle_exception($e, 'Failed to save CalDAV event'); + $this->handle_guzzle_exception($e, 'Failed to save CalDAV appointment event'); return null; } } @@ -126,7 +126,7 @@ class Caldav_sync return $caldav_event_id; } catch (GuzzleException $e) { - $this->handle_guzzle_exception($e, 'Failed to save CalDAV event'); + $this->handle_guzzle_exception($e, 'Failed to save CalDAV unavailability event'); return null; } } @@ -146,7 +146,7 @@ class Caldav_sync $client->request('DELETE', $uri); } catch (GuzzleException $e) { - $this->handle_guzzle_exception($e, 'Failed to save CalDAV event'); + $this->handle_guzzle_exception($e, 'Failed to delete CalDAV event'); } } @@ -176,7 +176,7 @@ class Caldav_sync return $this->convert_caldav_event_to_array_event($vcalendar->VEVENT, $provider_timezone_object); } catch (GuzzleException $e) { - $this->handle_guzzle_exception($e, 'Failed to save CalDAV event'); + $this->handle_guzzle_exception($e, 'Failed to get CalDAV event'); return null; } } @@ -219,7 +219,7 @@ class Caldav_sync $provider_timezone_object, ); } catch (GuzzleException $e) { - $this->handle_guzzle_exception($e, 'Failed to save CalDAV event'); + $this->handle_guzzle_exception($e, 'Failed to get CalDAV sync events'); return []; } } @@ -397,11 +397,14 @@ class Caldav_sync $this->fetch_events($client, $start_date_time, $end_date_time); } catch (GuzzleException $e) { - $this->handle_guzzle_exception($e, 'Failed to save CalDAV event'); + $this->handle_guzzle_exception($e, 'Failed to test CalDAV connection'); throw $e; } } + /** + * @throws GuzzleException + */ private function get_http_client_by_provider_id(int $provider_id): Client { $provider = $this->CI->providers_model->find($provider_id); diff --git a/application/libraries/Captcha_builder.php b/application/libraries/Captcha_builder.php index ce61b9d0..c7856b1b 100644 --- a/application/libraries/Captcha_builder.php +++ b/application/libraries/Captcha_builder.php @@ -106,7 +106,7 @@ class Captcha_builder */ protected $allowedBackgroundImageTypes = ['image/png', 'image/jpeg', 'image/gif']; - public function __construct($phrase = null, PhraseBuilderInterface $builder = null) + public function __construct($phrase = null, ?PhraseBuilderInterface $builder = null) { if ($builder === null) { $this->builder = new PhraseBuilder(); @@ -119,6 +119,7 @@ class Captcha_builder /** * Generate the image + * @throws Exception */ public function build($width = 150, $height = 40, $font = null, $fingerprint = null) { @@ -135,6 +136,8 @@ class Captcha_builder __DIR__ . '/../../vendor/gregwar/captcha/src/Gregwar/Captcha/Font/captcha' . $this->rand(0, 5) . '.ttf'; } + $bg = null; + if (empty($this->backgroundImages)) { // if background images list is not set, use a color fill as a background $image = imagecreatetruecolor($width, $height); diff --git a/application/libraries/Email_messages.php b/application/libraries/Email_messages.php index 47ae7cb7..00c06e4a 100644 --- a/application/libraries/Email_messages.php +++ b/application/libraries/Email_messages.php @@ -78,7 +78,7 @@ class Email_messages string $appointment_link, string $recipient_email, string $ics_stream, - string $timezone = null, + ?string $timezone = null, ): void { $appointment_timezone = new DateTimeZone($provider['timezone']); @@ -142,8 +142,8 @@ class Email_messages array $customer, array $settings, string $recipient_email, - string $reason = null, - string $timezone = null, + ?string $reason = null, + ?string $timezone = null, ): void { $appointment_timezone = new DateTimeZone($provider['timezone']); @@ -222,9 +222,9 @@ class Email_messages * @throws Exception */ private function get_php_mailer( - string $recipient_email = null, - string $subject = null, - string $html = null, + ?string $recipient_email = null, + ?string $subject = null, + ?string $html = null, ): PHPMailer { $php_mailer = new PHPMailer(true); diff --git a/application/libraries/Google_sync.php b/application/libraries/Google_sync.php index 0bac963f..60a9e40f 100644 --- a/application/libraries/Google_sync.php +++ b/application/libraries/Google_sync.php @@ -258,6 +258,8 @@ class Google_sync * * @param array $provider Provider data. * @param string $google_event_id The Google Calendar event ID to be removed. + * + * @throws \Google\Service\Exception */ public function delete_appointment(array $provider, string $google_event_id): void { @@ -340,6 +342,8 @@ class Google_sync * * @param array $provider Provider data. * @param string $google_event_id Google Calendar event ID to be removed. + * + * @throws \Google\Service\Exception */ public function delete_unavailability(array $provider, string $google_event_id): void { @@ -353,6 +357,8 @@ class Google_sync * @param string $google_event_id Google Calendar event ID. * * @return Event Returns the Google Calendar event. + * + * @throws \Google\Service\Exception */ public function get_event(array $provider, string $google_event_id): Event { @@ -367,6 +373,8 @@ class Google_sync * @param string $end The end date of sync period. * * @return Events Returns a collection of events. + * + * @throws \Google\Service\Exception */ public function get_sync_events(string $google_calendar, string $start, string $end): Events { @@ -386,6 +394,8 @@ class Google_sync * Google Calendar account. * * @return array Returns an array with the available calendars. + * + * @throws \Google\Service\Exception */ public function get_google_calendars(): array { diff --git a/application/libraries/Ics_provider.php b/application/libraries/Ics_provider.php index 5675d28e..ec4af767 100644 --- a/application/libraries/Ics_provider.php +++ b/application/libraries/Ics_provider.php @@ -49,7 +49,7 @@ class Ics_provider implements Iterator * array key value will be passed as an argument. The closure should return an array containing the next * batch of items. */ - public function __construct(Closure $provider = null) + public function __construct(?Closure $provider = null) { $this->provider = $provider; } diff --git a/application/migrations/001_specific_calendar_sync.php b/application/migrations/001_specific_calendar_sync.php index 9b29f20e..7ce0ae58 100644 --- a/application/migrations/001_specific_calendar_sync.php +++ b/application/migrations/001_specific_calendar_sync.php @@ -21,7 +21,7 @@ class Migration_Specific_calendar_sync extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { $this->dbforge->add_field([ 'id' => [ @@ -543,7 +543,7 @@ class Migration_Specific_calendar_sync extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { $this->db->query( 'ALTER TABLE `' . diff --git a/application/migrations/002_add_google_analytics_setting.php b/application/migrations/002_add_google_analytics_setting.php index f7e30263..a666663c 100644 --- a/application/migrations/002_add_google_analytics_setting.php +++ b/application/migrations/002_add_google_analytics_setting.php @@ -18,7 +18,7 @@ class Migration_Add_google_analytics_setting extends EA_Migration * * @throws Exception */ - public function up() + public function up(): void { if (!$this->db->get_where('settings', ['name' => 'google_analytics_code'])->num_rows()) { $this->db->insert('settings', [ @@ -33,7 +33,7 @@ class Migration_Add_google_analytics_setting extends EA_Migration * * @throws Exception */ - public function down() + public function down(): void { if ($this->db->get_where('settings', ['name' => 'google_analytics_code'])->num_rows()) { $this->db->delete('settings', ['name' => 'google_analytics_code']); diff --git a/application/migrations/003_add_customer_notifications_setting.php b/application/migrations/003_add_customer_notifications_setting.php index 149fd99f..c2e31429 100644 --- a/application/migrations/003_add_customer_notifications_setting.php +++ b/application/migrations/003_add_customer_notifications_setting.php @@ -18,7 +18,7 @@ class Migration_Add_customer_notifications_setting extends EA_Migration * * @throws Exception */ - public function up() + public function up(): void { if (!$this->db->get_where('settings', ['name' => 'customer_notifications'])->num_rows()) { $this->db->insert('settings', [ @@ -33,7 +33,7 @@ class Migration_Add_customer_notifications_setting extends EA_Migration * * @throws Exception */ - public function down() + public function down(): void { if ($this->db->get_where('settings', ['name' => 'customer_notifications'])->num_rows()) { $this->db->delete('settings', ['name' => 'customer_notifications']); diff --git a/application/migrations/004_add_date_format_setting.php b/application/migrations/004_add_date_format_setting.php index 44a8b17f..d2942e66 100644 --- a/application/migrations/004_add_date_format_setting.php +++ b/application/migrations/004_add_date_format_setting.php @@ -18,7 +18,7 @@ class Migration_Add_date_format_setting extends EA_Migration * * @throws Exception */ - public function up() + public function up(): void { if (!$this->db->get_where('settings', ['name' => 'date_format'])->num_rows()) { $this->db->insert('settings', [ @@ -33,7 +33,7 @@ class Migration_Add_date_format_setting extends EA_Migration * * @throws Exception */ - public function down() + public function down(): void { if ($this->db->get_where('settings', ['name' => 'date_format'])->num_rows()) { $this->db->delete('settings', ['name' => 'date_format']); diff --git a/application/migrations/005_add_require_captcha_setting.php b/application/migrations/005_add_require_captcha_setting.php index a8f4355f..4eb24008 100644 --- a/application/migrations/005_add_require_captcha_setting.php +++ b/application/migrations/005_add_require_captcha_setting.php @@ -18,7 +18,7 @@ class Migration_Add_require_captcha_setting extends EA_Migration * * @throws Exception */ - public function up() + public function up(): void { if (!$this->db->get_where('settings', ['name' => 'require_captcha'])->num_rows()) { $this->db->insert('settings', [ @@ -33,7 +33,7 @@ class Migration_Add_require_captcha_setting extends EA_Migration * * @throws Exception */ - public function down() + public function down(): void { if ($this->db->get_where('settings', ['name' => 'require_captcha'])->num_rows()) { $this->db->delete('settings', ['name' => 'require_captcha']); diff --git a/application/migrations/006_add_calendar_view_setting.php b/application/migrations/006_add_calendar_view_setting.php index 848ac74c..8c3264e4 100644 --- a/application/migrations/006_add_calendar_view_setting.php +++ b/application/migrations/006_add_calendar_view_setting.php @@ -16,7 +16,7 @@ class Migration_Add_calendar_view_setting extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->field_exists('calendar_view', 'user_settings')) { $fields = [ @@ -36,7 +36,7 @@ class Migration_Add_calendar_view_setting extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->field_exists('calendar_view', 'user_settings')) { $this->dbforge->drop_column('user_settings', 'calendar_view'); diff --git a/application/migrations/007_add_service_availabilities_type.php b/application/migrations/007_add_service_availabilities_type.php index 33e21e8e..f88ac773 100644 --- a/application/migrations/007_add_service_availabilities_type.php +++ b/application/migrations/007_add_service_availabilities_type.php @@ -16,7 +16,7 @@ class Migration_Add_service_availabilities_type extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->field_exists('availabilities_type', 'services')) { $fields = [ @@ -37,7 +37,7 @@ class Migration_Add_service_availabilities_type extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->field_exists('availabilities_type', 'services')) { $this->dbforge->drop_column('services', 'availabilities_type'); diff --git a/application/migrations/008_add_service_attendants_number.php b/application/migrations/008_add_service_attendants_number.php index 21aca2c4..7b9b0e98 100644 --- a/application/migrations/008_add_service_attendants_number.php +++ b/application/migrations/008_add_service_attendants_number.php @@ -16,7 +16,7 @@ class Migration_Add_service_attendants_number extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->field_exists('attendants_number', 'services')) { $fields = [ @@ -35,7 +35,7 @@ class Migration_Add_service_attendants_number extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->field_exists('attendants_number', 'services')) { $this->dbforge->drop_column('services', 'attendants_number'); diff --git a/application/migrations/009_change_column_types.php b/application/migrations/009_change_column_types.php index 3c803c12..e0e672db 100644 --- a/application/migrations/009_change_column_types.php +++ b/application/migrations/009_change_column_types.php @@ -16,7 +16,7 @@ class Migration_Change_column_types extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { // Drop table constraints. $this->db->query( @@ -356,7 +356,7 @@ class Migration_Change_column_types extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { // Drop table constraints. $this->db->query( diff --git a/application/migrations/010_add_time_format_setting.php b/application/migrations/010_add_time_format_setting.php index 59413ed1..72289e94 100644 --- a/application/migrations/010_add_time_format_setting.php +++ b/application/migrations/010_add_time_format_setting.php @@ -16,7 +16,7 @@ class Migration_Add_time_format_setting extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->get_where('settings', ['name' => 'time_format'])->num_rows()) { $this->db->insert('settings', [ @@ -29,7 +29,7 @@ class Migration_Add_time_format_setting extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->get_where('settings', ['name' => 'time_format'])->num_rows()) { $this->db->delete('settings', ['name' => 'time_format']); diff --git a/application/migrations/011_remove_prefix_from_fkey_constraints.php b/application/migrations/011_remove_prefix_from_fkey_constraints.php index 4c8d3a36..ab8e0dbe 100644 --- a/application/migrations/011_remove_prefix_from_fkey_constraints.php +++ b/application/migrations/011_remove_prefix_from_fkey_constraints.php @@ -16,7 +16,7 @@ class Migration_Remove_prefix_from_fkey_constraints extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { // Drop table constraints. $this->db->query( @@ -181,7 +181,7 @@ class Migration_Remove_prefix_from_fkey_constraints extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { // Drop table constraints. $this->db->query( diff --git a/application/migrations/012_legal_contents.php b/application/migrations/012_legal_contents.php index 7f8da9cf..561be1a1 100644 --- a/application/migrations/012_legal_contents.php +++ b/application/migrations/012_legal_contents.php @@ -16,7 +16,7 @@ class Migration_Legal_contents extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->get_where('settings', ['name' => 'display_cookie_notice'])->num_rows()) { $this->db->insert('settings', [ @@ -111,7 +111,7 @@ class Migration_Legal_contents extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->get_where('settings', ['name' => 'display_cookie_notice'])->num_rows()) { $this->db->delete('settings', [ diff --git a/application/migrations/013_add_weekday_start_setting.php b/application/migrations/013_add_weekday_start_setting.php index 1f6f083f..4cd2b410 100644 --- a/application/migrations/013_add_weekday_start_setting.php +++ b/application/migrations/013_add_weekday_start_setting.php @@ -16,7 +16,7 @@ class Migration_Add_weekday_start_setting extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->get_where('settings', ['name' => 'first_weekday'])->num_rows()) { $this->db->insert('settings', [ @@ -29,7 +29,7 @@ class Migration_Add_weekday_start_setting extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->get_where('settings', ['name' => 'first_weekday'])->num_rows()) { $this->db->delete('settings', ['name' => 'first_weekday']); diff --git a/application/migrations/014_create_appointment_location_column.php b/application/migrations/014_create_appointment_location_column.php index 4ac6a485..a1bc49c7 100644 --- a/application/migrations/014_create_appointment_location_column.php +++ b/application/migrations/014_create_appointment_location_column.php @@ -16,7 +16,7 @@ class Migration_Create_appointment_location_column extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->field_exists('location', 'appointments')) { $fields = [ @@ -46,7 +46,7 @@ class Migration_Create_appointment_location_column extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->field_exists('location', 'appointments')) { $this->dbforge->drop_column('appointments', 'location'); diff --git a/application/migrations/015_add_working_plan_exceptions_to_user_settings.php b/application/migrations/015_add_working_plan_exceptions_to_user_settings.php index d98abee7..c3079667 100644 --- a/application/migrations/015_add_working_plan_exceptions_to_user_settings.php +++ b/application/migrations/015_add_working_plan_exceptions_to_user_settings.php @@ -16,7 +16,7 @@ class Migration_Add_working_plan_exceptions_to_user_settings extends EA_Migratio /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->field_exists('working_plan_exceptions', 'user_settings')) { $fields = [ @@ -34,7 +34,7 @@ class Migration_Add_working_plan_exceptions_to_user_settings extends EA_Migratio /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->field_exists('working_plan_exceptions', 'user_settings')) { $this->dbforge->drop_column('user_settings', 'working_plan_exceptions'); diff --git a/application/migrations/016_add_require_phone_number_setting.php b/application/migrations/016_add_require_phone_number_setting.php index e65c2058..fdf35ec3 100644 --- a/application/migrations/016_add_require_phone_number_setting.php +++ b/application/migrations/016_add_require_phone_number_setting.php @@ -16,7 +16,7 @@ class Migration_Add_require_phone_number_setting extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->get_where('settings', ['name' => 'require_phone_number'])->num_rows()) { $this->db->insert('settings', [ @@ -29,7 +29,7 @@ class Migration_Add_require_phone_number_setting extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->get_where('settings', ['name' => 'require_phone_number'])->num_rows()) { $this->db->delete('settings', ['name' => 'require_phone_number']); diff --git a/application/migrations/017_add_api_token_setting.php b/application/migrations/017_add_api_token_setting.php index 5127b857..371b1c0e 100644 --- a/application/migrations/017_add_api_token_setting.php +++ b/application/migrations/017_add_api_token_setting.php @@ -18,7 +18,7 @@ class Migration_Add_api_token_setting extends EA_Migration * * @throws Exception */ - public function up() + public function up(): void { if (!$this->db->get_where('settings', ['name' => 'api_token'])->num_rows()) { $this->db->insert('settings', [ @@ -33,7 +33,7 @@ class Migration_Add_api_token_setting extends EA_Migration * * @throws Exception */ - public function down() + public function down(): void { if ($this->db->get_where('settings', ['name' => 'api_token'])->num_rows()) { $this->db->delete('settings', ['name' => 'api_token']); diff --git a/application/migrations/018_add_timezone_to_users.php b/application/migrations/018_add_timezone_to_users.php index ba978370..76dcbcb3 100644 --- a/application/migrations/018_add_timezone_to_users.php +++ b/application/migrations/018_add_timezone_to_users.php @@ -16,7 +16,7 @@ class Migration_Add_timezone_to_users extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->field_exists('timezone', 'users')) { $fields = [ @@ -35,7 +35,7 @@ class Migration_Add_timezone_to_users extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { $this->dbforge->drop_column('users', 'timezone'); } diff --git a/application/migrations/019_add_display_any_provider_setting.php b/application/migrations/019_add_display_any_provider_setting.php index a9622343..234ea998 100644 --- a/application/migrations/019_add_display_any_provider_setting.php +++ b/application/migrations/019_add_display_any_provider_setting.php @@ -16,7 +16,7 @@ class Migration_Add_display_any_provider_setting extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->get_where('settings', ['name' => 'display_any_provider'])->num_rows()) { $this->db->insert('settings', [ @@ -29,7 +29,7 @@ class Migration_Add_display_any_provider_setting extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->get_where('settings', ['name' => 'display_any_provider'])->num_rows()) { $this->db->delete('settings', ['name' => 'display_any_provider']); diff --git a/application/migrations/020_add_language_to_users.php b/application/migrations/020_add_language_to_users.php index 6a961dad..7b5ec797 100644 --- a/application/migrations/020_add_language_to_users.php +++ b/application/migrations/020_add_language_to_users.php @@ -16,7 +16,7 @@ class Migration_Add_language_to_users extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->field_exists('language', 'users')) { $fields = [ @@ -35,7 +35,7 @@ class Migration_Add_language_to_users extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { $this->dbforge->drop_column('users', 'language'); } diff --git a/application/migrations/021_modify_sync_period_columns.php b/application/migrations/021_modify_sync_period_columns.php index a4c608bf..97bbbded 100644 --- a/application/migrations/021_modify_sync_period_columns.php +++ b/application/migrations/021_modify_sync_period_columns.php @@ -16,7 +16,7 @@ class Migration_Modify_sync_period_columns extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { $fields = [ 'sync_past_days' => [ @@ -59,7 +59,7 @@ class Migration_Modify_sync_period_columns extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { $fields = [ 'sync_past_days' => [ diff --git a/application/migrations/022_add_booking_field_settings.php b/application/migrations/022_add_booking_field_settings.php index 68b4f854..264768b6 100644 --- a/application/migrations/022_add_booking_field_settings.php +++ b/application/migrations/022_add_booking_field_settings.php @@ -54,7 +54,7 @@ class Migration_Add_booking_field_settings extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { foreach ($this->fields as $field => $props) { foreach ($props as $prop => $value) { @@ -81,7 +81,7 @@ class Migration_Add_booking_field_settings extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { foreach ($this->fields as $field => $props) { foreach ($props as $prop => $value) { diff --git a/application/migrations/023_rename_service_categories_table_to_categories.php b/application/migrations/023_rename_service_categories_table_to_categories.php index de65abd7..ffc9e040 100644 --- a/application/migrations/023_rename_service_categories_table_to_categories.php +++ b/application/migrations/023_rename_service_categories_table_to_categories.php @@ -16,7 +16,7 @@ class Migration_Rename_service_categories_table_to_categories extends EA_Migrati /** * Upgrade method. */ - public function up() + public function up(): void { if ($this->db->table_exists('service_categories')) { $this->dbforge->rename_table('service_categories', 'categories'); @@ -26,7 +26,7 @@ class Migration_Rename_service_categories_table_to_categories extends EA_Migrati /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->table_exists('categories')) { $this->dbforge->rename_table('categories', 'service_categories'); diff --git a/application/migrations/024_rename_id_service_categories_column_of_services_table.php b/application/migrations/024_rename_id_service_categories_column_of_services_table.php index b101fad6..6b800e87 100644 --- a/application/migrations/024_rename_id_service_categories_column_of_services_table.php +++ b/application/migrations/024_rename_id_service_categories_column_of_services_table.php @@ -16,7 +16,7 @@ class Migration_Rename_id_service_categories_column_of_services_table extends EA /** * Upgrade method. */ - public function up() + public function up(): void { if ($this->db->field_exists('id_service_categories', 'services')) { $this->db->query( @@ -51,7 +51,7 @@ class Migration_Rename_id_service_categories_column_of_services_table extends EA /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->field_exists('id_categories', 'services')) { $this->db->query( diff --git a/application/migrations/025_rename_is_unavailable_column_of_appointments_table.php b/application/migrations/025_rename_is_unavailable_column_of_appointments_table.php index 959df197..cfcd4e64 100644 --- a/application/migrations/025_rename_is_unavailable_column_of_appointments_table.php +++ b/application/migrations/025_rename_is_unavailable_column_of_appointments_table.php @@ -16,7 +16,7 @@ class Migration_Rename_is_unavailable_column_of_appointments_table extends EA_Mi /** * Upgrade method. */ - public function up() + public function up(): void { if ($this->db->field_exists('is_unavailable', 'appointments')) { $fields = [ @@ -35,7 +35,7 @@ class Migration_Rename_is_unavailable_column_of_appointments_table extends EA_Mi /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->field_exists('is_unavailability', 'appointments')) { $fields = [ diff --git a/application/migrations/026_add_color_column_to_services_table.php b/application/migrations/026_add_color_column_to_services_table.php index 4f9f3271..cb1b4672 100644 --- a/application/migrations/026_add_color_column_to_services_table.php +++ b/application/migrations/026_add_color_column_to_services_table.php @@ -16,7 +16,7 @@ class Migration_Add_color_column_to_services_table extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->field_exists('color', 'services')) { $fields = [ @@ -35,7 +35,7 @@ class Migration_Add_color_column_to_services_table extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->field_exists('color', 'services')) { $this->dbforge->drop_column('services', 'color'); diff --git a/application/migrations/027_add_color_column_to_appointments_table.php b/application/migrations/027_add_color_column_to_appointments_table.php index b0ca7be6..f6c8b184 100644 --- a/application/migrations/027_add_color_column_to_appointments_table.php +++ b/application/migrations/027_add_color_column_to_appointments_table.php @@ -16,7 +16,7 @@ class Migration_Add_color_column_to_appointments_table extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->field_exists('color', 'appointments')) { $fields = [ @@ -35,7 +35,7 @@ class Migration_Add_color_column_to_appointments_table extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->field_exists('color', 'appointments')) { $this->dbforge->drop_column('appointments', 'color'); diff --git a/application/migrations/028_add_matomo_analytics_url_setting.php b/application/migrations/028_add_matomo_analytics_url_setting.php index 0d9aac2b..8211b8d3 100644 --- a/application/migrations/028_add_matomo_analytics_url_setting.php +++ b/application/migrations/028_add_matomo_analytics_url_setting.php @@ -16,7 +16,7 @@ class Migration_Add_matomo_analytics_url_setting extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->get_where('settings', ['name' => 'matomo_analytics_url'])->num_rows()) { $this->db->insert('settings', [ @@ -29,7 +29,7 @@ class Migration_Add_matomo_analytics_url_setting extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->get_where('settings', ['name' => 'matomo_analytics_url'])->num_rows()) { $this->db->delete('settings', ['name' => 'matomo_analytics_url']); diff --git a/application/migrations/029_add_display_delete_personal_information_setting.php b/application/migrations/029_add_display_delete_personal_information_setting.php index 65804d93..95ca3f26 100644 --- a/application/migrations/029_add_display_delete_personal_information_setting.php +++ b/application/migrations/029_add_display_delete_personal_information_setting.php @@ -16,7 +16,7 @@ class Migration_Add_display_delete_personal_information_setting extends EA_Migra /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->get_where('settings', ['name' => 'display_delete_personal_information'])->num_rows()) { $this->db->insert('settings', [ @@ -29,7 +29,7 @@ class Migration_Add_display_delete_personal_information_setting extends EA_Migra /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->get_where('settings', ['name' => 'display_delete_personal_information'])->num_rows()) { $this->db->delete('settings', ['name' => 'display_delete_personal_information']); diff --git a/application/migrations/030_add_disable_booking_setting.php b/application/migrations/030_add_disable_booking_setting.php index 86d65ee5..c24e3f34 100644 --- a/application/migrations/030_add_disable_booking_setting.php +++ b/application/migrations/030_add_disable_booking_setting.php @@ -16,7 +16,7 @@ class Migration_Add_disable_booking_setting extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->get_where('settings', ['name' => 'disable_booking'])->num_rows()) { $this->db->insert('settings', [ @@ -29,7 +29,7 @@ class Migration_Add_disable_booking_setting extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->get_where('settings', ['name' => 'disable_booking'])->num_rows()) { $this->db->delete('settings', ['name' => 'disable_booking']); diff --git a/application/migrations/031_add_disable_booking_message_setting.php b/application/migrations/031_add_disable_booking_message_setting.php index b530b11c..fcb63087 100644 --- a/application/migrations/031_add_disable_booking_message_setting.php +++ b/application/migrations/031_add_disable_booking_message_setting.php @@ -16,7 +16,7 @@ class Migration_Add_disable_booking_message_setting extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->get_where('settings', ['name' => 'disable_booking_message'])->num_rows()) { $this->db->insert('settings', [ @@ -30,7 +30,7 @@ class Migration_Add_disable_booking_message_setting extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->get_where('settings', ['name' => 'disable_booking_message'])->num_rows()) { $this->db->delete('settings', ['name' => 'disable_booking_message']); diff --git a/application/migrations/032_add_company_logo_setting.php b/application/migrations/032_add_company_logo_setting.php index c09dc9a7..3592d0d8 100644 --- a/application/migrations/032_add_company_logo_setting.php +++ b/application/migrations/032_add_company_logo_setting.php @@ -16,7 +16,7 @@ class Migration_Add_company_logo_setting extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->get_where('settings', ['name' => 'company_logo'])->num_rows()) { $this->db->insert('settings', [ @@ -29,7 +29,7 @@ class Migration_Add_company_logo_setting extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->get_where('settings', ['name' => 'company_logo'])->num_rows()) { $this->db->delete('settings', ['name' => 'company_logo']); diff --git a/application/migrations/033_add_company_color_setting.php b/application/migrations/033_add_company_color_setting.php index 21be5fe2..5fca67da 100644 --- a/application/migrations/033_add_company_color_setting.php +++ b/application/migrations/033_add_company_color_setting.php @@ -16,7 +16,7 @@ class Migration_Add_company_color_setting extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->get_where('settings', ['name' => 'company_color'])->num_rows()) { $this->db->insert('settings', [ @@ -29,7 +29,7 @@ class Migration_Add_company_color_setting extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->get_where('settings', ['name' => 'company_color'])->num_rows()) { $this->db->delete('settings', ['name' => 'company_color']); diff --git a/application/migrations/034_add_display_login_button_setting.php b/application/migrations/034_add_display_login_button_setting.php index b1df340e..c9336ced 100644 --- a/application/migrations/034_add_display_login_button_setting.php +++ b/application/migrations/034_add_display_login_button_setting.php @@ -16,7 +16,7 @@ class Migration_Add_display_login_button_setting extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->get_where('settings', ['name' => 'display_login_button'])->num_rows()) { $this->db->insert('settings', [ @@ -29,7 +29,7 @@ class Migration_Add_display_login_button_setting extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->get_where('settings', ['name' => 'display_login_button'])->num_rows()) { $this->db->delete('settings', ['name' => 'display_login_button']); diff --git a/application/migrations/035_add_is_private_column_to_services_table.php b/application/migrations/035_add_is_private_column_to_services_table.php index b5d35f47..e3ebef46 100644 --- a/application/migrations/035_add_is_private_column_to_services_table.php +++ b/application/migrations/035_add_is_private_column_to_services_table.php @@ -16,7 +16,7 @@ class Migration_Add_is_private_column_to_services_table extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->field_exists('is_private', 'services')) { $fields = [ @@ -35,7 +35,7 @@ class Migration_Add_is_private_column_to_services_table extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->field_exists('is_private', 'services')) { $this->dbforge->drop_column('services', 'is_private'); diff --git a/application/migrations/036_add_is_private_column_to_users_table.php b/application/migrations/036_add_is_private_column_to_users_table.php index cbf7e315..faf83b7f 100644 --- a/application/migrations/036_add_is_private_column_to_users_table.php +++ b/application/migrations/036_add_is_private_column_to_users_table.php @@ -16,7 +16,7 @@ class Migration_Add_is_private_column_to_users_table extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->field_exists('is_private', 'users')) { $fields = [ @@ -35,7 +35,7 @@ class Migration_Add_is_private_column_to_users_table extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->field_exists('is_private', 'users')) { $this->dbforge->drop_column('users', 'is_private'); diff --git a/application/migrations/037_add_timestamp_columns.php b/application/migrations/037_add_timestamp_columns.php index d15f040b..81b2c596 100644 --- a/application/migrations/037_add_timestamp_columns.php +++ b/application/migrations/037_add_timestamp_columns.php @@ -26,7 +26,7 @@ class Migration_Add_timestamp_columns extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { foreach ($this->tables as $table) { foreach ($this->columns as $column) { @@ -48,7 +48,7 @@ class Migration_Add_timestamp_columns extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { foreach ($this->tables as $table) { foreach ($this->columns as $column) { diff --git a/application/migrations/038_add_theme_setting.php b/application/migrations/038_add_theme_setting.php index a0470bb7..30614f48 100644 --- a/application/migrations/038_add_theme_setting.php +++ b/application/migrations/038_add_theme_setting.php @@ -16,7 +16,7 @@ class Migration_Add_theme_setting extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->get_where('settings', ['name' => 'theme'])->num_rows()) { $this->db->insert('settings', [ @@ -29,7 +29,7 @@ class Migration_Add_theme_setting extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->get_where('settings', ['name' => 'theme'])->num_rows()) { $this->db->delete('settings', ['name' => 'theme']); diff --git a/application/migrations/039_add_limit_customer_access_setting.php b/application/migrations/039_add_limit_customer_access_setting.php index 3272a789..8dafe7fe 100644 --- a/application/migrations/039_add_limit_customer_access_setting.php +++ b/application/migrations/039_add_limit_customer_access_setting.php @@ -16,7 +16,7 @@ class Migration_Add_limit_customer_access_setting extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->get_where('settings', ['name' => 'limit_customer_access'])->num_rows()) { $this->db->insert('settings', [ @@ -31,7 +31,7 @@ class Migration_Add_limit_customer_access_setting extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->get_where('settings', ['name' => 'limit_customer_access'])->num_rows()) { $this->db->delete('settings', ['name' => 'limit_customer_access']); diff --git a/application/migrations/040_create_webhooks_table.php b/application/migrations/040_create_webhooks_table.php index 22364203..323c1020 100644 --- a/application/migrations/040_create_webhooks_table.php +++ b/application/migrations/040_create_webhooks_table.php @@ -16,7 +16,7 @@ class Migration_Create_webhooks_table extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->table_exists('webhooks')) { $this->dbforge->add_field([ @@ -75,7 +75,7 @@ class Migration_Create_webhooks_table extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->table_exists('webhooks')) { $this->dbforge->drop_table('webhooks'); diff --git a/application/migrations/041_add_webhooks_column_to_roles_table.php b/application/migrations/041_add_webhooks_column_to_roles_table.php index a9e8bd12..f9c2e445 100644 --- a/application/migrations/041_add_webhooks_column_to_roles_table.php +++ b/application/migrations/041_add_webhooks_column_to_roles_table.php @@ -16,7 +16,7 @@ class Migration_Add_webhooks_column_to_roles_table extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->field_exists('webhooks', 'roles')) { $fields = [ @@ -38,7 +38,7 @@ class Migration_Add_webhooks_column_to_roles_table extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->field_exists('webhooks', 'roles')) { $this->dbforge->drop_column('roles', 'webhooks'); diff --git a/application/migrations/042_add_future_booking_limit_setting.php b/application/migrations/042_add_future_booking_limit_setting.php index 3f3f679d..875a62ef 100644 --- a/application/migrations/042_add_future_booking_limit_setting.php +++ b/application/migrations/042_add_future_booking_limit_setting.php @@ -22,7 +22,7 @@ class Migration_Add_future_booking_limit_setting extends CI_Migration * * @throws Exception */ - public function up() + public function up(): void { if (!$this->db->get_where('settings', ['name' => 'future_booking_limit'])->num_rows()) { $this->db->insert('settings', [ @@ -37,7 +37,7 @@ class Migration_Add_future_booking_limit_setting extends CI_Migration * * @throws Exception */ - public function down() + public function down(): void { if ($this->db->get_where('settings', ['name' => 'future_booking_limit'])->num_rows()) { $this->db->delete('settings', ['name' => 'future_booking_limit']); diff --git a/application/migrations/043_add_appointment_status_options_setting.php b/application/migrations/043_add_appointment_status_options_setting.php index f88e36f0..0638f6c0 100644 --- a/application/migrations/043_add_appointment_status_options_setting.php +++ b/application/migrations/043_add_appointment_status_options_setting.php @@ -22,7 +22,7 @@ class Migration_Add_appointment_status_options_setting extends CI_Migration * * @throws Exception */ - public function up() + public function up(): void { if (!$this->db->get_where('settings', ['name' => 'appointment_status_options'])->num_rows()) { $this->db->insert('settings', [ @@ -37,7 +37,7 @@ class Migration_Add_appointment_status_options_setting extends CI_Migration * * @throws Exception */ - public function down() + public function down(): void { if ($this->db->get_where('settings', ['name' => 'appointment_status_options'])->num_rows()) { $this->db->delete('settings', ['name' => 'status_options']); diff --git a/application/migrations/044_add_status_column_to_appointments_table.php b/application/migrations/044_add_status_column_to_appointments_table.php index e481ced7..0bb745e0 100644 --- a/application/migrations/044_add_status_column_to_appointments_table.php +++ b/application/migrations/044_add_status_column_to_appointments_table.php @@ -16,7 +16,7 @@ class Migration_Add_status_column_to_appointments_table extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->field_exists('status', 'appointments')) { $fields = [ @@ -35,7 +35,7 @@ class Migration_Add_status_column_to_appointments_table extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->field_exists('status', 'appointments')) { $this->dbforge->drop_column('appointments', 'status'); diff --git a/application/migrations/045_drop_delete_datetime_column_from_all_tables.php b/application/migrations/045_drop_delete_datetime_column_from_all_tables.php index ae1d613d..aec593d5 100644 --- a/application/migrations/045_drop_delete_datetime_column_from_all_tables.php +++ b/application/migrations/045_drop_delete_datetime_column_from_all_tables.php @@ -30,7 +30,7 @@ class Migration_Drop_delete_datetime_column_from_all_tables extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { foreach ($this->tables as $table) { if ($this->db->field_exists('delete_datetime', $table)) { @@ -42,7 +42,7 @@ class Migration_Drop_delete_datetime_column_from_all_tables extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { foreach ($this->tables as $table) { if (!$this->db->field_exists('delete_datetime', $table)) { diff --git a/application/migrations/046_revert_rename_service_categories_table_to_categories.php b/application/migrations/046_revert_rename_service_categories_table_to_categories.php index 466eb112..99152b12 100644 --- a/application/migrations/046_revert_rename_service_categories_table_to_categories.php +++ b/application/migrations/046_revert_rename_service_categories_table_to_categories.php @@ -16,7 +16,7 @@ class Migration_Revert_rename_service_categories_table_to_categories extends EA_ /** * Upgrade method. */ - public function up() + public function up(): void { if ($this->db->table_exists('categories')) { $this->dbforge->rename_table('categories', 'service_categories'); @@ -26,7 +26,7 @@ class Migration_Revert_rename_service_categories_table_to_categories extends EA_ /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->table_exists('service_categories')) { $this->dbforge->rename_table('service_categories', 'categories'); diff --git a/application/migrations/047_revert_rename_id_service_categories_column_of_services_table.php b/application/migrations/047_revert_rename_id_service_categories_column_of_services_table.php index 57b12b08..a7379cbc 100644 --- a/application/migrations/047_revert_rename_id_service_categories_column_of_services_table.php +++ b/application/migrations/047_revert_rename_id_service_categories_column_of_services_table.php @@ -16,7 +16,7 @@ class Migration_Revert_rename_id_service_categories_column_of_services_table ext /** * Upgrade method. */ - public function up() + public function up(): void { if ($this->db->field_exists('id_categories', 'services')) { $this->db->query( @@ -51,7 +51,7 @@ class Migration_Revert_rename_id_service_categories_column_of_services_table ext /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->field_exists('id_service_categories', 'services')) { $this->db->query( diff --git a/application/migrations/048_create_blocked_periods_table.php b/application/migrations/048_create_blocked_periods_table.php index f2148df2..72dc6d65 100644 --- a/application/migrations/048_create_blocked_periods_table.php +++ b/application/migrations/048_create_blocked_periods_table.php @@ -16,7 +16,7 @@ class Migration_Create_blocked_periods_table extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->table_exists('blocked_periods')) { $this->dbforge->add_field([ @@ -61,7 +61,7 @@ class Migration_Create_blocked_periods_table extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->table_exists('blocked_periods')) { $this->dbforge->drop_table('blocked_periods'); diff --git a/application/migrations/049_add_blocked_periods_column_to_roles_table.php b/application/migrations/049_add_blocked_periods_column_to_roles_table.php index 29dab812..f4817060 100644 --- a/application/migrations/049_add_blocked_periods_column_to_roles_table.php +++ b/application/migrations/049_add_blocked_periods_column_to_roles_table.php @@ -16,7 +16,7 @@ class Migration_Add_blocked_periods_column_to_roles_table extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->field_exists('blocked_periods', 'roles')) { $fields = [ @@ -38,7 +38,7 @@ class Migration_Add_blocked_periods_column_to_roles_table extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->field_exists('blocked_periods', 'roles')) { $this->dbforge->drop_column('roles', 'blocked_periods'); diff --git a/application/migrations/050_add_custom_fields_columns_to_users_table.php b/application/migrations/050_add_custom_fields_columns_to_users_table.php index f14894a2..f5941256 100644 --- a/application/migrations/050_add_custom_fields_columns_to_users_table.php +++ b/application/migrations/050_add_custom_fields_columns_to_users_table.php @@ -21,7 +21,7 @@ class Migration_Add_custom_fields_columns_to_users_table extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { for ($i = self::FIELD_NUMBER; $i > 0; $i--) { $field_name = 'custom_field_' . $i; @@ -43,7 +43,7 @@ class Migration_Add_custom_fields_columns_to_users_table extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { for ($i = self::FIELD_NUMBER; $i > 0; $i--) { $field_name = 'custom_fields_' . $i; diff --git a/application/migrations/051_insert_custom_field_rows_to_settings_table.php b/application/migrations/051_insert_custom_field_rows_to_settings_table.php index 87704a25..0ea13fad 100644 --- a/application/migrations/051_insert_custom_field_rows_to_settings_table.php +++ b/application/migrations/051_insert_custom_field_rows_to_settings_table.php @@ -27,7 +27,7 @@ class Migration_Insert_custom_field_rows_to_settings_table extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { for ($i = 1; $i <= self::FIELD_NUMBER; $i++) { $field_name = 'custom_field_' . $i; @@ -48,7 +48,7 @@ class Migration_Insert_custom_field_rows_to_settings_table extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { for ($i = 1; $i >= self::FIELD_NUMBER; $i++) { $field_name = 'custom_field_' . $i; diff --git a/application/migrations/052_add_matomo_analytics_site_id_setting.php b/application/migrations/052_add_matomo_analytics_site_id_setting.php index 60eb4cb6..6afc208a 100644 --- a/application/migrations/052_add_matomo_analytics_site_id_setting.php +++ b/application/migrations/052_add_matomo_analytics_site_id_setting.php @@ -16,7 +16,7 @@ class Migration_Add_matomo_analytics_site_id_setting extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->get_where('settings', ['name' => 'matomo_analytics_site_id'])->num_rows()) { $this->db->insert('settings', [ @@ -29,7 +29,7 @@ class Migration_Add_matomo_analytics_site_id_setting extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->get_where('settings', ['name' => 'matomo_analytics_site_id'])->num_rows()) { $this->db->delete('settings', ['name' => 'matomo_analytics_site_id']); diff --git a/application/migrations/053_add_default_language_setting.php b/application/migrations/053_add_default_language_setting.php index 3882e8ad..642b543d 100644 --- a/application/migrations/053_add_default_language_setting.php +++ b/application/migrations/053_add_default_language_setting.php @@ -16,7 +16,7 @@ class Migration_Add_default_language_setting extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->get_where('settings', ['name' => 'default_language'])->num_rows()) { $this->db->insert('settings', [ @@ -29,7 +29,7 @@ class Migration_Add_default_language_setting extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->get_where('settings', ['name' => 'default_language'])->num_rows()) { $this->db->delete('settings', ['name' => 'default_language']); diff --git a/application/migrations/054_add_default_timezone_setting.php b/application/migrations/054_add_default_timezone_setting.php index 584ca2d7..39dba933 100644 --- a/application/migrations/054_add_default_timezone_setting.php +++ b/application/migrations/054_add_default_timezone_setting.php @@ -16,7 +16,7 @@ class Migration_Add_default_timezone_setting extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->get_where('settings', ['name' => 'default_timezone'])->num_rows()) { $this->db->insert('settings', [ @@ -29,7 +29,7 @@ class Migration_Add_default_timezone_setting extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->get_where('settings', ['name' => 'default_timezone'])->num_rows()) { $this->db->delete('settings', ['name' => 'default_timezone']); diff --git a/application/migrations/055_add_caldav_columns_to_user_settings_table.php b/application/migrations/055_add_caldav_columns_to_user_settings_table.php index 71a262ec..761f8e0e 100644 --- a/application/migrations/055_add_caldav_columns_to_user_settings_table.php +++ b/application/migrations/055_add_caldav_columns_to_user_settings_table.php @@ -16,7 +16,7 @@ class Migration_Add_caldav_columns_to_user_settings_table extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->field_exists('caldav_sync', 'user_settings')) { $fields = [ @@ -87,7 +87,7 @@ class Migration_Add_caldav_columns_to_user_settings_table extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->field_exists('caldav_sync', 'user_settings')) { $this->dbforge->drop_column('user_settings', 'caldav_sync'); diff --git a/application/migrations/056_add_id_caldav_calendar_column_to_appointments_table.php b/application/migrations/056_add_id_caldav_calendar_column_to_appointments_table.php index f189e872..59815062 100644 --- a/application/migrations/056_add_id_caldav_calendar_column_to_appointments_table.php +++ b/application/migrations/056_add_id_caldav_calendar_column_to_appointments_table.php @@ -16,7 +16,7 @@ class Migration_Add_id_caldav_calendar_column_to_appointments_table extends EA_M /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->field_exists('id_caldav_calendar', 'appointments')) { $fields = [ @@ -34,7 +34,7 @@ class Migration_Add_id_caldav_calendar_column_to_appointments_table extends EA_M /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->field_exists('id_caldav_calendar', 'appointments')) { $this->dbforge->drop_column('appointments', 'id_caldav_calendar'); diff --git a/application/migrations/057_add_ldap_rows_to_settings_table.php b/application/migrations/057_add_ldap_rows_to_settings_table.php index a752a033..be4f54bd 100644 --- a/application/migrations/057_add_ldap_rows_to_settings_table.php +++ b/application/migrations/057_add_ldap_rows_to_settings_table.php @@ -16,7 +16,7 @@ class Migration_Add_ldap_rows_to_settings_table extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { $now = date('Y-m-d H:i:s'); @@ -101,7 +101,7 @@ class Migration_Add_ldap_rows_to_settings_table extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->get_where('settings', ['name' => 'ldap_is_active'])->num_rows()) { $this->db->delete('settings', ['name' => 'ldap_is_active']); diff --git a/application/migrations/058_add_ldap_dn_column_to_users_table.php b/application/migrations/058_add_ldap_dn_column_to_users_table.php index af2f59e7..20b1ec77 100644 --- a/application/migrations/058_add_ldap_dn_column_to_users_table.php +++ b/application/migrations/058_add_ldap_dn_column_to_users_table.php @@ -16,7 +16,7 @@ class Migration_Add_ldap_dn_column_to_users_table extends EA_Migration /** * Upgrade method. */ - public function up() + public function up(): void { if (!$this->db->field_exists('ldap_dn', 'users')) { $fields = [ @@ -34,7 +34,7 @@ class Migration_Add_ldap_dn_column_to_users_table extends EA_Migration /** * Downgrade method. */ - public function down() + public function down(): void { if ($this->db->field_exists('ldap_dn', 'users')) { $this->dbforge->drop_column('users', 'ldap_dn'); diff --git a/application/migrations/059_drop_caldav_calendar_column_from_user_settings_table.php b/application/migrations/059_drop_caldav_calendar_column_from_user_settings_table.php index 9c8a01ba..8f972d15 100644 --- a/application/migrations/059_drop_caldav_calendar_column_from_user_settings_table.php +++ b/application/migrations/059_drop_caldav_calendar_column_from_user_settings_table.php @@ -16,7 +16,7 @@ class Migration_Drop_caldav_calendar_column_from_user_settings_table extends EA_ /** * Upgrade method. */ - public function up() + public function up(): void { if ($this->db->field_exists('caldav_calendar', 'user_settings')) { $this->dbforge->drop_column('user_settings', 'caldav_calendar'); @@ -26,7 +26,7 @@ class Migration_Drop_caldav_calendar_column_from_user_settings_table extends EA_ /** * Downgrade method. */ - public function down() + public function down(): void { if (!$this->db->field_exists('caldav_calendar', 'user_settings')) { $fields = [ diff --git a/application/models/Admins_model.php b/application/models/Admins_model.php index 17fe2ba2..0c18db93 100644 --- a/application/models/Admins_model.php +++ b/application/models/Admins_model.php @@ -168,7 +168,7 @@ class Admins_model extends EA_Model * * @return bool Returns the validation result. */ - public function validate_username(string $username, int $admin_id = null): bool + public function validate_username(string $username, ?int $admin_id = null): bool { if (!empty($admin_id)) { $this->db->where('id_users !=', $admin_id); @@ -193,10 +193,10 @@ class Admins_model extends EA_Model * @return array Returns an array of admins. */ public function get( - array|string $where = null, - int $limit = null, - int $offset = null, - string $order_by = null, + array|string|null $where = null, + ?int $limit = null, + ?int $offset = null, + ?string $order_by = null, ): array { $role_id = $this->get_admin_role_id(); @@ -489,7 +489,7 @@ class Admins_model extends EA_Model * * @return array Returns an array of admins. */ - public function search(string $keyword, int $limit = null, int $offset = null, string $order_by = null): array + public function search(string $keyword, ?int $limit = null, ?int $offset = null, ?string $order_by = null): array { $role_id = $this->get_admin_role_id(); @@ -575,7 +575,7 @@ class Admins_model extends EA_Model * @param array $admin API resource. * @param array|null $base Base admin data to be overwritten with the provided values (useful for updates). */ - public function api_decode(array &$admin, array $base = null): void + public function api_decode(array &$admin, ?array $base = null): void { $decoded_resource = $base ?? []; diff --git a/application/models/Appointments_model.php b/application/models/Appointments_model.php index 7064fc65..691436a2 100644 --- a/application/models/Appointments_model.php +++ b/application/models/Appointments_model.php @@ -175,10 +175,10 @@ class Appointments_model extends EA_Model * @return array Returns an array of appointments. */ public function get( - array|string $where = null, - int $limit = null, - int $offset = null, - string $order_by = null, + array|string|null $where = null, + ?int $limit = null, + ?int $offset = null, + ?string $order_by = null, ): array { if ($where !== null) { $this->db->where($where); @@ -349,8 +349,7 @@ class Appointments_model extends EA_Model */ public function delete_caldav_recurring_events(string $start_date_time, string $end_date_time): void { - $this - ->db + $this->db ->where('start_datetime >=', $start_date_time) ->where('end_datetime <=', $end_date_time) ->like('id_caldav_calendar', '%RECURRENCE%') @@ -373,7 +372,7 @@ class Appointments_model extends EA_Model DateTime $end, int $service_id, int $provider_id, - int $exclude_appointment_id = null, + ?int $exclude_appointment_id = null, ): int { if ($exclude_appointment_id) { $this->db->where('id !=', $exclude_appointment_id); @@ -417,7 +416,7 @@ class Appointments_model extends EA_Model DateTime $end, int $service_id, int $provider_id, - int $exclude_appointment_id = null, + ?int $exclude_appointment_id = null, ): int { if ($exclude_appointment_id) { $this->db->where('id !=', $exclude_appointment_id); @@ -464,7 +463,7 @@ class Appointments_model extends EA_Model * * @return array Returns an array of appointments. */ - public function search(string $keyword, int $limit = null, int $offset = null, string $order_by = null): array + public function search(string $keyword, ?int $limit = null, ?int $offset = null, ?string $order_by = null): array { $appointments = $this->db ->select('appointments.*') @@ -586,7 +585,7 @@ class Appointments_model extends EA_Model * @param array $appointment API resource. * @param array|null $base Base appointment data to be overwritten with the provided values (useful for updates). */ - public function api_decode(array &$appointment, array $base = null): void + public function api_decode(array &$appointment, ?array $base = null): void { $decoded_request = $base ?: []; diff --git a/application/models/Blocked_periods_model.php b/application/models/Blocked_periods_model.php index 444a35a9..c1d986d0 100644 --- a/application/models/Blocked_periods_model.php +++ b/application/models/Blocked_periods_model.php @@ -230,7 +230,7 @@ class Blocked_periods_model extends EA_Model * * @return array Returns an array of blocked periods. */ - public function search(string $keyword, int $limit = null, int $offset = null, string $order_by = null): array + public function search(string $keyword, ?int $limit = null, ?int $offset = null, ?string $order_by = null): array { $blocked_periods = $this->db ->select() @@ -263,10 +263,10 @@ class Blocked_periods_model extends EA_Model * @return array Returns an array of blocked periods. */ public function get( - array|string $where = null, - int $limit = null, - int $offset = null, - string $order_by = null, + array|string|null $where = null, + ?int $limit = null, + ?int $offset = null, + ?string $order_by = null, ): array { if ($where !== null) { $this->db->where($where); @@ -322,7 +322,7 @@ class Blocked_periods_model extends EA_Model * @param array $blocked_period API resource. * @param array|null $base Base blocked-period data to be overwritten with the provided values (useful for updates). */ - public function api_decode(array &$blocked_period, array $base = null): void + public function api_decode(array &$blocked_period, ?array $base = null): void { $decoded_resource = $base ?: []; diff --git a/application/models/Consents_model.php b/application/models/Consents_model.php index c7b8fc91..6e9cb5a0 100644 --- a/application/models/Consents_model.php +++ b/application/models/Consents_model.php @@ -193,7 +193,7 @@ class Consents_model extends EA_Model * * @return array Returns an array of consents. */ - public function search(string $keyword, int $limit = null, int $offset = null, string $order_by = null): array + public function search(string $keyword, ?int $limit = null, ?int $offset = null, ?string $order_by = null): array { $consents = $this->db ->select() @@ -228,10 +228,10 @@ class Consents_model extends EA_Model * @return array Returns an array of consents. */ public function get( - array|string $where = null, - int $limit = null, - int $offset = null, - string $order_by = null, + array|string|null $where = null, + ?int $limit = null, + ?int $offset = null, + ?string $order_by = null, ): array { if ($where !== null) { $this->db->where($where); diff --git a/application/models/Customers_model.php b/application/models/Customers_model.php index 0f54f048..1d2849ee 100644 --- a/application/models/Customers_model.php +++ b/application/models/Customers_model.php @@ -155,10 +155,10 @@ class Customers_model extends EA_Model * @return array Returns an array of customers. */ public function get( - array|string $where = null, - int $limit = null, - int $offset = null, - string $order_by = null, + array|string|null $where = null, + ?int $limit = null, + ?int $offset = null, + ?string $order_by = null, ): array { $role_id = $this->get_customer_role_id(); @@ -392,7 +392,7 @@ class Customers_model extends EA_Model * * @return array Returns an array of customers. */ - public function search(string $keyword, int $limit = null, int $offset = null, string $order_by = null): array + public function search(string $keyword, ?int $limit = null, ?int $offset = null, ?string $order_by = null): array { $role_id = $this->get_customer_role_id(); @@ -475,7 +475,7 @@ class Customers_model extends EA_Model * @param array $customer API resource. * @param array|null $base Base customer data to be overwritten with the provided values (useful for updates). */ - public function api_decode(array &$customer, array $base = null): void + public function api_decode(array &$customer, ?array $base = null): void { $decoded_resource = $base ?: []; diff --git a/application/models/Providers_model.php b/application/models/Providers_model.php index 6e8aa3ac..8a0666c7 100755 --- a/application/models/Providers_model.php +++ b/application/models/Providers_model.php @@ -182,7 +182,7 @@ class Providers_model extends EA_Model * * @return bool Returns the validation result. */ - public function validate_username(string $username, int $provider_id = null): bool + public function validate_username(string $username, ?int $provider_id = null): bool { if (!empty($provider_id)) { $this->db->where('id_users !=', $provider_id); @@ -207,10 +207,10 @@ class Providers_model extends EA_Model * @return array Returns an array of providers. */ public function get( - array|string $where = null, - int $limit = null, - int $offset = null, - string $order_by = null, + array|string|null $where = null, + ?int $limit = null, + ?int $offset = null, + ?string $order_by = null, ): array { $role_id = $this->get_provider_role_id(); @@ -521,7 +521,7 @@ class Providers_model extends EA_Model public function save_working_plan_exception( int $provider_id, string $date, - array $working_plan_exception = null, + ?array $working_plan_exception = null, ): void { // Validate the working plan exception data. @@ -678,7 +678,7 @@ class Providers_model extends EA_Model * * @return array Returns an array of providers. */ - public function search(string $keyword, int $limit = null, int $offset = null, string $order_by = null): array + public function search(string $keyword, ?int $limit = null, ?int $offset = null, ?string $order_by = null): array { $role_id = $this->get_provider_role_id(); @@ -823,7 +823,7 @@ class Providers_model extends EA_Model * @param array $provider API resource. * @param array|null $base Base provider data to be overwritten with the provided values (useful for updates). */ - public function api_decode(array &$provider, array $base = null): void + public function api_decode(array &$provider, ?array $base = null): void { $decoded_resource = $base ?: []; diff --git a/application/models/Roles_model.php b/application/models/Roles_model.php index 7f7fefd8..24a674f1 100644 --- a/application/models/Roles_model.php +++ b/application/models/Roles_model.php @@ -272,7 +272,7 @@ class Roles_model extends EA_Model * * @return array Returns an array of roles. */ - public function search(string $keyword, int $limit = null, int $offset = null, string $order_by = null): array + public function search(string $keyword, ?int $limit = null, ?int $offset = null, ?string $order_by = null): array { $roles = $this->db ->select() @@ -305,10 +305,10 @@ class Roles_model extends EA_Model * @return array Returns an array of roles. */ public function get( - array|string $where = null, - int $limit = null, - int $offset = null, - string $order_by = null, + array|string|null $where = null, + ?int $limit = null, + ?int $offset = null, + ?string $order_by = null, ): array { if ($where !== null) { $this->db->where($where); diff --git a/application/models/Secretaries_model.php b/application/models/Secretaries_model.php index a89323f9..8d2b414e 100644 --- a/application/models/Secretaries_model.php +++ b/application/models/Secretaries_model.php @@ -180,7 +180,7 @@ class Secretaries_model extends EA_Model * * @return bool Returns the validation result. */ - public function validate_username(string $username, int $secretary_id = null): bool + public function validate_username(string $username, ?int $secretary_id = null): bool { if (!empty($secretary_id)) { $this->db->where('id_users !=', $secretary_id); @@ -205,10 +205,10 @@ class Secretaries_model extends EA_Model * @return array Returns an array of secretaries. */ public function get( - array|string $where = null, - int $limit = null, - int $offset = null, - string $order_by = null, + array|string|null $where = null, + ?int $limit = null, + ?int $offset = null, + ?string $order_by = null, ): array { $role_id = $this->get_secretary_role_id(); @@ -515,7 +515,7 @@ class Secretaries_model extends EA_Model * * @return array Returns an array of secretaries. */ - public function search(string $keyword, int $limit = null, int $offset = null, string $order_by = null): array + public function search(string $keyword, ?int $limit = null, ?int $offset = null, ?string $order_by = null): array { $role_id = $this->get_secretary_role_id(); @@ -620,7 +620,7 @@ class Secretaries_model extends EA_Model * @param array $secretary API resource. * @param array|null $base Base secretary data to be overwritten with the provided values (useful for updates). */ - public function api_decode(array &$secretary, array $base = null): void + public function api_decode(array &$secretary, ?array $base = null): void { $decoded_resource = $base ?: []; diff --git a/application/models/Service_categories_model.php b/application/models/Service_categories_model.php index c0dda2e4..6d13c9f4 100644 --- a/application/models/Service_categories_model.php +++ b/application/models/Service_categories_model.php @@ -224,7 +224,7 @@ class Service_categories_model extends EA_Model * * @return array Returns an array of service categories. */ - public function search(string $keyword, int $limit = null, int $offset = null, string $order_by = null): array + public function search(string $keyword, ?int $limit = null, ?int $offset = null, ?string $order_by = null): array { $service_categories = $this->db ->select() @@ -257,10 +257,10 @@ class Service_categories_model extends EA_Model * @return array Returns an array of service categories. */ public function get( - array|string $where = null, - int $limit = null, - int $offset = null, - string $order_by = null, + array|string|null $where = null, + ?int $limit = null, + ?int $offset = null, + ?string $order_by = null, ): array { if ($where !== null) { $this->db->where($where); @@ -316,7 +316,7 @@ class Service_categories_model extends EA_Model * @param array $service_category API resource. * @param array|null $base Base service-category data to be overwritten with the provided values (useful for updates). */ - public function api_decode(array &$service_category, array $base = null): void + public function api_decode(array &$service_category, ?array $base = null): void { $decoded_resource = $base ?: []; diff --git a/application/models/Services_model.php b/application/models/Services_model.php index e8191cf1..21033206 100644 --- a/application/models/Services_model.php +++ b/application/models/Services_model.php @@ -308,10 +308,10 @@ class Services_model extends EA_Model * @return array Returns an array of services. */ public function get( - array|string $where = null, - int $limit = null, - int $offset = null, - string $order_by = null, + array|string|null $where = null, + ?int $limit = null, + ?int $offset = null, + ?string $order_by = null, ): array { if ($where !== null) { $this->db->where($where); @@ -350,7 +350,7 @@ class Services_model extends EA_Model * * @return array Returns an array of services. */ - public function search(string $keyword, int $limit = null, int $offset = null, string $order_by = null): array + public function search(string $keyword, ?int $limit = null, ?int $offset = null, ?string $order_by = null): array { $services = $this->db ->select() @@ -431,7 +431,7 @@ class Services_model extends EA_Model * @param array $service API resource. * @param array|null $base Base service data to be overwritten with the provided values (useful for updates). */ - public function api_decode(array &$service, array $base = null): void + public function api_decode(array &$service, ?array $base = null): void { $decoded_resource = $base ?: []; diff --git a/application/models/Settings_model.php b/application/models/Settings_model.php index 93dc8030..fe495b83 100644 --- a/application/models/Settings_model.php +++ b/application/models/Settings_model.php @@ -215,7 +215,7 @@ class Settings_model extends EA_Model * * @return array Returns an array of settings. */ - public function search(string $keyword, int $limit = null, int $offset = null, string $order_by = null): array + public function search(string $keyword, ?int $limit = null, ?int $offset = null, ?string $order_by = null): array { $settings = $this->db ->select() @@ -248,10 +248,10 @@ class Settings_model extends EA_Model * @return array Returns an array of settings. */ public function get( - array|string $where = null, - int $limit = null, - int $offset = null, - string $order_by = null, + array|string|null $where = null, + ?int $limit = null, + ?int $offset = null, + ?string $order_by = null, ): array { if ($where !== null) { $this->db->where($where); @@ -304,7 +304,7 @@ class Settings_model extends EA_Model * @param array $setting API resource. * @param array|null $base Base setting data to be overwritten with the provided values (useful for updates). */ - public function api_decode(array &$setting, array $base = null): void + public function api_decode(array &$setting, ?array $base = null): void { $decoded_resource = $base ?: []; diff --git a/application/models/Unavailabilities_model.php b/application/models/Unavailabilities_model.php index 86ad4253..9d4d875c 100644 --- a/application/models/Unavailabilities_model.php +++ b/application/models/Unavailabilities_model.php @@ -143,10 +143,10 @@ class Unavailabilities_model extends EA_Model * @return array Returns an array of unavailabilities. */ public function get( - array|string $where = null, - int $limit = null, - int $offset = null, - string $order_by = null, + array|string|null $where = null, + ?int $limit = null, + ?int $offset = null, + ?string $order_by = null, ): array { if ($where !== null) { $this->db->where($where); @@ -310,7 +310,7 @@ class Unavailabilities_model extends EA_Model * * @return array Returns an array of unavailabilities. */ - public function search(string $keyword, int $limit = null, int $offset = null, string $order_by = null): array + public function search(string $keyword, ?int $limit = null, ?int $offset = null, ?string $order_by = null): array { $unavailabilities = $this->db ->select() @@ -399,7 +399,7 @@ class Unavailabilities_model extends EA_Model * @param array $unavailability API resource. * @param array|null $base Base unavailability data to be overwritten with the provided values (useful for updates). */ - public function api_decode(array &$unavailability, array $base = null): void + public function api_decode(array &$unavailability, ?array $base = null): void { $decoded_request = $base ?: []; diff --git a/application/models/Users_model.php b/application/models/Users_model.php index 3606b662..1ca47d89 100644 --- a/application/models/Users_model.php +++ b/application/models/Users_model.php @@ -336,7 +336,7 @@ class Users_model extends EA_Model * * @return array Returns an array of settings. */ - public function search(string $keyword, int $limit = null, int $offset = null, string $order_by = null): array + public function search(string $keyword, ?int $limit = null, ?int $offset = null, ?string $order_by = null): array { $users = $this->db ->select() @@ -378,10 +378,10 @@ class Users_model extends EA_Model * @return array Returns an array of users. */ public function get( - array|string $where = null, - int $limit = null, - int $offset = null, - string $order_by = null, + array|string|null $where = null, + ?int $limit = null, + ?int $offset = null, + ?string $order_by = null, ): array { if ($where !== null) { $this->db->where($where); @@ -422,7 +422,7 @@ class Users_model extends EA_Model * * @return bool Returns the validation result. */ - public function validate_username(string $username, int $user_id = null): bool + public function validate_username(string $username, ?int $user_id = null): bool { if (!empty($user_id)) { $this->db->where('id_users !=', $user_id); diff --git a/application/models/Webhooks_model.php b/application/models/Webhooks_model.php index fbd0bd64..3bdb1752 100644 --- a/application/models/Webhooks_model.php +++ b/application/models/Webhooks_model.php @@ -209,7 +209,7 @@ class Webhooks_model extends EA_Model * * @return array Returns an array of webhooks. */ - public function search(string $keyword, int $limit = null, int $offset = null, string $order_by = null): array + public function search(string $keyword, ?int $limit = null, ?int $offset = null, ?string $order_by = null): array { $webhooks = $this->db ->select() @@ -243,10 +243,10 @@ class Webhooks_model extends EA_Model * @return array Returns an array of webhooks. */ public function get( - array|string $where = null, - int $limit = null, - int $offset = null, - string $order_by = null, + array|string|null $where = null, + ?int $limit = null, + ?int $offset = null, + ?string $order_by = null, ): array { if ($where !== null) { $this->db->where($where); @@ -304,7 +304,7 @@ class Webhooks_model extends EA_Model * @param array $webhook API resource. * @param array|null $base Base webhook data to be overwritten with the provided values (useful for updates). */ - public function api_decode(array &$webhook, array $base = null): void + public function api_decode(array &$webhook, ?array $base = null): void { $decoded_resource = $base ?: []; diff --git a/composer.json b/composer.json index 7025781c..4e9d61b2 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,7 @@ "jsvrcek/ics": "^0.8.4", "monolog/monolog": "^2.8.0", "google/apiclient": "^2.12.6", - "guzzlehttp/guzzle": "^7.5.0", + "guzzlehttp/guzzle": "^7.9.2", "sabre/vobject": "^4.5", "ezyang/htmlpurifier": "^4.17", "symfony/finder": "^6.4", diff --git a/composer.lock b/composer.lock index 96dbc869..2fc806bc 100644 --- a/composer.lock +++ b/composer.lock @@ -4,24 +4,24 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "dbf5da5fb7080dd1067d78bcc8625e2d", + "content-hash": "eda4ed17fcbab7c2db59a34809f848d2", "packages": [ { "name": "ezyang/htmlpurifier", - "version": "v4.17.0", + "version": "v4.18.0", "source": { "type": "git", "url": "https://github.com/ezyang/htmlpurifier.git", - "reference": "bbc513d79acf6691fa9cf10f192c90dd2957f18c" + "reference": "cb56001e54359df7ae76dc522d08845dc741621b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/bbc513d79acf6691fa9cf10f192c90dd2957f18c", - "reference": "bbc513d79acf6691fa9cf10f192c90dd2957f18c", + "url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/cb56001e54359df7ae76dc522d08845dc741621b", + "reference": "cb56001e54359df7ae76dc522d08845dc741621b", "shasum": "" }, "require": { - "php": "~5.6.0 || ~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0" + "php": "~5.6.0 || ~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0" }, "require-dev": { "cerdic/css-tidy": "^1.7 || ^2.0", @@ -63,32 +63,32 @@ ], "support": { "issues": "https://github.com/ezyang/htmlpurifier/issues", - "source": "https://github.com/ezyang/htmlpurifier/tree/v4.17.0" + "source": "https://github.com/ezyang/htmlpurifier/tree/v4.18.0" }, - "time": "2023-11-17T15:01:25+00:00" + "time": "2024-11-01T03:51:45+00:00" }, { "name": "firebase/php-jwt", - "version": "v6.10.0", + "version": "v6.10.2", "source": { "type": "git", "url": "https://github.com/firebase/php-jwt.git", - "reference": "a49db6f0a5033aef5143295342f1c95521b075ff" + "reference": "30c19ed0f3264cb660ea496895cfb6ef7ee3653b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/firebase/php-jwt/zipball/a49db6f0a5033aef5143295342f1c95521b075ff", - "reference": "a49db6f0a5033aef5143295342f1c95521b075ff", + "url": "https://api.github.com/repos/firebase/php-jwt/zipball/30c19ed0f3264cb660ea496895cfb6ef7ee3653b", + "reference": "30c19ed0f3264cb660ea496895cfb6ef7ee3653b", "shasum": "" }, "require": { - "php": "^7.4||^8.0" + "php": "^8.0" }, "require-dev": { - "guzzlehttp/guzzle": "^6.5||^7.4", + "guzzlehttp/guzzle": "^7.4", "phpspec/prophecy-phpunit": "^2.0", "phpunit/phpunit": "^9.5", - "psr/cache": "^1.0||^2.0", + "psr/cache": "^2.0||^3.0", "psr/http-client": "^1.0", "psr/http-factory": "^1.0" }, @@ -126,40 +126,40 @@ ], "support": { "issues": "https://github.com/firebase/php-jwt/issues", - "source": "https://github.com/firebase/php-jwt/tree/v6.10.0" + "source": "https://github.com/firebase/php-jwt/tree/v6.10.2" }, - "time": "2023-12-01T16:26:39+00:00" + "time": "2024-11-24T11:22:49+00:00" }, { "name": "google/apiclient", - "version": "v2.16.0", + "version": "v2.18.2", "source": { "type": "git", "url": "https://github.com/googleapis/google-api-php-client.git", - "reference": "017400f609c1fb71ab5ad824c50eabd4c3eaf779" + "reference": "d8d201ba8a189a3cd7fb34e4da569f2ed440eee7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/googleapis/google-api-php-client/zipball/017400f609c1fb71ab5ad824c50eabd4c3eaf779", - "reference": "017400f609c1fb71ab5ad824c50eabd4c3eaf779", + "url": "https://api.github.com/repos/googleapis/google-api-php-client/zipball/d8d201ba8a189a3cd7fb34e4da569f2ed440eee7", + "reference": "d8d201ba8a189a3cd7fb34e4da569f2ed440eee7", "shasum": "" }, "require": { - "firebase/php-jwt": "~6.0", + "firebase/php-jwt": "^6.0", "google/apiclient-services": "~0.350", "google/auth": "^1.37", - "guzzlehttp/guzzle": "^6.5.8||^7.4.5", - "guzzlehttp/psr7": "^1.9.1||^2.2.1", + "guzzlehttp/guzzle": "^7.4.5", + "guzzlehttp/psr7": "^2.6", "monolog/monolog": "^2.9||^3.0", - "php": "^7.4|^8.0", + "php": "^8.0", "phpseclib/phpseclib": "^3.0.36" }, "require-dev": { "cache/filesystem-adapter": "^1.1", "composer/composer": "^1.10.23", "phpcompatibility/php-compatibility": "^9.2", - "phpspec/prophecy-phpunit": "^2.0", - "phpunit/phpunit": "^9.5", + "phpspec/prophecy-phpunit": "^2.1", + "phpunit/phpunit": "^9.6", "squizlabs/php_codesniffer": "^3.8", "symfony/css-selector": "~2.1", "symfony/dom-crawler": "~2.1" @@ -195,29 +195,29 @@ ], "support": { "issues": "https://github.com/googleapis/google-api-php-client/issues", - "source": "https://github.com/googleapis/google-api-php-client/tree/v2.16.0" + "source": "https://github.com/googleapis/google-api-php-client/tree/v2.18.2" }, - "time": "2024-04-24T00:59:47+00:00" + "time": "2024-12-16T22:52:40+00:00" }, { "name": "google/apiclient-services", - "version": "v0.354.0", + "version": "v0.386.0", "source": { "type": "git", "url": "https://github.com/googleapis/google-api-php-client-services.git", - "reference": "ea6f4a01c9113cb4661d1243baf5af0f69a926c2" + "reference": "cd08601dd729977f7198c72cd10d05901833bec0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/ea6f4a01c9113cb4661d1243baf5af0f69a926c2", - "reference": "ea6f4a01c9113cb4661d1243baf5af0f69a926c2", + "url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/cd08601dd729977f7198c72cd10d05901833bec0", + "reference": "cd08601dd729977f7198c72cd10d05901833bec0", "shasum": "" }, "require": { - "php": "^7.4||^8.0" + "php": "^8.0" }, "require-dev": { - "phpunit/phpunit": "^5.7||^8.5.13" + "phpunit/phpunit": "^9.6" }, "type": "library", "autoload": { @@ -239,22 +239,22 @@ ], "support": { "issues": "https://github.com/googleapis/google-api-php-client-services/issues", - "source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.354.0" + "source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.386.0" }, - "time": "2024-05-10T16:30:18+00:00" + "time": "2024-12-16T01:04:20+00:00" }, { "name": "google/auth", - "version": "v1.39.0", + "version": "v1.45.0", "source": { "type": "git", "url": "https://github.com/googleapis/google-auth-library-php.git", - "reference": "23e8e696d87f8d7dfefbd347ca1c99ce17ecb368" + "reference": "cfcb93162341ed5022fa976e621f0fa2b05ba6ad" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/googleapis/google-auth-library-php/zipball/23e8e696d87f8d7dfefbd347ca1c99ce17ecb368", - "reference": "23e8e696d87f8d7dfefbd347ca1c99ce17ecb368", + "url": "https://api.github.com/repos/googleapis/google-auth-library-php/zipball/cfcb93162341ed5022fa976e621f0fa2b05ba6ad", + "reference": "cfcb93162341ed5022fa976e621f0fa2b05ba6ad", "shasum": "" }, "require": { @@ -263,7 +263,8 @@ "guzzlehttp/psr7": "^2.4.5", "php": "^8.0", "psr/cache": "^2.0||^3.0", - "psr/http-message": "^1.1||^2.0" + "psr/http-message": "^1.1||^2.0", + "psr/log": "^3.0" }, "require-dev": { "guzzlehttp/promises": "^2.0", @@ -299,9 +300,9 @@ "support": { "docs": "https://googleapis.github.io/google-auth-library-php/main/", "issues": "https://github.com/googleapis/google-auth-library-php/issues", - "source": "https://github.com/googleapis/google-auth-library-php/tree/v1.39.0" + "source": "https://github.com/googleapis/google-auth-library-php/tree/v1.45.0" }, - "time": "2024-05-02T16:03:51+00:00" + "time": "2024-12-11T02:10:48+00:00" }, { "name": "gregwar/captcha", @@ -362,22 +363,22 @@ }, { "name": "guzzlehttp/guzzle", - "version": "7.8.1", + "version": "7.9.2", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "41042bc7ab002487b876a0683fc8dce04ddce104" + "reference": "d281ed313b989f213357e3be1a179f02196ac99b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/41042bc7ab002487b876a0683fc8dce04ddce104", - "reference": "41042bc7ab002487b876a0683fc8dce04ddce104", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/d281ed313b989f213357e3be1a179f02196ac99b", + "reference": "d281ed313b989f213357e3be1a179f02196ac99b", "shasum": "" }, "require": { "ext-json": "*", - "guzzlehttp/promises": "^1.5.3 || ^2.0.1", - "guzzlehttp/psr7": "^1.9.1 || ^2.5.1", + "guzzlehttp/promises": "^1.5.3 || ^2.0.3", + "guzzlehttp/psr7": "^2.7.0", "php": "^7.2.5 || ^8.0", "psr/http-client": "^1.0", "symfony/deprecation-contracts": "^2.2 || ^3.0" @@ -388,9 +389,9 @@ "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", "ext-curl": "*", - "php-http/client-integration-tests": "dev-master#2c025848417c1135031fdf9c728ee53d0a7ceaee as 3.0.999", + "guzzle/client-integration-tests": "3.0.2", "php-http/message-factory": "^1.1", - "phpunit/phpunit": "^8.5.36 || ^9.6.15", + "phpunit/phpunit": "^8.5.39 || ^9.6.20", "psr/log": "^1.1 || ^2.0 || ^3.0" }, "suggest": { @@ -468,7 +469,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.8.1" + "source": "https://github.com/guzzle/guzzle/tree/7.9.2" }, "funding": [ { @@ -484,20 +485,20 @@ "type": "tidelift" } ], - "time": "2023-12-03T20:35:24+00:00" + "time": "2024-07-24T11:22:20+00:00" }, { "name": "guzzlehttp/promises", - "version": "2.0.2", + "version": "2.0.4", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "bbff78d96034045e58e13dedd6ad91b5d1253223" + "reference": "f9c436286ab2892c7db7be8c8da4ef61ccf7b455" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/bbff78d96034045e58e13dedd6ad91b5d1253223", - "reference": "bbff78d96034045e58e13dedd6ad91b5d1253223", + "url": "https://api.github.com/repos/guzzle/promises/zipball/f9c436286ab2892c7db7be8c8da4ef61ccf7b455", + "reference": "f9c436286ab2892c7db7be8c8da4ef61ccf7b455", "shasum": "" }, "require": { @@ -505,7 +506,7 @@ }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", - "phpunit/phpunit": "^8.5.36 || ^9.6.15" + "phpunit/phpunit": "^8.5.39 || ^9.6.20" }, "type": "library", "extra": { @@ -551,7 +552,7 @@ ], "support": { "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/2.0.2" + "source": "https://github.com/guzzle/promises/tree/2.0.4" }, "funding": [ { @@ -567,20 +568,20 @@ "type": "tidelift" } ], - "time": "2023-12-03T20:19:20+00:00" + "time": "2024-10-17T10:06:22+00:00" }, { "name": "guzzlehttp/psr7", - "version": "2.6.2", + "version": "2.7.0", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221" + "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/45b30f99ac27b5ca93cb4831afe16285f57b8221", - "reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/a70f5c95fb43bc83f07c9c948baa0dc1829bf201", + "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201", "shasum": "" }, "require": { @@ -595,8 +596,8 @@ }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", - "http-interop/http-factory-tests": "^0.9", - "phpunit/phpunit": "^8.5.36 || ^9.6.15" + "http-interop/http-factory-tests": "0.9.0", + "phpunit/phpunit": "^8.5.39 || ^9.6.20" }, "suggest": { "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" @@ -667,7 +668,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.6.2" + "source": "https://github.com/guzzle/psr7/tree/2.7.0" }, "funding": [ { @@ -683,7 +684,7 @@ "type": "tidelift" } ], - "time": "2023-12-03T20:05:35+00:00" + "time": "2024-07-18T11:15:46+00:00" }, { "name": "jsvrcek/ics", @@ -739,16 +740,16 @@ }, { "name": "monolog/monolog", - "version": "2.9.3", + "version": "2.10.0", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "a30bfe2e142720dfa990d0a7e573997f5d884215" + "reference": "5cf826f2991858b54d5c3809bee745560a1042a7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/a30bfe2e142720dfa990d0a7e573997f5d884215", - "reference": "a30bfe2e142720dfa990d0a7e573997f5d884215", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/5cf826f2991858b54d5c3809bee745560a1042a7", + "reference": "5cf826f2991858b54d5c3809bee745560a1042a7", "shasum": "" }, "require": { @@ -825,7 +826,7 @@ ], "support": { "issues": "https://github.com/Seldaek/monolog/issues", - "source": "https://github.com/Seldaek/monolog/tree/2.9.3" + "source": "https://github.com/Seldaek/monolog/tree/2.10.0" }, "funding": [ { @@ -837,28 +838,28 @@ "type": "tidelift" } ], - "time": "2024-04-12T20:52:51+00:00" + "time": "2024-11-12T12:43:37+00:00" }, { "name": "paragonie/constant_time_encoding", - "version": "v2.7.0", + "version": "v3.0.0", "source": { "type": "git", "url": "https://github.com/paragonie/constant_time_encoding.git", - "reference": "52a0d99e69f56b9ec27ace92ba56897fe6993105" + "reference": "df1e7fde177501eee2037dd159cf04f5f301a512" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/52a0d99e69f56b9ec27ace92ba56897fe6993105", - "reference": "52a0d99e69f56b9ec27ace92ba56897fe6993105", + "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/df1e7fde177501eee2037dd159cf04f5f301a512", + "reference": "df1e7fde177501eee2037dd159cf04f5f301a512", "shasum": "" }, "require": { - "php": "^7|^8" + "php": "^8" }, "require-dev": { - "phpunit/phpunit": "^6|^7|^8|^9", - "vimeo/psalm": "^1|^2|^3|^4" + "phpunit/phpunit": "^9", + "vimeo/psalm": "^4|^5" }, "type": "library", "autoload": { @@ -904,7 +905,7 @@ "issues": "https://github.com/paragonie/constant_time_encoding/issues", "source": "https://github.com/paragonie/constant_time_encoding" }, - "time": "2024-05-08T12:18:48+00:00" + "time": "2024-05-08T12:36:18+00:00" }, { "name": "paragonie/random_compat", @@ -958,16 +959,16 @@ }, { "name": "phpmailer/phpmailer", - "version": "v6.9.2", + "version": "v6.9.3", "source": { "type": "git", "url": "https://github.com/PHPMailer/PHPMailer.git", - "reference": "a7b17b42fa4887c92146243f3d2f4ccb962af17c" + "reference": "2f5c94fe7493efc213f643c23b1b1c249d40f47e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/a7b17b42fa4887c92146243f3d2f4ccb962af17c", - "reference": "a7b17b42fa4887c92146243f3d2f4ccb962af17c", + "url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/2f5c94fe7493efc213f643c23b1b1c249d40f47e", + "reference": "2f5c94fe7493efc213f643c23b1b1c249d40f47e", "shasum": "" }, "require": { @@ -1027,7 +1028,7 @@ "description": "PHPMailer is a full-featured email creation and transfer class for PHP", "support": { "issues": "https://github.com/PHPMailer/PHPMailer/issues", - "source": "https://github.com/PHPMailer/PHPMailer/tree/v6.9.2" + "source": "https://github.com/PHPMailer/PHPMailer/tree/v6.9.3" }, "funding": [ { @@ -1035,24 +1036,24 @@ "type": "github" } ], - "time": "2024-10-09T10:07:50+00:00" + "time": "2024-11-24T18:04:13+00:00" }, { "name": "phpseclib/phpseclib", - "version": "3.0.37", + "version": "3.0.43", "source": { "type": "git", "url": "https://github.com/phpseclib/phpseclib.git", - "reference": "cfa2013d0f68c062055180dd4328cc8b9d1f30b8" + "reference": "709ec107af3cb2f385b9617be72af8cf62441d02" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/cfa2013d0f68c062055180dd4328cc8b9d1f30b8", - "reference": "cfa2013d0f68c062055180dd4328cc8b9d1f30b8", + "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/709ec107af3cb2f385b9617be72af8cf62441d02", + "reference": "709ec107af3cb2f385b9617be72af8cf62441d02", "shasum": "" }, "require": { - "paragonie/constant_time_encoding": "^1|^2", + "paragonie/constant_time_encoding": "^1|^2|^3", "paragonie/random_compat": "^1.4|^2.0|^9.99.99", "php": ">=5.6.1" }, @@ -1129,7 +1130,7 @@ ], "support": { "issues": "https://github.com/phpseclib/phpseclib/issues", - "source": "https://github.com/phpseclib/phpseclib/tree/3.0.37" + "source": "https://github.com/phpseclib/phpseclib/tree/3.0.43" }, "funding": [ { @@ -1145,7 +1146,7 @@ "type": "tidelift" } ], - "time": "2024-03-03T02:14:58+00:00" + "time": "2024-12-14T21:12:59+00:00" }, { "name": "psr/cache", @@ -1358,16 +1359,16 @@ }, { "name": "psr/log", - "version": "3.0.0", + "version": "3.0.2", "source": { "type": "git", "url": "https://github.com/php-fig/log.git", - "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001" + "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001", - "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001", + "url": "https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", + "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", "shasum": "" }, "require": { @@ -1402,9 +1403,9 @@ "psr-3" ], "support": { - "source": "https://github.com/php-fig/log/tree/3.0.0" + "source": "https://github.com/php-fig/log/tree/3.0.2" }, - "time": "2021-07-14T16:46:02+00:00" + "time": "2024-09-11T13:17:53+00:00" }, { "name": "ralouphie/getallheaders", @@ -1452,27 +1453,27 @@ }, { "name": "sabre/uri", - "version": "3.0.1", + "version": "3.0.2", "source": { "type": "git", "url": "https://github.com/sabre-io/uri.git", - "reference": "1774043c843f1db7654ecc93368a98be29b07544" + "reference": "38eeab6ed9eec435a2188db489d4649c56272c51" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sabre-io/uri/zipball/1774043c843f1db7654ecc93368a98be29b07544", - "reference": "1774043c843f1db7654ecc93368a98be29b07544", + "url": "https://api.github.com/repos/sabre-io/uri/zipball/38eeab6ed9eec435a2188db489d4649c56272c51", + "reference": "38eeab6ed9eec435a2188db489d4649c56272c51", "shasum": "" }, "require": { "php": "^7.4 || ^8.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.17", - "phpstan/extension-installer": "^1.3", - "phpstan/phpstan": "^1.10", - "phpstan/phpstan-phpunit": "^1.3", - "phpstan/phpstan-strict-rules": "^1.5", + "friendsofphp/php-cs-fixer": "^3.64", + "phpstan/extension-installer": "^1.4", + "phpstan/phpstan": "^1.12", + "phpstan/phpstan-phpunit": "^1.4", + "phpstan/phpstan-strict-rules": "^1.6", "phpunit/phpunit": "^9.6" }, "type": "library", @@ -1508,20 +1509,20 @@ "issues": "https://github.com/sabre-io/uri/issues", "source": "https://github.com/fruux/sabre-uri" }, - "time": "2023-06-09T07:04:02+00:00" + "time": "2024-09-04T15:30:08+00:00" }, { "name": "sabre/vobject", - "version": "4.5.4", + "version": "4.5.6", "source": { "type": "git", "url": "https://github.com/sabre-io/vobject.git", - "reference": "a6d53a3e5bec85ed3dd78868b7de0f5b4e12f772" + "reference": "900266bb3bd448a9f7f41f82344ad0aba237cb27" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sabre-io/vobject/zipball/a6d53a3e5bec85ed3dd78868b7de0f5b4e12f772", - "reference": "a6d53a3e5bec85ed3dd78868b7de0f5b4e12f772", + "url": "https://api.github.com/repos/sabre-io/vobject/zipball/900266bb3bd448a9f7f41f82344ad0aba237cb27", + "reference": "900266bb3bd448a9f7f41f82344ad0aba237cb27", "shasum": "" }, "require": { @@ -1531,9 +1532,9 @@ }, "require-dev": { "friendsofphp/php-cs-fixer": "~2.17.1", - "phpstan/phpstan": "^0.12", + "phpstan/phpstan": "^0.12 || ^1.11", "phpunit/php-invoker": "^2.0 || ^3.1", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.0" + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.6" }, "suggest": { "hoa/bench": "If you would like to run the benchmark scripts" @@ -1612,20 +1613,20 @@ "issues": "https://github.com/sabre-io/vobject/issues", "source": "https://github.com/fruux/sabre-vobject" }, - "time": "2023-11-09T12:54:37+00:00" + "time": "2024-10-14T11:53:54+00:00" }, { "name": "sabre/xml", - "version": "4.0.5", + "version": "4.0.6", "source": { "type": "git", "url": "https://github.com/sabre-io/xml.git", - "reference": "c29e49fcf9ca8ca058b1e350ee9abe4205c0de89" + "reference": "a89257fd188ce30e456b841b6915f27905dfdbe3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sabre-io/xml/zipball/c29e49fcf9ca8ca058b1e350ee9abe4205c0de89", - "reference": "c29e49fcf9ca8ca058b1e350ee9abe4205c0de89", + "url": "https://api.github.com/repos/sabre-io/xml/zipball/a89257fd188ce30e456b841b6915f27905dfdbe3", + "reference": "a89257fd188ce30e456b841b6915f27905dfdbe3", "shasum": "" }, "require": { @@ -1637,8 +1638,8 @@ "sabre/uri": ">=2.0,<4.0.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.51", - "phpstan/phpstan": "^1.10", + "friendsofphp/php-cs-fixer": "^3.64", + "phpstan/phpstan": "^1.12", "phpunit/phpunit": "^9.6" }, "type": "library", @@ -1681,20 +1682,20 @@ "issues": "https://github.com/sabre-io/xml/issues", "source": "https://github.com/fruux/sabre-xml" }, - "time": "2024-04-18T10:44:25+00:00" + "time": "2024-09-06T08:00:55+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v3.5.0", + "version": "v3.5.1", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1" + "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", - "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6", + "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6", "shasum": "" }, "require": { @@ -1732,7 +1733,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.1" }, "funding": [ { @@ -1748,20 +1749,20 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2024-09-25T14:20:29+00:00" }, { "name": "symfony/finder", - "version": "v6.4.8", + "version": "v6.4.13", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "3ef977a43883215d560a2cecb82ec8e62131471c" + "reference": "daea9eca0b08d0ed1dc9ab702a46128fd1be4958" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/3ef977a43883215d560a2cecb82ec8e62131471c", - "reference": "3ef977a43883215d560a2cecb82ec8e62131471c", + "url": "https://api.github.com/repos/symfony/finder/zipball/daea9eca0b08d0ed1dc9ab702a46128fd1be4958", + "reference": "daea9eca0b08d0ed1dc9ab702a46128fd1be4958", "shasum": "" }, "require": { @@ -1796,7 +1797,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v6.4.8" + "source": "https://github.com/symfony/finder/tree/v6.4.13" }, "funding": [ { @@ -1812,7 +1813,7 @@ "type": "tidelift" } ], - "time": "2024-05-31T14:49:08+00:00" + "time": "2024-10-01T08:30:56+00:00" } ], "packages-dev": [ @@ -1888,16 +1889,16 @@ }, { "name": "myclabs/deep-copy", - "version": "1.11.1", + "version": "1.12.1", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c" + "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", - "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/123267b2c49fbf30d78a7b2d333f6be754b94845", + "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845", "shasum": "" }, "require": { @@ -1905,11 +1906,12 @@ }, "conflict": { "doctrine/collections": "<1.6.8", - "doctrine/common": "<2.13.3 || >=3,<3.2.2" + "doctrine/common": "<2.13.3 || >=3 <3.2.2" }, "require-dev": { "doctrine/collections": "^1.6.8", "doctrine/common": "^2.13.3 || ^3.2.2", + "phpspec/prophecy": "^1.10", "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" }, "type": "library", @@ -1935,7 +1937,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.11.1" + "source": "https://github.com/myclabs/DeepCopy/tree/1.12.1" }, "funding": [ { @@ -1943,20 +1945,20 @@ "type": "tidelift" } ], - "time": "2023-03-08T13:26:56+00:00" + "time": "2024-11-08T17:47:46+00:00" }, { "name": "nikic/php-parser", - "version": "v5.0.2", + "version": "v5.3.1", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "139676794dc1e9231bf7bcd123cfc0c99182cb13" + "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/139676794dc1e9231bf7bcd123cfc0c99182cb13", - "reference": "139676794dc1e9231bf7bcd123cfc0c99182cb13", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/8eea230464783aa9671db8eea6f8c6ac5285794b", + "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b", "shasum": "" }, "require": { @@ -1967,7 +1969,7 @@ }, "require-dev": { "ircmaxell/php-yacc": "^0.0.7", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" + "phpunit/phpunit": "^9.0" }, "bin": [ "bin/php-parse" @@ -1999,9 +2001,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.0.2" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.3.1" }, - "time": "2024-03-05T20:51:40+00:00" + "time": "2024-10-08T18:51:32+00:00" }, { "name": "phar-io/manifest", @@ -2123,35 +2125,35 @@ }, { "name": "phpunit/php-code-coverage", - "version": "9.2.31", + "version": "9.2.32", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "48c34b5d8d983006bd2adc2d0de92963b9155965" + "reference": "85402a822d1ecf1db1096959413d35e1c37cf1a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/48c34b5d8d983006bd2adc2d0de92963b9155965", - "reference": "48c34b5d8d983006bd2adc2d0de92963b9155965", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/85402a822d1ecf1db1096959413d35e1c37cf1a5", + "reference": "85402a822d1ecf1db1096959413d35e1c37cf1a5", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.18 || ^5.0", + "nikic/php-parser": "^4.19.1 || ^5.1.0", "php": ">=7.3", - "phpunit/php-file-iterator": "^3.0.3", - "phpunit/php-text-template": "^2.0.2", - "sebastian/code-unit-reverse-lookup": "^2.0.2", - "sebastian/complexity": "^2.0", - "sebastian/environment": "^5.1.2", - "sebastian/lines-of-code": "^1.0.3", - "sebastian/version": "^3.0.1", - "theseer/tokenizer": "^1.2.0" + "phpunit/php-file-iterator": "^3.0.6", + "phpunit/php-text-template": "^2.0.4", + "sebastian/code-unit-reverse-lookup": "^2.0.3", + "sebastian/complexity": "^2.0.3", + "sebastian/environment": "^5.1.5", + "sebastian/lines-of-code": "^1.0.4", + "sebastian/version": "^3.0.2", + "theseer/tokenizer": "^1.2.3" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^9.6" }, "suggest": { "ext-pcov": "PHP extension that provides line coverage", @@ -2160,7 +2162,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "9.2-dev" + "dev-main": "9.2.x-dev" } }, "autoload": { @@ -2189,7 +2191,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.31" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.32" }, "funding": [ { @@ -2197,7 +2199,7 @@ "type": "github" } ], - "time": "2024-03-02T06:37:42+00:00" + "time": "2024-08-22T04:23:01+00:00" }, { "name": "phpunit/php-file-iterator", @@ -2442,45 +2444,45 @@ }, { "name": "phpunit/phpunit", - "version": "9.6.19", + "version": "9.6.22", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "a1a54a473501ef4cdeaae4e06891674114d79db8" + "reference": "f80235cb4d3caa59ae09be3adf1ded27521d1a9c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a1a54a473501ef4cdeaae4e06891674114d79db8", - "reference": "a1a54a473501ef4cdeaae4e06891674114d79db8", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/f80235cb4d3caa59ae09be3adf1ded27521d1a9c", + "reference": "f80235cb4d3caa59ae09be3adf1ded27521d1a9c", "shasum": "" }, "require": { - "doctrine/instantiator": "^1.3.1 || ^2", + "doctrine/instantiator": "^1.5.0 || ^2", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", "ext-mbstring": "*", "ext-xml": "*", "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.10.1", - "phar-io/manifest": "^2.0.3", - "phar-io/version": "^3.0.2", + "myclabs/deep-copy": "^1.12.1", + "phar-io/manifest": "^2.0.4", + "phar-io/version": "^3.2.1", "php": ">=7.3", - "phpunit/php-code-coverage": "^9.2.28", - "phpunit/php-file-iterator": "^3.0.5", + "phpunit/php-code-coverage": "^9.2.32", + "phpunit/php-file-iterator": "^3.0.6", "phpunit/php-invoker": "^3.1.1", - "phpunit/php-text-template": "^2.0.3", - "phpunit/php-timer": "^5.0.2", - "sebastian/cli-parser": "^1.0.1", - "sebastian/code-unit": "^1.0.6", + "phpunit/php-text-template": "^2.0.4", + "phpunit/php-timer": "^5.0.3", + "sebastian/cli-parser": "^1.0.2", + "sebastian/code-unit": "^1.0.8", "sebastian/comparator": "^4.0.8", - "sebastian/diff": "^4.0.3", - "sebastian/environment": "^5.1.3", - "sebastian/exporter": "^4.0.5", - "sebastian/global-state": "^5.0.1", - "sebastian/object-enumerator": "^4.0.3", - "sebastian/resource-operations": "^3.0.3", - "sebastian/type": "^3.2", + "sebastian/diff": "^4.0.6", + "sebastian/environment": "^5.1.5", + "sebastian/exporter": "^4.0.6", + "sebastian/global-state": "^5.0.7", + "sebastian/object-enumerator": "^4.0.4", + "sebastian/resource-operations": "^3.0.4", + "sebastian/type": "^3.2.1", "sebastian/version": "^3.0.2" }, "suggest": { @@ -2525,7 +2527,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.19" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.22" }, "funding": [ { @@ -2541,7 +2543,7 @@ "type": "tidelift" } ], - "time": "2024-04-05T04:35:58+00:00" + "time": "2024-12-05T13:48:26+00:00" }, { "name": "roave/security-advisories", @@ -2549,19 +2551,24 @@ "source": { "type": "git", "url": "https://github.com/Roave/SecurityAdvisories.git", - "reference": "6bdc6b064ecc2d47fd9aad5f3dce20f2a7dfcd64" + "reference": "4aa68d3ea343b9576b5fdebef1332f701a7bc994" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/6bdc6b064ecc2d47fd9aad5f3dce20f2a7dfcd64", - "reference": "6bdc6b064ecc2d47fd9aad5f3dce20f2a7dfcd64", + "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/4aa68d3ea343b9576b5fdebef1332f701a7bc994", + "reference": "4aa68d3ea343b9576b5fdebef1332f701a7bc994", "shasum": "" }, "conflict": { "3f/pygmentize": "<1.2", - "admidio/admidio": "<4.2.13", + "admidio/admidio": "<4.3.12", "adodb/adodb-php": "<=5.20.20|>=5.21,<=5.21.3", "aheinze/cockpit": "<2.2", + "aimeos/ai-admin-graphql": ">=2022.04.1,<2022.10.10|>=2023.04.1,<2023.10.6|>=2024.04.1,<2024.07.2", + "aimeos/ai-admin-jsonadm": "<2020.10.13|>=2021.04.1,<2021.10.6|>=2022.04.1,<2022.10.3|>=2023.04.1,<2023.10.4|==2024.04.1", + "aimeos/ai-client-html": ">=2020.04.1,<2020.10.27|>=2021.04.1,<2021.10.22|>=2022.04.1,<2022.10.13|>=2023.04.1,<2023.10.15|>=2024.04.1,<2024.04.7", + "aimeos/ai-controller-frontend": "<2020.10.15|>=2021.04.1,<2021.10.8|>=2022.04.1,<2022.10.8|>=2023.04.1,<2023.10.9|==2024.04.1", + "aimeos/aimeos-core": ">=2022.04.1,<2022.10.17|>=2023.04.1,<2023.10.17|>=2024.04.1,<2024.04.7", "aimeos/aimeos-typo3": "<19.10.12|>=20,<20.10.5", "airesvsg/acf-to-rest-api": "<=3.1", "akaunting/akaunting": "<2.1.13", @@ -2569,6 +2576,7 @@ "alextselegidis/easyappointments": "<1.5", "alterphp/easyadmin-extension-bundle": ">=1.2,<1.2.11|>=1.3,<1.3.1", "amazing/media2click": ">=1,<1.3.3", + "ameos/ameos_tarteaucitron": "<1.2.23", "amphp/artax": "<1.0.6|>=2,<2.0.6", "amphp/http": "<=1.7.2|>=2,<=2.1", "amphp/http-client": ">=4,<4.4", @@ -2586,13 +2594,15 @@ "athlon1600/php-proxy": "<=5.1", "athlon1600/php-proxy-app": "<=3", "austintoddj/canvas": "<=3.4.2", - "automad/automad": "<=1.10.9", + "auth0/wordpress": "<=4.6", + "automad/automad": "<2.0.0.0-alpha5", "automattic/jetpack": "<9.8", "awesome-support/awesome-support": "<=6.0.7", "aws/aws-sdk-php": "<3.288.1", "azuracast/azuracast": "<0.18.3", - "backdrop/backdrop": "<1.24.2", + "backdrop/backdrop": "<1.27.3|>=1.28,<1.28.2", "backpack/crud": "<3.4.9", + "backpack/filemanager": "<2.0.2|>=3,<3.0.9", "bacula-web/bacula-web": "<8.0.0.0-RC2-dev", "badaso/core": "<2.7", "bagisto/bagisto": "<2.1", @@ -2600,18 +2610,19 @@ "barrelstrength/sprout-forms": "<3.9", "barryvdh/laravel-translation-manager": "<0.6.2", "barzahlen/barzahlen-php": "<2.0.1", - "baserproject/basercms": "<5.0.9", + "baserproject/basercms": "<=5.1.1", "bassjobsen/bootstrap-3-typeahead": ">4.0.2", "bbpress/bbpress": "<2.6.5", "bcosca/fatfree": "<3.7.2", "bedita/bedita": "<4", "bigfork/silverstripe-form-capture": ">=3,<3.1.1", - "billz/raspap-webgui": "<2.9.5", + "billz/raspap-webgui": "<=3.1.4", "bk2k/bootstrap-package": ">=7.1,<7.1.2|>=8,<8.0.8|>=9,<9.0.4|>=9.1,<9.1.3|>=10,<10.0.10|>=11,<11.0.3", "blueimp/jquery-file-upload": "==6.4.4", "bmarshall511/wordpress_zero_spam": "<5.2.13", "bolt/bolt": "<3.7.2", "bolt/core": "<=4.2", + "born05/craft-twofactorauthentication": "<3.3.4", "bottelet/flarepoint": "<2.2.1", "bref/bref": "<2.1.17", "brightlocal/phpwhois": "<=4.2.5", @@ -2627,6 +2638,7 @@ "cardgate/magento2": "<2.0.33", "cardgate/woocommerce": "<=3.1.15", "cart2quote/module-quotation": ">=4.1.6,<=4.4.5|>=5,<5.4.4", + "cart2quote/module-quotation-encoded": ">=4.1.6,<=4.4.5|>=5,<5.4.4", "cartalyst/sentry": "<=2.1.6", "catfan/medoo": "<1.7.5", "causal/oidc": "<2.1", @@ -2636,38 +2648,41 @@ "chriskacerguis/codeigniter-restserver": "<=2.7.1", "civicrm/civicrm-core": ">=4.2,<4.2.9|>=4.3,<4.3.3", "ckeditor/ckeditor": "<4.24", - "cockpit-hq/cockpit": "<=2.6.3|==2.7", + "cockpit-hq/cockpit": "<2.7|==2.7", "codeception/codeception": "<3.1.3|>=4,<4.1.22", "codeigniter/framework": "<3.1.9", "codeigniter4/framework": "<4.4.7", "codeigniter4/shield": "<1.0.0.0-beta8", "codiad/codiad": "<=2.8.4", - "composer/composer": "<1.10.27|>=2,<2.2.23|>=2.3,<2.7", - "concrete5/concrete5": "<9.2.8", + "composer/composer": "<1.10.27|>=2,<2.2.24|>=2.3,<2.7.7", + "concrete5/concrete5": "<9.3.4", "concrete5/core": "<8.5.8|>=9,<9.1", "contao-components/mediaelement": ">=2.14.2,<2.21.1", "contao/comments-bundle": ">=2,<4.13.40|>=5.0.0.0-RC1-dev,<5.3.4", - "contao/contao": ">=3,<3.5.37|>=4,<4.4.56|>=4.5,<4.9.40|>=4.10,<4.11.7|>=4.13,<4.13.21|>=5.1,<5.1.4", + "contao/contao": "<=5.4.1", "contao/core": "<3.5.39", - "contao/core-bundle": "<4.13.40|>=5,<5.3.4", + "contao/core-bundle": "<4.13.49|>=5,<5.3.15|>=5.4,<5.4.3", "contao/listing-bundle": ">=3,<=3.5.30|>=4,<4.4.8", "contao/managed-edition": "<=1.5", "corveda/phpsandbox": "<1.3.5", "cosenary/instagram": "<=2.3", - "craftcms/cms": "<4.6.2", + "craftcms/cms": "<4.13.2|>=5,<5.5.2", "croogo/croogo": "<4", "cuyz/valinor": "<0.12", + "czim/file-handling": "<1.5|>=2,<2.3", "czproject/git-php": "<4.0.3", + "damienharper/auditor-bundle": "<5.2.6", "dapphp/securimage": "<3.6.6", "darylldoyle/safe-svg": "<1.9.10", "datadog/dd-trace": ">=0.30,<0.30.2", "datatables/datatables": "<1.10.10", "david-garcia/phpwhois": "<=4.3.1", "dbrisinajumi/d2files": "<1", - "dcat/laravel-admin": "<=2.1.3.0-beta", + "dcat/laravel-admin": "<=2.1.3", "derhansen/fe_change_pwd": "<2.0.5|>=3,<3.0.3", "derhansen/sf_event_mgt": "<4.3.1|>=5,<5.1.1|>=7,<7.4", "desperado/xml-bundle": "<=0.1.7", + "dev-lancer/minecraft-motd-parser": "<=1.0.5", "devgroup/dotplant": "<2020.09.14-dev", "directmailteam/direct-mail": "<6.0.3|>=7,<7.0.3|>=8,<9.5.2", "doctrine/annotations": "<1.2.7", @@ -2675,21 +2690,22 @@ "doctrine/common": "<2.4.3|>=2.5,<2.5.1", "doctrine/dbal": ">=2,<2.0.8|>=2.1,<2.1.2|>=3,<3.1.4", "doctrine/doctrine-bundle": "<1.5.2", - "doctrine/doctrine-module": "<=0.7.1", + "doctrine/doctrine-module": "<0.7.2", "doctrine/mongodb-odm": "<1.0.2", "doctrine/mongodb-odm-bundle": "<3.0.1", - "doctrine/orm": ">=2,<2.4.8|>=2.5,<2.5.1|>=2.8.3,<2.8.4", - "dolibarr/dolibarr": "<=19", + "doctrine/orm": ">=1,<1.2.4|>=2,<2.4.8|>=2.5,<2.5.1|>=2.8.3,<2.8.4", + "dolibarr/dolibarr": "<19.0.2", "dompdf/dompdf": "<2.0.4", "doublethreedigital/guest-entries": "<3.1.2", - "drupal/core": ">=6,<6.38|>=7,<7.96|>=8,<10.1.8|>=10.2,<10.2.2", - "drupal/drupal": ">=5,<5.11|>=6,<6.38|>=7,<7.80|>=8,<8.9.16|>=9,<9.1.12|>=9.2,<9.2.4", + "drupal/core": ">=6,<6.38|>=7,<7.102|>=8,<10.2.11|>=10.3,<10.3.9|>=11,<11.0.8", + "drupal/core-recommended": ">=7,<7.102|>=8,<10.2.11|>=10.3,<10.3.9|>=11,<11.0.8", + "drupal/drupal": ">=5,<5.11|>=6,<6.38|>=7,<7.102|>=8,<10.2.11|>=10.3,<10.3.9|>=11,<11.0.8", "duncanmcclean/guest-entries": "<3.1.2", "dweeves/magmi": "<=0.7.24", "ec-cube/ec-cube": "<2.4.4|>=2.11,<=2.17.1|>=3,<=3.0.18.0-patch4|>=4,<=4.1.2", "ecodev/newsletter": "<=4", "ectouch/ectouch": "<=2.7.2", - "egroupware/egroupware": "<16.1.20170922", + "egroupware/egroupware": "<23.1.20240624", "elefant/cms": "<2.0.7", "elgg/elgg": "<3.3.24|>=4,<4.0.5", "elijaa/phpmemcacheadmin": "<=1.3", @@ -2707,29 +2723,34 @@ "ezsystems/ezdemo-ls-extension": ">=5.4,<5.4.2.1-dev", "ezsystems/ezfind-ls": ">=5.3,<5.3.6.1-dev|>=5.4,<5.4.11.1-dev|>=2017.12,<2017.12.0.1-dev", "ezsystems/ezplatform": "<=1.13.6|>=2,<=2.5.24", - "ezsystems/ezplatform-admin-ui": ">=1.3,<1.3.5|>=1.4,<1.4.6|>=1.5,<1.5.29|>=2.3,<2.3.26", + "ezsystems/ezplatform-admin-ui": ">=1.3,<1.3.5|>=1.4,<1.4.6|>=1.5,<1.5.29|>=2.3,<2.3.26|>=3.3,<3.3.39", "ezsystems/ezplatform-admin-ui-assets": ">=4,<4.2.1|>=5,<5.0.1|>=5.1,<5.1.1", "ezsystems/ezplatform-graphql": ">=1.0.0.0-RC1-dev,<1.0.13|>=2.0.0.0-beta1,<2.3.12", + "ezsystems/ezplatform-http-cache": "<2.3.16", "ezsystems/ezplatform-kernel": "<1.2.5.1-dev|>=1.3,<1.3.35", "ezsystems/ezplatform-rest": ">=1.2,<=1.2.2|>=1.3,<1.3.8", - "ezsystems/ezplatform-richtext": ">=2.3,<2.3.7.1-dev", + "ezsystems/ezplatform-richtext": ">=2.3,<2.3.7.1-dev|>=3.3,<3.3.40", "ezsystems/ezplatform-solr-search-engine": ">=1.7,<1.7.12|>=2,<2.0.2|>=3.3,<3.3.15", "ezsystems/ezplatform-user": ">=1,<1.0.1", "ezsystems/ezpublish-kernel": "<6.13.8.2-dev|>=7,<7.5.31", - "ezsystems/ezpublish-legacy": "<=2017.12.7.3|>=2018.06,<=2019.03.5.1", + "ezsystems/ezpublish-legacy": "<=2017.12.7.3|>=2018.6,<=2019.03.5.1", "ezsystems/platform-ui-assets-bundle": ">=4.2,<4.2.3", "ezsystems/repository-forms": ">=2.3,<2.3.2.1-dev|>=2.5,<2.5.15", - "ezyang/htmlpurifier": "<4.1.1", + "ezyang/htmlpurifier": "<=4.2", "facade/ignition": "<1.16.15|>=2,<2.4.2|>=2.5,<2.5.2", "facturascripts/facturascripts": "<=2022.08", "fastly/magento2": "<1.2.26", "feehi/cms": "<=2.1.1", "feehi/feehicms": "<=2.1.1", "fenom/fenom": "<=2.12.1", + "filament/actions": ">=3.2,<3.2.123", + "filament/infolists": ">=3,<3.2.115", + "filament/tables": ">=3,<3.2.115", "filegator/filegator": "<7.8", "filp/whoops": "<2.1.13", "fineuploader/php-traditional-server": "<=1.2.2", "firebase/php-jwt": "<6", + "fisharebest/webtrees": "<=2.1.18", "fixpunkt/fp-masterquiz": "<2.2.1|>=3,<3.5.2", "fixpunkt/fp-newsletter": "<1.1.1|>=2,<2.1.2|>=2.2,<3.2.6", "flarum/core": "<1.8.5", @@ -2750,20 +2771,21 @@ "frappant/frp-form-answers": "<3.1.2|>=4,<4.0.2", "friendsofsymfony/oauth2-php": "<1.3", "friendsofsymfony/rest-bundle": ">=1.2,<1.2.2", - "friendsofsymfony/user-bundle": ">=1.2,<1.3.5", + "friendsofsymfony/user-bundle": ">=1,<1.3.5", "friendsofsymfony1/swiftmailer": ">=4,<5.4.13|>=6,<6.2.5", - "friendsofsymfony1/symfony1": ">=1.1,<1.15.19", + "friendsofsymfony1/symfony1": ">=1.1,<1.5.19", "friendsoftypo3/mediace": ">=7.6.2,<7.6.5", "friendsoftypo3/openid": ">=4.5,<4.5.31|>=4.7,<4.7.16|>=6,<6.0.11|>=6.1,<6.1.6", "froala/wysiwyg-editor": "<3.2.7|>=4.0.1,<=4.1.3", - "froxlor/froxlor": "<2.1.9", + "froxlor/froxlor": "<=2.2.0.0-RC3", "frozennode/administrator": "<=5.0.12", "fuel/core": "<1.8.1", - "funadmin/funadmin": "<=3.2|>=3.3.2,<=3.3.3", + "funadmin/funadmin": "<=5.0.2", "gaoming13/wechat-php-sdk": "<=1.10.2", "genix/cms": "<=1.1.11", - "getgrav/grav": "<1.7.45", - "getkirby/cms": "<4.1.1", + "getformwork/formwork": "<1.13.1|==2.0.0.0-beta1", + "getgrav/grav": "<1.7.46", + "getkirby/cms": "<=3.6.6.5|>=3.7,<=3.7.5.4|>=3.8,<=3.8.4.3|>=3.9,<=3.9.8.1|>=3.10,<=3.10.1|>=4,<=4.3", "getkirby/kirby": "<=2.5.12", "getkirby/panel": "<2.5.14", "getkirby/starterkit": "<=3.7.0.2", @@ -2775,7 +2797,7 @@ "gos/web-socket-bundle": "<1.10.4|>=2,<2.6.1|>=3,<3.3", "gree/jose": "<2.2.1", "gregwar/rst": "<1.0.3", - "grumpydictator/firefly-iii": "<6.1.7", + "grumpydictator/firefly-iii": "<6.1.17", "gugoan/economizzer": "<=0.9.0.0-beta1", "guzzlehttp/guzzle": "<6.5.8|>=7,<7.4.5", "guzzlehttp/psr7": "<1.9.1|>=2,<2.4.5", @@ -2789,17 +2811,19 @@ "hov/jobfair": "<1.0.13|>=2,<2.0.2", "httpsoft/http-message": "<1.0.12", "hyn/multi-tenant": ">=5.6,<5.7.2", - "ibexa/admin-ui": ">=4.2,<4.2.3", + "ibexa/admin-ui": ">=4.2,<4.2.3|>=4.6,<4.6.14", "ibexa/core": ">=4,<4.0.7|>=4.1,<4.1.4|>=4.2,<4.2.3|>=4.5,<4.5.6|>=4.6,<4.6.2", + "ibexa/fieldtype-richtext": ">=4.6,<4.6.10", "ibexa/graphql": ">=2.5,<2.5.31|>=3.3,<3.3.28|>=4.2,<4.2.3", - "ibexa/post-install": "<=1.0.4", + "ibexa/http-cache": ">=4.6,<4.6.14", + "ibexa/post-install": "<1.0.16|>=4.6,<4.6.14", "ibexa/solr": ">=4.5,<4.5.4", "ibexa/user": ">=4,<4.4.3", "icecoder/icecoder": "<=8.1", "idno/known": "<=1.3.1", "ilicmiljan/secure-props": ">=1.2,<1.2.2", "illuminate/auth": "<5.5.10", - "illuminate/cookie": ">=4,<=4.0.11|>=4.1,<=4.1.99999|>=4.2,<=4.2.99999|>=5,<=5.0.99999|>=5.1,<=5.1.99999|>=5.2,<=5.2.99999|>=5.3,<=5.3.99999|>=5.4,<=5.4.99999|>=5.5,<=5.5.49|>=5.6,<=5.6.99999|>=5.7,<=5.7.99999|>=5.8,<=5.8.99999|>=6,<6.18.31|>=7,<7.22.4", + "illuminate/cookie": ">=4,<=4.0.11|>=4.1,<6.18.31|>=7,<7.22.4", "illuminate/database": "<6.20.26|>=7,<7.30.5|>=8,<8.40", "illuminate/encryption": ">=4,<=4.0.11|>=4.1,<=4.1.31|>=4.2,<=4.2.22|>=5,<=5.0.35|>=5.1,<=5.1.46|>=5.2,<=5.2.45|>=5.3,<=5.3.31|>=5.4,<=5.4.36|>=5.5,<5.5.40|>=5.6,<5.6.15", "illuminate/view": "<6.20.42|>=7,<7.30.6|>=8,<8.75", @@ -2809,9 +2833,11 @@ "in2code/femanager": "<5.5.3|>=6,<6.3.4|>=7,<7.2.3", "in2code/ipandlanguageredirect": "<5.1.2", "in2code/lux": "<17.6.1|>=18,<24.0.2", + "in2code/powermail": "<7.5.1|>=8,<8.5.1|>=9,<10.9.1|>=11,<12.4.1", "innologi/typo3-appointments": "<2.0.6", "intelliants/subrion": "<4.2.2", "inter-mediator/inter-mediator": "==5.5", + "ipl/web": "<0.10.1", "islandora/islandora": ">=2,<2.4.1", "ivankristianto/phpwhois": "<=4.3", "jackalope/jackalope-doctrine-dbal": "<1.7.4", @@ -2832,30 +2858,35 @@ "jsdecena/laracom": "<2.0.9", "jsmitty12/phpwhois": "<5.1", "juzaweb/cms": "<=3.4", + "jweiland/events2": "<8.3.8|>=9,<9.0.6", "kazist/phpwhois": "<=4.2.6", "kelvinmo/simplexrd": "<3.1.1", "kevinpapst/kimai2": "<1.16.7", "khodakhah/nodcms": "<=3", - "kimai/kimai": "<2.16", + "kimai/kimai": "<=2.20.1", "kitodo/presentation": "<3.2.3|>=3.3,<3.3.4", "klaviyo/magento2-extension": ">=1,<3", "knplabs/knp-snappy": "<=1.4.2", "kohana/core": "<3.3.3", - "krayin/laravel-crm": "<1.2.2", + "krayin/laravel-crm": "<=1.3", "kreait/firebase-php": ">=3.2,<3.8.1", "kumbiaphp/kumbiapp": "<=1.1.1", "la-haute-societe/tcpdf": "<6.2.22", "laminas/laminas-diactoros": "<2.18.1|==2.19|==2.20|==2.21|==2.22|==2.23|>=2.24,<2.24.2|>=2.25,<2.25.2", "laminas/laminas-form": "<2.17.1|>=3,<3.0.2|>=3.1,<3.1.1", "laminas/laminas-http": "<2.14.2", + "lara-zeus/artemis": ">=1,<=1.0.6", + "lara-zeus/dynamic-dashboard": ">=3,<=3.0.1", "laravel/fortify": "<1.11.1", - "laravel/framework": "<6.20.44|>=7,<7.30.6|>=8,<8.75", + "laravel/framework": "<6.20.45|>=7,<7.30.7|>=8,<8.83.28|>=9,<9.52.17|>=10,<10.48.23|>=11,<11.31", "laravel/laravel": ">=5.4,<5.4.22", - "laravel/socialite": ">=1,<1.0.99|>=2,<2.0.10", + "laravel/pulse": "<1.3.1", + "laravel/reverb": "<1.4", + "laravel/socialite": ">=1,<2.0.10", "latte/latte": "<2.10.8", "lavalite/cms": "<=9|==10.1", "lcobucci/jwt": ">=3.4,<3.4.6|>=4,<4.0.4|>=4.1,<4.1.5", - "league/commonmark": "<0.18.3", + "league/commonmark": "<2.6", "league/flysystem": "<1.1.4|>=2,<2.1.1", "league/oauth2-server": ">=8.3.2,<8.4.2|>=8.5,<8.5.3", "lexik/jwt-authentication-bundle": "<2.10.7|>=2.11,<2.11.3", @@ -2863,26 +2894,31 @@ "librenms/librenms": "<2017.08.18", "liftkit/database": "<2.13.2", "lightsaml/lightsaml": "<1.3.5", - "limesurvey/limesurvey": "<3.27.19", + "limesurvey/limesurvey": "<6.5.12", "livehelperchat/livehelperchat": "<=3.91", - "livewire/livewire": ">2.2.4,<2.2.6|>=3.3.5,<3.4.9", + "livewire/livewire": "<2.12.7|>=3.0.0.0-beta1,<3.5.2", "lms/routes": "<2.1.1", "localizationteam/l10nmgr": "<7.4|>=8,<8.7|>=9,<9.2", "luyadev/yii-helpers": "<1.2.1", - "magento/community-edition": "<2.4.3.0-patch3|>=2.4.4,<2.4.5", + "maestroerror/php-heic-to-jpg": "<1.0.5", + "magento/community-edition": "<2.4.5|==2.4.5|>=2.4.5.0-patch1,<2.4.5.0-patch10|==2.4.6|>=2.4.6.0-patch1,<2.4.6.0-patch8|>=2.4.7.0-beta1,<2.4.7.0-patch3", "magento/core": "<=1.9.4.5", "magento/magento1ce": "<1.9.4.3-dev", "magento/magento1ee": ">=1,<1.14.4.3-dev", - "magento/product-community-edition": ">=2,<2.2.10|>=2.3,<2.3.2.0-patch2", + "magento/product-community-edition": "<2.4.4.0-patch9|>=2.4.5,<2.4.5.0-patch8|>=2.4.6,<2.4.6.0-patch6|>=2.4.7,<2.4.7.0-patch1", "magneto/core": "<1.9.4.4-dev", "maikuolan/phpmussel": ">=1,<1.6", "mainwp/mainwp": "<=4.4.3.3", - "mantisbt/mantisbt": "<2.26.1", + "mantisbt/mantisbt": "<=2.26.3", "marcwillmann/turn": "<0.3.3", "matyhtf/framework": "<3.0.6", - "mautic/core": "<4.4.12|>=5.0.0.0-alpha,<5.0.4", + "mautic/core": "<4.4.13|>=5,<5.1.1", + "mautic/core-lib": ">=1.0.0.0-beta,<4.4.13|>=5.0.0.0-alpha,<5.1.1", + "maximebf/debugbar": "<1.19", "mdanter/ecc": "<2", - "mediawiki/core": "<1.36.2", + "mediawiki/abuse-filter": "<1.39.9|>=1.40,<1.41.3|>=1.42,<1.42.2", + "mediawiki/cargo": "<3.6.1", + "mediawiki/core": "<1.39.5|==1.40", "mediawiki/matomo": "<2.4.3", "mediawiki/semantic-media-wiki": "<4.0.2", "melisplatform/melis-asset-manager": "<5.0.1", @@ -2893,7 +2929,7 @@ "microsoft/microsoft-graph": ">=1.16,<1.109.1|>=2,<2.0.1", "microsoft/microsoft-graph-beta": "<2.0.1", "microsoft/microsoft-graph-core": "<2.0.2", - "microweber/microweber": "<=2.0.4", + "microweber/microweber": "<=2.0.16", "mikehaertl/php-shellcommand": "<1.6.1", "miniorange/miniorange-saml": "<1.4.3", "mittwald/typo3_forum": "<1.2.1", @@ -2902,7 +2938,7 @@ "mojo42/jirafeau": "<4.4", "mongodb/mongodb": ">=1,<1.9.2", "monolog/monolog": ">=1.8,<1.12", - "moodle/moodle": "<=4.3.3", + "moodle/moodle": "<4.3.8|>=4.4,<4.4.4", "mos/cimage": "<0.7.19", "movim/moxl": ">=0.8,<=0.10", "movingbytes/social-network": "<=1.2.1", @@ -2915,13 +2951,14 @@ "munkireport/softwareupdate": "<1.6", "mustache/mustache": ">=2,<2.14.1", "namshi/jose": "<2.2", + "nategood/httpful": "<1", "neoan3-apps/template": "<1.1.1", "neorazorx/facturascripts": "<2022.04", "neos/flow": ">=1,<1.0.4|>=1.1,<1.1.1|>=2,<2.0.1|>=2.3,<2.3.16|>=3,<3.0.12|>=3.1,<3.1.10|>=3.2,<3.2.13|>=3.3,<3.3.13|>=4,<4.0.6", "neos/form": ">=1.2,<4.3.3|>=5,<5.0.9|>=5.1,<5.1.3", "neos/media-browser": "<7.3.19|>=8,<8.0.16|>=8.1,<8.1.11|>=8.2,<8.2.11|>=8.3,<8.3.9", - "neos/neos": ">=1.1,<1.1.3|>=1.2,<1.2.13|>=2,<2.0.4|>=2.3,<2.9.99|>=3,<3.0.20|>=3.1,<3.1.18|>=3.2,<3.2.14|>=3.3,<5.3.10|>=7,<7.0.9|>=7.1,<7.1.7|>=7.2,<7.2.6|>=7.3,<7.3.4|>=8,<8.0.2", - "neos/swiftmailer": ">=4.1,<4.1.99|>=5.4,<5.4.5", + "neos/neos": ">=1.1,<1.1.3|>=1.2,<1.2.13|>=2,<2.0.4|>=2.3,<3.0.20|>=3.1,<3.1.18|>=3.2,<3.2.14|>=3.3,<5.3.10|>=7,<7.0.9|>=7.1,<7.1.7|>=7.2,<7.2.6|>=7.3,<7.3.4|>=8,<8.0.2", + "neos/swiftmailer": "<5.4.5", "netgen/tagsbundle": ">=3.4,<3.4.11|>=4,<4.0.15", "nette/application": ">=2,<2.0.19|>=2.1,<2.1.13|>=2.2,<2.2.10|>=2.3,<2.3.14|>=2.4,<2.4.16|>=3,<3.0.6", "nette/nette": ">=2,<2.0.19|>=2.1,<2.1.13", @@ -2937,25 +2974,26 @@ "nzo/url-encryptor-bundle": ">=4,<4.3.2|>=5,<5.0.1", "october/backend": "<1.1.2", "october/cms": "<1.0.469|==1.0.469|==1.0.471|==1.1.1", - "october/october": "<=3.4.4", + "october/october": "<=3.6.4", "october/rain": "<1.0.472|>=1.1,<1.1.2", - "october/system": "<1.0.476|>=1.1,<1.1.12|>=2,<2.2.34|>=3,<3.5.2", + "october/system": "<1.0.476|>=1.1,<1.1.12|>=2,<2.2.34|>=3,<3.5.15", "omeka/omeka-s": "<4.0.3", "onelogin/php-saml": "<2.10.4", "oneup/uploader-bundle": ">=1,<1.9.3|>=2,<2.1.5", "open-web-analytics/open-web-analytics": "<1.7.4", - "opencart/opencart": "<=3.0.3.7|>=4,<4.0.2.3-dev", + "opencart/opencart": ">=0", "openid/php-openid": "<2.3", - "openmage/magento-lts": "<20.5", + "openmage/magento-lts": "<20.10.1", "opensolutions/vimbadmin": "<=3.0.15", "opensource-workshop/connect-cms": "<1.7.2|>=2,<2.3.2", - "orchid/platform": ">=9,<9.4.4|>=14.0.0.0-alpha4,<14.5", + "orchid/platform": ">=8,<14.43", "oro/calendar-bundle": ">=4.2,<=4.2.6|>=5,<=5.0.6|>=5.1,<5.1.1", "oro/commerce": ">=4.1,<5.0.11|>=5.1,<5.1.1", "oro/crm": ">=1.7,<1.7.4|>=3.1,<4.1.17|>=4.2,<4.2.7", "oro/crm-call-bundle": ">=4.2,<=4.2.5|>=5,<5.0.4|>=5.1,<5.1.1", "oro/customer-portal": ">=4.1,<=4.1.13|>=4.2,<=4.2.10|>=5,<=5.0.11|>=5.1,<=5.1.3", "oro/platform": ">=1.7,<1.7.4|>=3.1,<3.1.29|>=4.1,<4.1.17|>=4.2,<=4.2.10|>=5,<=5.0.12|>=5.1,<=5.1.3", + "oveleon/contao-cookiebar": "<1.16.3|>=2,<2.1.3", "oxid-esales/oxideshop-ce": "<4.5", "oxid-esales/paymorrow-module": ">=1,<1.0.2|>=2,<2.0.1", "packbackbooks/lti-1-3-php-library": "<5", @@ -2977,8 +3015,9 @@ "personnummer/personnummer": "<3.0.2", "phanan/koel": "<5.1.4", "phenx/php-svg-lib": "<0.5.2", + "php-censor/php-censor": "<2.0.13|>=2.1,<2.1.5", "php-mod/curl": "<2.3.2", - "phpbb/phpbb": "<3.2.10|>=3.3,<3.3.1", + "phpbb/phpbb": "<3.3.11", "phpems/phpems": ">=6,<=6.1.3", "phpfastcache/phpfastcache": "<6.1.5|>=7,<7.1.2|>=8,<8.0.7", "phpmailer/phpmailer": "<6.5", @@ -2986,8 +3025,8 @@ "phpmyadmin/phpmyadmin": "<5.2.1", "phpmyfaq/phpmyfaq": "<3.2.5|==3.2.5", "phpoffice/common": "<0.2.9", - "phpoffice/phpexcel": "<1.8", - "phpoffice/phpspreadsheet": "<1.16", + "phpoffice/phpexcel": "<1.8.1", + "phpoffice/phpspreadsheet": "<1.29.4|>=2,<2.1.3|>=2.2,<2.3.2|>=3.3,<3.4", "phpseclib/phpseclib": "<2.0.47|>=3,<3.0.36", "phpservermon/phpservermon": "<3.6", "phpsysinfo/phpsysinfo": "<3.4.3", @@ -2996,13 +3035,14 @@ "phpxmlrpc/extras": "<0.6.1", "phpxmlrpc/phpxmlrpc": "<4.9.2", "pi/pi": "<=2.5", - "pimcore/admin-ui-classic-bundle": "<1.3.4", + "pimcore/admin-ui-classic-bundle": "<1.5.4", "pimcore/customer-management-framework-bundle": "<4.0.6", "pimcore/data-hub": "<1.2.4", + "pimcore/data-importer": "<1.8.9|>=1.9,<1.9.3", "pimcore/demo": "<10.3", "pimcore/ecommerce-framework-bundle": "<1.0.10", "pimcore/perspective-editor": "<1.5.1", - "pimcore/pimcore": "<11.1.6.5-dev|>=11.2,<11.2.3", + "pimcore/pimcore": "<11.2.4", "pixelfed/pixelfed": "<0.11.11", "plotly/plotly.js": "<2.25.2", "pocketmine/bedrock-protocol": "<8.0.2", @@ -3014,21 +3054,22 @@ "prestashop/blockwishlist": ">=2,<2.1.1", "prestashop/contactform": ">=1.0.1,<4.3", "prestashop/gamification": "<2.3.2", - "prestashop/prestashop": "<8.1.4", + "prestashop/prestashop": "<8.1.6", "prestashop/productcomments": "<5.0.2", "prestashop/ps_emailsubscription": "<2.6.1", "prestashop/ps_facetedsearch": "<3.4.1", "prestashop/ps_linklist": "<3.1", - "privatebin/privatebin": "<1.4", - "processwire/processwire": "<=3.0.210", + "privatebin/privatebin": "<1.4|>=1.5,<1.7.4", + "processwire/processwire": "<=3.0.229", "propel/propel": ">=2.0.0.0-alpha1,<=2.0.0.0-alpha7", "propel/propel1": ">=1,<=1.7.1", - "pterodactyl/panel": "<1.11.6", + "pterodactyl/panel": "<1.11.8", "ptheofan/yii2-statemachine": ">=2.0.0.0-RC1-dev,<=2", "ptrofimov/beanstalk_console": "<1.7.14", "pubnub/pubnub": "<6.1", "pusher/pusher-php-server": "<2.2.1", "pwweb/laravel-core": "<=0.3.6.0-beta", + "pxlrbt/filament-excel": "<1.1.14|>=2.0.0.0-alpha,<2.3.3", "pyrocms/pyrocms": "<=3.9.1", "qcubed/qcubed": "<=3.1.1", "quickapps/cms": "<=2.0.0.0-beta2", @@ -3039,7 +3080,7 @@ "rap2hpoutre/laravel-log-viewer": "<0.13", "react/http": ">=0.7,<1.9", "really-simple-plugins/complianz-gdpr": "<6.4.2", - "redaxo/source": "<=5.15.1", + "redaxo/source": "<5.18", "remdex/livehelperchat": "<4.29", "reportico-web/reportico": "<=8.1", "rhukster/dom-sanitizer": "<1.0.7", @@ -3051,29 +3092,32 @@ "s-cart/s-cart": "<6.9", "sabberworm/php-css-parser": ">=1,<1.0.1|>=2,<2.0.1|>=3,<3.0.1|>=4,<4.0.1|>=5,<5.0.9|>=5.1,<5.1.3|>=5.2,<5.2.1|>=6,<6.0.2|>=7,<7.0.4|>=8,<8.0.1|>=8.1,<8.1.1|>=8.2,<8.2.1|>=8.3,<8.3.1", "sabre/dav": ">=1.6,<1.7.11|>=1.8,<1.8.9", + "samwilson/unlinked-wikibase": "<1.39.6|>=1.40,<1.40.2|>=1.41,<1.41.1", "scheb/two-factor-bundle": "<3.26|>=4,<4.11", "sensiolabs/connect": "<4.2.3", "serluck/phpwhois": "<=4.2.6", "sfroemken/url_redirect": "<=1.2.1", - "sheng/yiicms": "<=1.2", - "shopware/core": "<6.5.8.8-dev|>=6.6.0.0-RC1-dev,<6.6.1", - "shopware/platform": "<6.5.8.8-dev|>=6.6.0.0-RC1-dev,<6.6.1", + "sheng/yiicms": "<1.2.1", + "shopware/core": "<=6.5.8.12|>=6.6,<=6.6.5", + "shopware/platform": "<=6.5.8.12|>=6.6,<=6.6.5", "shopware/production": "<=6.3.5.2", - "shopware/shopware": "<6.2.3", + "shopware/shopware": "<=5.7.17", "shopware/storefront": "<=6.4.8.1|>=6.5.8,<6.5.8.7-dev", - "shopxo/shopxo": "<2.2.6", + "shopxo/shopxo": "<=6.1", "showdoc/showdoc": "<2.10.4", + "shuchkin/simplexlsx": ">=1.0.12,<1.1.12", "silverstripe-australia/advancedreports": ">=1,<=2", "silverstripe/admin": "<1.13.19|>=2,<2.1.8", "silverstripe/assets": ">=1,<1.11.1", "silverstripe/cms": "<4.11.3", - "silverstripe/comments": ">=1.3,<1.9.99|>=2,<2.9.99|>=3,<3.1.1", + "silverstripe/comments": ">=1.3,<3.1.1", "silverstripe/forum": "<=0.6.1|>=0.7,<=0.7.3", - "silverstripe/framework": "<4.13.39|>=5,<5.1.11", + "silverstripe/framework": "<5.2.16", "silverstripe/graphql": ">=2,<2.0.5|>=3,<3.8.2|>=4,<4.3.7|>=5,<5.1.3", "silverstripe/hybridsessions": ">=1,<2.4.1|>=2.5,<2.5.1", "silverstripe/recipe-cms": ">=4.5,<4.5.3", "silverstripe/registry": ">=2.1,<2.1.2|>=2.2,<2.2.1", + "silverstripe/reports": "<5.2.3", "silverstripe/restfulserver": ">=1,<1.0.9|>=2,<2.0.4|>=2.1,<2.1.2", "silverstripe/silverstripe-omnipay": "<2.5.2|>=3,<3.0.2|>=3.1,<3.1.4|>=3.2,<3.2.1", "silverstripe/subsites": ">=2,<2.6.1", @@ -3081,11 +3125,13 @@ "silverstripe/userforms": "<3|>=5,<5.4.2", "silverstripe/versioned-admin": ">=1,<1.11.1", "simple-updates/phpwhois": "<=1", - "simplesamlphp/saml2": "<1.10.6|>=2,<2.3.8|>=3,<3.1.4|==5.0.0.0-alpha12", + "simplesamlphp/saml2": "<4.6.14|==5.0.0.0-alpha12", + "simplesamlphp/saml2-legacy": "<4.6.14", "simplesamlphp/simplesamlphp": "<1.18.6", "simplesamlphp/simplesamlphp-module-infocard": "<1.0.1", "simplesamlphp/simplesamlphp-module-openid": "<1", "simplesamlphp/simplesamlphp-module-openidprovider": "<0.9", + "simplesamlphp/xml-common": "<1.20", "simplesamlphp/xml-security": "==1.6.11", "simplito/elliptic-php": "<1.0.6", "sitegeist/fluid-components": "<3.5", @@ -3093,22 +3139,27 @@ "slim/psr7": "<1.4.1|>=1.5,<1.5.1|>=1.6,<1.6.1", "slim/slim": "<2.6", "slub/slub-events": "<3.0.3", - "smarty/smarty": "<3.1.48|>=4,<4.3.1", - "snipe/snipe-it": "<=6.2.2", + "smarty/smarty": "<4.5.3|>=5,<5.1.1", + "snipe/snipe-it": "<=7.0.13", "socalnick/scn-social-auth": "<1.15.2", "socialiteproviders/steam": "<1.1", - "spatie/browsershot": "<3.57.4", + "spatie/browsershot": "<5.0.2", + "spatie/image-optimizer": "<1.7.3", + "spencer14420/sp-php-email-handler": "<1", "spipu/html2pdf": "<5.2.8", "spoon/library": "<1.4.1", "spoonity/tcpdf": "<6.2.22", "squizlabs/php_codesniffer": ">=1,<2.8.1|>=3,<3.0.1", - "ssddanbrown/bookstack": "<22.02.3", - "statamic/cms": "<4.46", + "ssddanbrown/bookstack": "<24.05.1", + "starcitizentools/citizen-skin": ">=2.6.3,<2.31", + "statamic/cms": "<=5.16", "stormpath/sdk": "<9.9.99", - "studio-42/elfinder": "<2.1.62", + "studio-42/elfinder": "<=2.1.64", + "studiomitte/friendlycaptcha": "<0.1.4", "subhh/libconnect": "<7.0.8|>=8,<8.1", "sukohi/surpass": "<1", - "sulu/sulu": "<1.6.44|>=2,<2.4.17|>=2.5,<2.5.13", + "sulu/form-bundle": ">=2,<2.5.3", + "sulu/sulu": "<1.6.44|>=2,<2.5.21|>=2.6,<2.6.5", "sumocoders/framework-user-bundle": "<1.4", "superbig/craft-audit": "<3.0.2", "swag/paypal": "<5.4.4", @@ -3119,8 +3170,8 @@ "sylius/grid-bundle": "<1.10.1", "sylius/paypal-plugin": ">=1,<1.2.4|>=1.3,<1.3.1", "sylius/resource-bundle": ">=1,<1.3.14|>=1.4,<1.4.7|>=1.5,<1.5.2|>=1.6,<1.6.4", - "sylius/sylius": "<1.12.16|>=1.13.0.0-alpha1,<1.13.1", - "symbiote/silverstripe-multivaluefield": ">=3,<3.0.99", + "sylius/sylius": "<1.12.19|>=1.13.0.0-alpha1,<1.13.4", + "symbiote/silverstripe-multivaluefield": ">=3,<3.1", "symbiote/silverstripe-queuedjobs": ">=3,<3.0.2|>=3.1,<3.1.4|>=4,<4.0.7|>=4.1,<4.1.2|>=4.2,<4.2.4|>=4.3,<4.3.3|>=4.4,<4.4.3|>=4.5,<4.5.1|>=4.6,<4.6.4", "symbiote/silverstripe-seed": "<6.0.3", "symbiote/silverstripe-versionedfiles": "<=2.0.3", @@ -3130,7 +3181,8 @@ "symfony/error-handler": ">=4.4,<4.4.4|>=5,<5.0.4", "symfony/form": ">=2.3,<2.3.35|>=2.4,<2.6.12|>=2.7,<2.7.50|>=2.8,<2.8.49|>=3,<3.4.20|>=4,<4.0.15|>=4.1,<4.1.9|>=4.2,<4.2.1", "symfony/framework-bundle": ">=2,<2.3.18|>=2.4,<2.4.8|>=2.5,<2.5.2|>=2.7,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7|>=5.3.14,<5.3.15|>=5.4.3,<5.4.4|>=6.0.3,<6.0.4", - "symfony/http-foundation": ">=2,<2.8.52|>=3,<3.4.35|>=4,<4.2.12|>=4.3,<4.3.8|>=4.4,<4.4.7|>=5,<5.0.7", + "symfony/http-client": ">=4.3,<5.4.47|>=6,<6.4.15|>=7,<7.1.8", + "symfony/http-foundation": "<5.4.46|>=6,<6.4.14|>=7,<7.1.7", "symfony/http-kernel": ">=2,<4.4.50|>=5,<5.4.20|>=6,<6.0.20|>=6.1,<6.1.12|>=6.2,<6.2.6", "symfony/intl": ">=2.7,<2.7.38|>=2.8,<2.8.31|>=3,<3.2.14|>=3.3,<3.3.13", "symfony/maker-bundle": ">=1.27,<1.29.2|>=1.30,<1.31.1", @@ -3138,20 +3190,22 @@ "symfony/phpunit-bridge": ">=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7", "symfony/polyfill": ">=1,<1.10", "symfony/polyfill-php55": ">=1,<1.10", + "symfony/process": "<5.4.46|>=6,<6.4.14|>=7,<7.1.7", "symfony/proxy-manager-bridge": ">=2.7,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7", "symfony/routing": ">=2,<2.0.19", + "symfony/runtime": ">=5.3,<5.4.46|>=6,<6.4.14|>=7,<7.1.7", "symfony/security": ">=2,<2.7.51|>=2.8,<3.4.49|>=4,<4.4.24|>=5,<5.2.8", - "symfony/security-bundle": ">=2,<4.4.50|>=5,<5.4.20|>=6,<6.0.20|>=6.1,<6.1.12|>=6.2,<6.2.6", + "symfony/security-bundle": ">=2,<4.4.50|>=5,<5.4.20|>=6,<6.0.20|>=6.1,<6.1.12|>=6.2,<6.4.10|>=7,<7.0.10|>=7.1,<7.1.3", "symfony/security-core": ">=2.4,<2.6.13|>=2.7,<2.7.9|>=2.7.30,<2.7.32|>=2.8,<3.4.49|>=4,<4.4.24|>=5,<5.2.9", "symfony/security-csrf": ">=2.4,<2.7.48|>=2.8,<2.8.41|>=3,<3.3.17|>=3.4,<3.4.11|>=4,<4.0.11", "symfony/security-guard": ">=2.8,<3.4.48|>=4,<4.4.23|>=5,<5.2.8", - "symfony/security-http": ">=2.3,<2.3.41|>=2.4,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.2.12|>=4.3,<4.3.8|>=4.4,<4.4.7|>=5,<5.0.7|>=5.1,<5.2.8|>=5.3,<5.3.2|>=5.4,<5.4.31|>=6,<6.3.8", + "symfony/security-http": ">=2.3,<2.3.41|>=2.4,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.2.12|>=4.3,<4.3.8|>=4.4,<4.4.7|>=5,<5.0.7|>=5.1,<5.2.8|>=5.3,<5.4.47|>=6,<6.4.15|>=7,<7.1.8", "symfony/serializer": ">=2,<2.0.11|>=4.1,<4.4.35|>=5,<5.3.12", - "symfony/symfony": ">=2,<4.4.51|>=5,<5.4.31|>=6,<6.3.8", + "symfony/symfony": "<5.4.47|>=6,<6.4.15|>=7,<7.1.8", "symfony/translation": ">=2,<2.0.17", "symfony/twig-bridge": ">=2,<4.4.51|>=5,<5.4.31|>=6,<6.3.8", "symfony/ux-autocomplete": "<2.11.2", - "symfony/validator": ">=2,<2.0.24|>=2.1,<2.1.12|>=2.2,<2.2.5|>=2.3,<2.3.3", + "symfony/validator": "<5.4.43|>=6,<6.4.11|>=7,<7.1.4", "symfony/var-exporter": ">=4.2,<4.2.12|>=4.3,<4.3.8", "symfony/web-profiler-bundle": ">=2,<2.3.19|>=2.4,<2.4.9|>=2.5,<2.5.4", "symfony/webhook": ">=6.3,<6.3.8", @@ -3162,31 +3216,32 @@ "t3s/content-consent": "<1.0.3|>=2,<2.0.2", "tastyigniter/tastyigniter": "<3.3", "tcg/voyager": "<=1.4", - "tecnickcom/tcpdf": "<=6.7.4", + "tecnickcom/tcpdf": "<=6.7.5", "terminal42/contao-tablelookupwizard": "<3.3.5", "thelia/backoffice-default-template": ">=2.1,<2.1.2", "thelia/thelia": ">=2.1,<2.1.3", "theonedemon/phpwhois": "<=4.2.5", "thinkcmf/thinkcmf": "<6.0.8", - "thorsten/phpmyfaq": "<3.2.2", + "thorsten/phpmyfaq": "<4", "tikiwiki/tiki-manager": "<=17.1", "timber/timber": ">=0.16.6,<1.23.1|>=1.24,<1.24.1|>=2,<2.1", - "tinymce/tinymce": "<7", + "tinymce/tinymce": "<7.2", "tinymighty/wiki-seo": "<1.2.2", "titon/framework": "<9.9.99", "tobiasbg/tablepress": "<=2.0.0.0-RC1", - "topthink/framework": "<6.0.14", + "topthink/framework": "<6.0.17|>=6.1,<=8.0.4", "topthink/think": "<=6.1.1", - "topthink/thinkphp": "<=3.2.3", - "torrentpier/torrentpier": "<=2.4.1", + "topthink/thinkphp": "<=3.2.3|>=6.1.3,<=8.0.4", + "torrentpier/torrentpier": "<=2.4.3", "tpwd/ke_search": "<4.0.3|>=4.1,<4.6.6|>=5,<5.0.2", - "tribalsystems/zenario": "<9.5.60602", + "tribalsystems/zenario": "<=9.7.61188", "truckersmp/phpwhois": "<=4.3.1", "ttskch/pagination-service-provider": "<1", - "twig/twig": "<1.44.7|>=2,<2.15.3|>=3,<3.4.3", + "twbs/bootstrap": "<=3.4.1|>=4,<=4.6.2", + "twig/twig": "<3.11.2|>=3.12,<3.14.1", "typo3/cms": "<9.5.29|>=10,<10.4.35|>=11,<11.5.23|>=12,<12.2", - "typo3/cms-backend": "<4.1.14|>=4.2,<4.2.15|>=4.3,<4.3.7|>=4.4,<4.4.4|>=7,<=7.6.50|>=8,<=8.7.39|>=9,<=9.5.24|>=10,<=10.4.13|>=11,<=11.1", - "typo3/cms-core": "<=8.7.56|>=9,<=9.5.45|>=10,<=10.4.42|>=11,<=11.5.34|>=12,<=12.4.10|==13", + "typo3/cms-backend": "<4.1.14|>=4.2,<4.2.15|>=4.3,<4.3.7|>=4.4,<4.4.4|>=7,<=7.6.50|>=8,<=8.7.39|>=9,<=9.5.24|>=10,<10.4.46|>=11,<11.5.40|>=12,<12.4.21|>=13,<13.3.1", + "typo3/cms-core": "<=8.7.56|>=9,<=9.5.47|>=10,<=10.4.44|>=11,<=11.5.36|>=12,<=12.4.14|>=13,<=13.1", "typo3/cms-extbase": "<6.2.24|>=7,<7.6.8|==8.1.1", "typo3/cms-fluid": "<4.3.4|>=4.4,<4.4.1", "typo3/cms-form": ">=8,<=8.7.39|>=9,<=9.5.24|>=10,<=10.4.13|>=11,<=11.1", @@ -3201,24 +3256,28 @@ "typo3fluid/fluid": ">=2,<2.0.8|>=2.1,<2.1.7|>=2.2,<2.2.4|>=2.3,<2.3.7|>=2.4,<2.4.4|>=2.5,<2.5.11|>=2.6,<2.6.10", "ua-parser/uap-php": "<3.8", "uasoft-indonesia/badaso": "<=2.9.7", - "unisharp/laravel-filemanager": "<2.6.4", + "unisharp/laravel-filemanager": "<2.9.1", + "unopim/unopim": "<0.1.5", "userfrosting/userfrosting": ">=0.3.1,<4.6.3", "usmanhalalit/pixie": "<1.0.3|>=2,<2.0.2", "uvdesk/community-skeleton": "<=1.1.1", "uvdesk/core-framework": "<=1.1.1", "vanilla/safecurl": "<0.9.2", "verbb/comments": "<1.5.5", + "verbb/formie": "<2.1.6", "verbb/image-resizer": "<2.0.9", "verbb/knock-knock": "<1.2.8", "verot/class.upload.php": "<=2.1.6", "villagedefrance/opencart-overclocked": "<=1.11.1", "vova07/yii2-fileapi-widget": "<0.1.9", "vrana/adminer": "<4.8.1", + "vufind/vufind": ">=2,<9.1.1", "waldhacker/hcaptcha": "<2.1.2", "wallabag/tcpdf": "<6.2.22", "wallabag/wallabag": "<2.6.7", "wanglelecc/laracms": "<=1.0.3", - "web-auth/webauthn-framework": ">=3.3,<3.3.4", + "web-auth/webauthn-framework": ">=3.3,<3.3.4|>=4.5,<4.9", + "web-auth/webauthn-lib": ">=4.5,<4.9", "web-feet/coastercms": "==5.5", "webbuilders-group/silverstripe-kapost-bridge": "<0.4", "webcoast/deferred-image-processing": "<1.0.2", @@ -3229,26 +3288,28 @@ "wikimedia/parsoid": "<0.12.2", "willdurand/js-translation-bundle": "<2.1.1", "winter/wn-backend-module": "<1.2.4", + "winter/wn-cms-module": "<1.0.476|>=1.1,<1.1.11|>=1.2,<1.2.7", "winter/wn-dusk-plugin": "<2.1", "winter/wn-system-module": "<1.2.4", "wintercms/winter": "<=1.2.3", - "woocommerce/woocommerce": "<6.6", + "wireui/wireui": "<1.19.3|>=2,<2.1.3", + "woocommerce/woocommerce": "<6.6|>=8.8,<8.8.5|>=8.9,<8.9.3", "wp-cli/wp-cli": ">=0.12,<2.5", "wp-graphql/wp-graphql": "<=1.14.5", "wp-premium/gravityforms": "<2.4.21", "wpanel/wpanel4-cms": "<=4.3.1", "wpcloud/wp-stateless": "<3.2", "wpglobus/wpglobus": "<=1.9.6", - "wwbn/avideo": "<=12.4", + "wwbn/avideo": "<14.3", "xataface/xataface": "<3", "xpressengine/xpressengine": "<3.0.15", "yab/quarx": "<2.4.5", - "yeswiki/yeswiki": "<4.1", + "yeswiki/yeswiki": "<=4.4.4", "yetiforce/yetiforce-crm": "<=6.4", "yidashi/yii2cmf": "<=2", "yii2mod/yii2-cms": "<1.9.2", "yiisoft/yii": "<1.1.29", - "yiisoft/yii2": "<2.0.38", + "yiisoft/yii2": "<2.0.49.4-dev", "yiisoft/yii2-authclient": "<2.2.15", "yiisoft/yii2-bootstrap": "<2.0.4", "yiisoft/yii2-dev": "<2.0.43", @@ -3275,7 +3336,7 @@ "zendframework/zend-ldap": ">=2,<2.0.99|>=2.1,<2.1.99|>=2.2,<2.2.8|>=2.3,<2.3.3", "zendframework/zend-mail": "<2.4.11|>=2.5,<2.7.2", "zendframework/zend-navigation": ">=2,<2.2.7|>=2.3,<2.3.1", - "zendframework/zend-session": ">=2,<2.0.99|>=2.1,<2.1.99|>=2.2,<2.2.9|>=2.3,<2.3.4", + "zendframework/zend-session": ">=2,<2.2.9|>=2.3,<2.3.4", "zendframework/zend-validator": ">=2.3,<2.3.6", "zendframework/zend-view": ">=2,<2.2.7|>=2.3,<2.3.1", "zendframework/zend-xmlrpc": ">=2.1,<2.1.6|>=2.2,<2.2.6", @@ -3333,7 +3394,7 @@ "type": "tidelift" } ], - "time": "2024-05-10T22:04:19+00:00" + "time": "2024-12-18T20:05:40+00:00" }, { "name": "sebastian/cli-parser", @@ -4365,6 +4426,6 @@ "ext-simplexml": "*", "ext-fileinfo": "*" }, - "platform-dev": [], + "platform-dev": {}, "plugin-api-version": "2.6.0" } diff --git a/index.php b/index.php index 4775d6b0..03c6f86b 100644 --- a/index.php +++ b/index.php @@ -131,9 +131,9 @@ switch (ENVIRONMENT) { case 'production': ini_set('display_errors', 0); if (version_compare(PHP_VERSION, '5.3', '>=')) { - error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_USER_NOTICE & ~E_USER_DEPRECATED); + error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_USER_NOTICE & ~E_USER_DEPRECATED); } else { - error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_USER_NOTICE); + error_reporting(E_ALL & ~E_NOTICE & ~E_USER_NOTICE); } break; diff --git a/system/core/Common.php b/system/core/Common.php index ed96de0c..4b36e88b 100644 --- a/system/core/Common.php +++ b/system/core/Common.php @@ -678,9 +678,6 @@ if ( ! function_exists('_shutdown_handler')) * of CodeIgniter.php. The main reason we use this is to simulate * a complete custom exception handler. * - * E_STRICT is purposively neglected because such events may have - * been caught. Duplication or none? None is preferred for now. - * * @link http://insomanic.me.uk/post/229851073/php-trick-catching-fatal-errors-e-error-with-a * @return void */ diff --git a/system/core/Exceptions.php b/system/core/Exceptions.php index 92c635f9..5ad8ffae 100644 --- a/system/core/Exceptions.php +++ b/system/core/Exceptions.php @@ -72,7 +72,6 @@ class CI_Exceptions { E_USER_ERROR => 'User Error', E_USER_WARNING => 'User Warning', E_USER_NOTICE => 'User Notice', - E_STRICT => 'Runtime Notice' ); /** diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php index 0aaaf5a6..470153a3 100644 --- a/system/database/DB_driver.php +++ b/system/database/DB_driver.php @@ -1237,9 +1237,8 @@ abstract class CI_DB_driver { else { /* We have no other choice but to just get the first element's key. - * Due to array_shift() accepting its argument by reference, if - * E_STRICT is on, this would trigger a warning. So we'll have to - * assign it first. + * Due to array_shift() accepting its argument by reference, So we'll + * have to assign it first. */ $key = array_keys($row); $key = array_shift($key);