kalamuna / playbox

A playground for ambitious would-be code artists.
http://live-playbox.at.kalamuna.com/
GNU General Public License v2.0
5 stars 29 forks source link

Deprecated functions #133

Open salimhossain opened 8 years ago

salimhossain commented 8 years ago

Deprecated function: Methods with the same name as their class will not be constructors in a future version of PHP; ctools_context has a deprecated constructor in require_once() (line 113 of /Library/WebServer/Documents/playbox/profiles/panopoly/modules/contrib/ctools/ctools.module).

Deprecated function: Methods with the same name as their class will not be constructors in a future version of PHP; ctools_context_required has a deprecated constructor in require_once() (line 113 of /Library/WebServer/Documents/playbox/profiles/panopoly/modules/contrib/ctools/ctools.module).

Deprecated function: Methods with the same name as their class will not be constructors in a future version of PHP; ctools_context_optional has a deprecated constructor in require_once() (line 113 of /Library/WebServer/Documents/playbox/profiles/panopoly/modules/contrib/ctools/ctools.module).

Deprecated function: Methods with the same name as their class will not be constructors in a future version of PHP; panels_cache_object has a deprecated constructor in require_once() (line 113 of /Library/WebServer/Documents/playbox/profiles/panopoly/modules/contrib/ctools/ctools.module).

Deprecated function: Methods with the same name as their class will not be constructors in a future version of PHP; views_display has a deprecated constructor in require_once() (line 3198 of /Library/WebServer/Documents/playbox/includes/bootstrap.inc).

Deprecated function: Methods with the same name as their class will not be constructors in a future version of PHP; views_many_to_one_helper has a deprecated constructor in require_once() (line 113 of /Library/WebServer/Documents/playbox/profiles/panopoly/modules/contrib/ctools/ctools.module).

kscheirer commented 7 years ago

Looks like its this, https://www.drupal.org/node/2528736. Updating to ctools dev or waiting for 7.x-1.10 should resolve these PHP7 warnings. Panels and Views need updates as well.

RobLoach commented 7 years ago

Well done on investigation, @kscheirer. If you roll a PR, we could merge it. Those modules are all part of Panopoly, so they could all be rolled in a Panopoly update.

kscheirer commented 7 years ago

@RobLoach there's a panopoly update PR in issue #122, should we close that and make a new one or update the PR?

kscheirer commented 7 years ago

hmm, given that latest panopoly includes ctools-7.x-1.9 (we need dev or 1.10), how should this best handled? wait for panopoly or update just ctools/panels/views if possible.