Skip to content
Snippets Groups Projects
  1. Jan 09, 2013
  2. Dec 13, 2012
  3. Nov 23, 2012
  4. Nov 16, 2012
  5. Oct 02, 2012
  6. Aug 31, 2012
  7. Jul 30, 2012
  8. Jul 28, 2012
  9. Jul 25, 2012
  10. Jul 12, 2012
  11. Jun 24, 2012
  12. May 13, 2012
  13. Apr 26, 2012
  14. Apr 21, 2012
    • Jared Hancock's avatar
      Add lint test for (calls to) undefined functions · cd4b4faa
      Jared Hancock authored
      And correct several undefined function errors from several source files. So
      while function names in PHP are considered case-insensitive, it still makes
      sense to use consistent camel casing for both defining and calling methods.
      The lint test searches the code base for method calls, and then searches the
      code base again looking for a function definition matching the name of the
      function invoked. It's not failsafe, because it doesn't detect the class
      from which the method should belong, so it's likely to have false negatives.
      Furthermore, it won't work well for PHP 5 where several classes are built
      into PHP (and aren't searchable in the osTicket code base).
      
      Remove the include/staff/api.inc.php as it no longer appears to be used (and
      contains references to undefined methods).
      cd4b4faa
  15. Mar 19, 2012
Loading