A single place to list the individual PHP 7.2 paragraphs issues on D7 so you don't have to search for each and every one.

#2951390: Replace deprecated each() function (PHP 7.2 compatibility)

#3010938: [PHP 7.2] count() on non-countable

#3010369: Add paragraphs bundle class to row in backend - Fixes and Updates for PHP7

If there are others, feel free to link them.

Comments

philsward created an issue. See original summary.

philsward’s picture

Issue summary: View changes
miro_dietiker’s picture

Thank you for creating the meta.

As this is not really a complex topic i would prefer if someone would try to do the language related clean-up in one issue instead of micro fragments.

Tests are extensive as well so they should identify most common related problems.

Anyone into focussing on more manual testing?

philsward’s picture

I can do some testing if the patches are available. I applied the two referenced above and both managed to get rid of the respective errors without any noticeable side-effects.

I'll note, one of the issues I referenced was related to PHP 7.1, but it did fix it for 7.2 also. I can only assume that if we target 7.2, it should take care of any problems we might face in 7.1?

miro_dietiker’s picture

Oh i see those are 7.x issues. I'm not maintaining that branch, but i will be able to commit them as long as they are non-functional changes.
The 8.x branch perfectly works with PHP 7.2+.

philsward’s picture

Title: Combined list of PHP 7.2 issues (PHP 72) » Combined list of D7 PHP 7.2 issues (PHP 72)
joegraduate’s picture

Issue tags: +PHP 7.2
joegraduate’s picture

Issue tags: +PHP 7.0 (duplicate)
philsward’s picture

Issue summary: View changes
damienmckenna’s picture

jstoller’s picture

Status: Active » Fixed

All of the issues referenced here have been fixed in dev, so marking this issue Fixed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.