-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
Type of Feature
✨ New Feature
OpensourcePOS Version
opensourcepos 3.4
Description
The PHP Lint for PHP 8.4 fails with the following deprecation warnings. These need to be resolved for the code to pass the linter.
Deprecated: to_decimals(): Implicitly marking parameter $decimals as nullable is deprecated, the explicit nullable type must be used instead in ./app/Helpers/locale_helper.php on line 437
Deprecated: parse_decimals(): Implicitly marking parameter $decimals as nullable is deprecated, the explicit nullable type must be used instead in ./app/Helpers/locale_helper.php on line 481
Deprecated: App\Models\Item::get_search_suggestion_format(): Implicitly marking parameter $seed as nullable is deprecated, the explicit nullable type must be used instead in ./app/Models/Item.php on line 575
Deprecated: App\Models\Item::change_cost_price(): Implicitly marking parameter $old_price as nullable is deprecated, the explicit nullable type must be used instead in ./app/Models/Item.php on line 1127
Deprecated: App\Models\Item::get_item_name(): Implicitly marking parameter $as_name as nullable is deprecated, the explicit nullable type must be used instead in ./app/Models/Item.php on line 1191
Deprecated: App\Models\Sale::get_all_suspended(): Implicitly marking parameter $customer_id as nullable is deprecated, the explicit nullable type must be used instead in ./app/Models/Sale.php on line 1234
Deprecated: app\Libraries\Tax_lib::update_taxes(): Implicitly marking parameter $tax_code_id as nullable is deprecated, the explicit nullable type must be used instead in ./app/Libraries/Tax_lib.php on line 211
Deprecated: app\Libraries\Tax_lib::update_taxes(): Implicitly marking parameter $jurisdiction_id as nullable is deprecated, the explicit nullable type must be used instead in ./app/Libraries/Tax_lib.php on line 211
Deprecated: app\Libraries\Tax_lib::update_taxes(): Implicitly marking parameter $tax_category_id as nullable is deprecated, the explicit nullable type must be used instead in ./app/Libraries/Tax_lib.php on line 211
Deprecated: app\Libraries\Sale_lib::add_item(): Implicitly marking parameter $kit_price_option as nullable is deprecated, the explicit nullable type must be used instead in ./app/Libraries/Sale_lib.php on line 1033
Deprecated: app\Libraries\Sale_lib::add_item(): Implicitly marking parameter $kit_print_option as nullable is deprecated, the explicit nullable type must be used instead in ./app/Libraries/Sale_lib.php on line 1033
Deprecated: app\Libraries\Sale_lib::add_item(): Implicitly marking parameter $price_override as nullable is deprecated, the explicit nullable type must be used instead in ./app/Libraries/Sale_lib.php on line 1033
Deprecated: app\Libraries\Sale_lib::add_item(): Implicitly marking parameter $description as nullable is deprecated, the explicit nullable type must be used instead in ./app/Libraries/Sale_lib.php on line 1033
Deprecated: app\Libraries\Sale_lib::add_item(): Implicitly marking parameter $serialnumber as nullable is deprecated, the explicit nullable type must be used instead in ./app/Libraries/Sale_lib.php on line 1033
Deprecated: app\Libraries\Sale_lib::add_item(): Implicitly marking parameter $sale_id as nullable is deprecated, the explicit nullable type must be used instead in ./app/Libraries/Sale_lib.php on line 1033
Deprecated: app\Libraries\Sale_lib::add_item(): Implicitly marking parameter $print_option as nullable is deprecated, the explicit nullable type must be used instead in ./app/Libraries/Sale_lib.php on line 1033
Deprecated: app\Libraries\Sale_lib::add_item(): Implicitly marking parameter $line as nullable is deprecated, the explicit nullable type must be used instead in ./app/Libraries/Sale_lib.php on line 1033
Deprecated: app\Libraries\Email_lib::sendEmail(): Implicitly marking parameter $attachment as nullable is deprecated, the explicit nullable type must be used instead in ./app/Libraries/Email_lib.php on line 56
Deprecated: app\Libraries\MY_Email::sendMail(): Implicitly marking parameter $to as nullable is deprecated, the explicit nullable type must be used instead in ./app/Libraries/MY_Email.php on line 31
Deprecated: app\Libraries\MY_Email::sendMail(): Implicitly marking parameter $reply_name as nullable is deprecated, the explicit nullable type must be used instead in ./app/Libraries/MY_Email.php on line 31
Deprecated: app\Libraries\MY_Email::sendMail(): Implicitly marking parameter $reply_mail as nullable is deprecated, the explicit nullable type must be used instead in ./app/Libraries/MY_Email.php on line 31
Deprecated: app\Libraries\MY_Email::sendMail(): Implicitly marking parameter $attachment as nullable is deprecated, the explicit nullable type must be used instead in ./app/Libraries/MY_Email.php on line 31
Deprecated: app\Libraries\Receiving_lib::add_item(): Implicitly marking parameter $item_location as nullable is deprecated, the explicit nullable type must be used instead in ./app/Libraries/Receiving_lib.php on line 277
Deprecated: app\Libraries\Receiving_lib::add_item(): Implicitly marking parameter $price as nullable is deprecated, the explicit nullable type must be used instead in ./app/Libraries/Receiving_lib.php on line 277
Deprecated: app\Libraries\Receiving_lib::add_item(): Implicitly marking parameter $description as nullable is deprecated, the explicit nullable type must be used instead in ./app/Libraries/Receiving_lib.php on line 277
Deprecated: app\Libraries\Receiving_lib::add_item(): Implicitly marking parameter $serialnumber as nullable is deprecated, the explicit nullable type must be used instead in ./app/Libraries/Receiving_lib.php on line 277
Deprecated: app\Libraries\Receiving_lib::add_item(): Implicitly marking parameter $receiving_quantity as nullable is deprecated, the explicit nullable type must be used instead in ./app/Libraries/Receiving_lib.php on line 277
Deprecated: app\Libraries\Receiving_lib::add_item(): Implicitly marking parameter $receiving_id as nullable is deprecated, the explicit nullable type must be used instead in ./app/Libraries/Receiving_lib.php on line 277
Deprecated: App\Controllers\Persons::__construct(): Implicitly marking parameter $module_id as nullable is deprecated, the explicit nullable type must be used instead in ./app/Controllers/Persons.php on line 16
Deprecated: App\Controllers\Secure_Controller::__construct(): Implicitly marking parameter $submodule_id as nullable is deprecated, the explicit nullable type must be used instead in ./app/Controllers/Secure_Controller.php on line 35
Deprecated: App\Controllers\Secure_Controller::__construct(): Implicitly marking parameter $menu_group as nullable is deprecated, the explicit nullable type must be used instead in ./app/Controllers/Secure_Controller.php on line 35
Additional Information
No response
Verify you searched open requests in OpensourcePOS
- I agree I have searched Open Requests