Skip to content

2.0.0

Compare
Choose a tag to compare
@Majkl578 Majkl578 released this 04 Jan 23:34
d9fe763

Version 2.0.0 incorporates many new sniffs for code safety, predictable behavior and consistent code look, Most notably:

  • no more useless annotations that i.e. duplicate Git information,
  • space after not operator (!),
  • short arrays only,
  • no assignments in conditions,
  • alphabetically sorted uses,
  • no long type names (int vs. integer),
  • and more.

We're also moving towards PHP 7.1/7.2 standards and strict code. As part of this, we're now including checks for:

  • declare(strict_types=1) in every file,
  • native scalar types where possible,
  • scalar hints in parameter and return types,
  • defining the contents of iterable types in phpDoc,
  • no redundant phpDoc annotations when types are expressed natively,

Changelog:

  • Total issues resolved: 0
  • Total pull requests resolved: 4
  • Total contributors: 2

Improvement