Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php 5.4 compatibility for olympus #626

Merged
merged 2 commits into from
Mar 22, 2012
Merged

Conversation

p
Copy link
Contributor

@p p commented Mar 16, 2012

Merge to olympus, then merge to develop and revert the second commit as explained in the commit message.

http://tracker.phpbb.com/browse/PHPBB3-10615

Ticket should remain open for fixing everything in 3.1 correctly.

p added 2 commits March 15, 2012 22:46
Separate error level assignment into a variable in this commit
so that the only difference between Olympus and Ascraeus
is the addition of logic altering $level.

PHPBB3-10615
We cannot use static in Olympus because it must be PHP 4 compatible.

Therefore disable E_STRICT for Olympus.

This commit should be reverted for Ascraeus.

PHPBB3-10615
@bantu
Copy link
Collaborator

bantu commented Mar 21, 2012

I've tested Unit Tests on PHP 5.4 with and without this patch. Patch fixes Unit Tests, so this should be fine.

// Unfortunately it cannot be made E_STRICT-clean while
// continuing to work on PHP 4.
// Therefore, in phpBB 3.0.x we disable E_STRICT on PHP 5.4+,
// while phpBB 3.1 will fix utf8 normalizer.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oleg wanted to change this line again.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually the wording here is fine, if it's ok with you it's ok with me.

@p
Copy link
Contributor Author

p commented Mar 22, 2012

However, bantu@9c7bc9c needs to have at least the ticket number in the footer.

@bantu bantu merged commit 5efdbfa into phpbb:develop-olympus Mar 22, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants