Skip to content
This repository has been archived by the owner on Jun 10, 2019. It is now read-only.

Incorporated @danslo HHVM totals fixes for PHP7 #6

Merged
merged 2 commits into from
Dec 18, 2015

Conversation

durzel
Copy link
Contributor

@durzel durzel commented Dec 17, 2015

PHP 7.x breaks the totals calculation in Magento 1.9.x (I believe also 1.8.x), so discounts are no longer applied. This issue was raised a while ago against HHVM (facebook/hhvm#2416) and subsequently patched. The patch created by @danslo is incorporated here.

Technically this is not a PHP 7 incompatibility, but it is something that will manifest when trying to use PHP 7 with Magento 1.x, so thought it helpful to include here.

Mage_Sales required dependancy for PHP7 totals fix
Fix issue with discounts not being applied in PHP 7.x

Full credit to @danslo - taken from Rubic_FixTotalSorting
(https://github.com/danslo/Rubic_FixTotalSorting)
icurdinj added a commit that referenced this pull request Dec 18, 2015
Incorporated @danslo HHVM totals fixes for PHP7
Look like an elegant solution, and it solves an important problem.
@icurdinj icurdinj merged commit 81d0f2f into Inchoo:master Dec 18, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants