Skip to content

Releases: Justintime50/phpcs-short-scalar-types

v1.0.0

18 Mar 19:17
3a8d404

Choose a tag to compare

  • Drops support for php_codesniffer v3
  • Adds support for php_codesniffer v4
  • Drops support for PHP 7.0 & 7.1

v0.3.0

04 Jan 06:13

Choose a tag to compare

  • Matches more comment types and does so more accurately (only targeting @var, @param, and @return types)

v0.2.1

04 Jan 05:24

Choose a tag to compare

  • Remove double and real types from erroring, focus the library on integer and boolean corrections. Double and real are valid words in comments

v0.2.0

04 Jan 05:18

Choose a tag to compare

  • Swap type from library to phpcodesniffer-standard so it can be auto installed via PHPCSStandards/composer-installer

v0.1.1

04 Jan 04:36

Choose a tag to compare

  • Corrects minimum pin of php_codesniffer

v0.1.0

04 Jan 04:30

Choose a tag to compare

  • Initial release
    • Throws errors when using boolean or integer in any comments, enforces the use of shorter names bool and int to match actual types
    • Provides autofix capabilities