Making Joomla compatible with the strict requirements are still work in progress. The core has come a long way on that road, but many extension developers are still not aware of current best practices.
Development Environment
Stay with the maximum error_level
, just repair the broken code by prepending the function
keyword with public static
. You'll loose that on updates, but your VCS will help you to re-fix that quickly.
Production Environment
On productive systems, error_reporting
can be lowered to not include strict warnings. Configure the server to log errors instead of displaying them.