General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The next feature release of phpBB 3 will be 3.3/Proteus.
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.2.x. If you need support for phpBB 3.2.x please visit the 3.2.x Support Forum on phpbb.com.
If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
- Registered User
- Posts: 366
- Joined: Fri Jul 08, 2011 9:43 pm
Now that phpBB requires a contemporary version of PHP, I suggest that the coding guidelines be updated to take advantage of it.
For instance, if that's not already the case, all new code should use the short array syntax.
All new code should use scalar typing where available and return typing too. Possibly with
strict_types if possible. Again, this is for new files, new classes and new interfaces so backward compatibility is not a big concern.