leondijk/gwcode_fileinfo — pull request #1 by mranawake (2014-11-06 20:22:00+00:00)
Title: Making the "usage" function static.

Using this plug-in on PHP 5.5 with EE 2.9 throws following warning:

A PHP Error was encountered
Severity: 8192
Message: Non-static method Gwcode_fileinfo::usage() should not be called statically, assuming $this from incompatible context
Filename: gwcode_fileinfo/pi.gwcode_fileinfo.php
Line Number: 19

This is mostly because the usage() function is being called statically at line #19. Adding "static" keyword to the function at line #260 fixes this problem. Hopefully you can merge this into the main branch and benefit future users. Thanks.