Granted this is too old for some people but with the Drupal 6 LTS efforts ongoing it may still be relevant to some.

Nodequeue 6.x-2.x-dev with php 7.2 gives rise to the following warning:

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; nodequeue_queue has a deprecated constructor in /var/cm-repo/repo-var-clovedev/platforms/cm-doc6/sites/all/modules/nodequeue/nodequeue.module on line 472

line 472 is
class nodequeue_queue {

and line 494 is
function nodequeue_queue($type) {

and several other functions of the type nodequeue_queue_

Does the class name need to be changed and if so to what?

Comments

izmeez created an issue. See original summary.

hargobind’s picture

Status: Active » Closed (won't fix)

Support for the Drupal 6 version of nodequeue was dropped a long time ago, therefore you likely won't get any responses going forward.

But there's hope!

A maintainer for https://www.mydropwizard.com/ has been hard at work porting modules for their clients. They have released a version that supports PHP 7. Check it out here.
https://github.com/d6lts/nodequeue