Disable strict warnings

Component ID

2493521

Component name

Disable strict warnings

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

1872

Component created

Component changed

Component body

Suppresses the output of strict warnings in PHP version 5.4+

It does this by passing to the original handler if the error is of any other type than E_STRICT. Seeing as we aren't replacing any default functionality, this module should be future proof.

Notes

The module MUST be loaded before any modules raising these errors. Hence the underscores in the module name and a default weight of -100000 set on install.