Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 1.28 KB

CHANGELOG.md

File metadata and controls

27 lines (22 loc) · 1.28 KB

Version 2.0.0-dev

  • Fixed some false positives for func_get_args/func_get_arg calls

Version 1.2.1

  • Fixed fatal error when trying to access ContainerBuilder::$outputFormat on PHP 5.3.3

Version 1.2.0

  • Fixed some false positives related to yield usage in expression context
  • Fixed false positives for nested by-reference foreach loops wrapped in functions or class methods
  • Fixed function redeclaration false positives when a declaration is wrapped in a function_exists condition
  • Fixed processing of namespaced files starting with shebang
  • Added detection of continue/break outside of loop/switch contexts
  • Added JSON output format

Version 1.1.0

  • Added warning for setting cookies with empty names
  • Added color differentiation between error messages and warnings
  • Added the --level (-l) option to specify minimum reported issue level
  • Added the --relative-paths (-r) option to output file paths relative to checked directories
  • Added the --integer-size option to specify integer size of the target system
  • Fixed detection of non-lowercase function names

Version 1.0.2

  • Fixed notice in PHP4ConstructorVisitor caused by anonymous classes

Version 1.0.1

  • Fixed ReflectionException in ContainerBuilder::addVisitors on PHP 5.3.3