On a clean install with no other modules active, I get:

Deprecated function: Methods with the same name as their class will not be constructors in a future version of PHP; Bracket has a deprecated constructor in require_once() (line 341 of /var/www/html/includes/module.inc).
Deprecated function: Methods with the same name as their class will not be constructors in a future version of PHP; Bracket_Competitor has a deprecated constructor in require_once() (line 341 of /var/www/html/includes/module.inc).
Deprecated function: Methods with the same name as their class will not be constructors in a future version of PHP; Bracket_Round has a deprecated constructor in require_once() (line 341 of /var/www/html/includes/module.inc).
Deprecated function: Methods with the same name as their class will not be constructors in a future version of PHP; Bracket_Match has a deprecated constructor in require_once() (line 341 of /var/www/html/includes/module.inc).
Deprecated function: Methods with the same name as their class will not be constructors in a future version of PHP; Bracket_Result has a deprecated constructor in require_once() (line 341 of /var/www/html/includes/module.inc).
Deprecated function: Methods with the same name as their class will not be constructors in a future version of PHP; FPDF has a deprecated constructor in require_once() (line 12 of /var/www/html/sites/all/modules/bracket/bracket_pdf.inc).
Deprecated function: Methods with the same name as their class will not be constructors in a future version of PHP; Bracket has a deprecated constructor in require_once() (line 341 of /var/www/html/includes/module.inc).
Deprecated function: Methods with the same name as their class will not be constructors in a future version of PHP; Bracket_Competitor has a deprecated constructor in require_once() (line 341 of /var/www/html/includes/module.inc).
Deprecated function: Methods with the same name as their class will not be constructors in a future version of PHP; Bracket_Round has a deprecated constructor in require_once() (line 341 of /var/www/html/includes/module.inc).
Deprecated function: Methods with the same name as their class will not be constructors in a future version of PHP; Bracket_Match has a deprecated constructor in require_once() (line 341 of /var/www/html/includes/module.inc).
Deprecated function: Methods with the same name as their class will not be constructors in a future version of PHP; Bracket_Result has a deprecated constructor in require_once() (line 341 of /var/www/html/includes/module.inc).
Deprecated function: Methods with the same name as their class will not be constructors in a future version of PHP; FPDF has a deprecated constructor in require_once() (line 12 of /var/www/html/sites/all/modules/bracket/bracket_pdf.inc).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rmcom created an issue. See original summary.

lreynaga’s picture

Status: Active » Needs review
FileSize
3.71 KB

This is because of PHP 7 is deprecating the class name being the same as the constructor (https://www.drupal.org/project/diff/issues/2640478). I've installed the module and found the same problem.
I'm using DevDesktop 2, with PHP 7.0.14.

I'm attaching a patch that got the issue solved for me.

Thanks.

Polo

oldspot’s picture

Status: Needs review » Reviewed & tested by the community

Just had the same warnings on our site when upgrading to PHP 7 and this patch fixed them.