Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

Fix PHP >= 7 deprecation warning #42

Merged
merged 1 commit into from
Nov 11, 2017
Merged

Conversation

greatislander
Copy link

2.1-beta release throws a deprecation warning in PHP >= 7 because of its use of a constructor method with the same name as the class in creativecommons-widget.php. This PR fixes the issue by using a __construct() method with parent::__construct() as seen here.

@rheaplex rheaplex merged commit 0e69816 into cc-archive:develop Nov 11, 2017
@rheaplex
Copy link
Contributor

Thank you! I'm not sure why it was like that.

@brylie
Copy link
Contributor

brylie commented Oct 11, 2021

@all-contributors add @greatislander for code

@allcontributors
Copy link
Contributor

@brylie

I've put up a pull request to add @greatislander! 🎉

@greatislander greatislander deleted the php7 branch October 12, 2021 15:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants