Unexpected output: Affected paths: relative - resubmit patch.
⚙ D79 INP-1436 - PHP 7 compatibility issues
Page MenuHomeIn-Portal Phabricator

INP-1436 - PHP 7 compatibility issues
ClosedPublic

Authored by alex on May 30 2015, 5:02 PM.

Details

Test Plan
NOTE: All tests are to be performed on PHP 7. There are virtual machines with PHP 7 if you don't have it.
  1. change any SQL that will be executed
  2. open the page, where SQL should be executed
  3. open debugger
  4. confirm, that SQL is properly reported as containing error
  5. open any list of items (e.g. in Admin Console)
  6. confirm, that debugger doesn't container any notices about $Array usage
  7. open list of links in a category on the Front-End
  8. confirm, that debugger doesn't container any notices about $Array usage
  9. create new form in Website & ContentForms section
  10. for that form enable e-mail communication on tab with same name (fields in Bounce sub-section aren't required)
  11. for that form create Name and Email fields, which needs to be mapped to Name and Email roles in e-mail communication
  12. send an e-mail to e-mail address specified during form configuration
  13. run tools/cron.php script from CLI to check that e-mail for new messages
  14. confirm, that new form submission have appeared in Website & ContentFormsYour Form Name section

Diff Detail

Repository
rINP In-Portal
Branch
/in-portal/branches/5.3.x
Lint
Lint OK
Unit
No Unit Test Coverage

Event Timeline

alex updated this revision to Diff 206.May 30 2015, 5:02 PM
alex retitled this revision from to INP-1436 - PHP 7 compatibility issues.
alex updated this object.
alex edited the test plan for this revision. (Show Details)
alex added 1 JIRA issue(s): INP-1436.
glebs accepted this revision.Jun 17 2015, 3:07 AM
glebs edited edge metadata.
This revision is now accepted and ready to land.Jun 17 2015, 3:07 AM
alex planned changes to this revision.Sep 1 2015, 3:03 AM

Turns out I've forgot to update 2 more files having PHP4-style constructors in them:

  • core/units/helpers/json_helper.php
  • core/units/categories/cache_updater.php
alex updated this revision to Diff 271.Sep 1 2015, 3:13 AM
alex edited edge metadata.

Replaced PHP4-style constructors in a few more classes.

This revision is now accepted and ready to land.Sep 1 2015, 3:13 AM
This revision was automatically updated to reflect the committed changes.