Releases: TysonAndre/PhanTypoCheck
Releases · TysonAndre/PhanTypoCheck
1.1.2: Improve worst-case performance
Avoid backtracking when checking long lowercase character sequences.
1.1.1
- Update dictionary
- Improve performance (avoid creating closure for token when unnecessary)
1.1.0
- Update dictionary
- Fix notice for hexdec() in php 7.4 causing crash when used as a Phan plugin.
1.0.3
- Fix quadratic runtime when a file/token is full of typos
- Add --ignore-word-set option for phptypocheck
1.0.2
- Add a way to check plaintext without tokenizing code as PHP
- Update the dictionary
- Set the exit code to a non-zero value when a typo is seen.
- Skip binary files
1.0.1: Update word list
Update this plugin
1.0.0: Require php 7.1+ and Phan 2
Merge pull request #8 from TysonAndre/update-phan Update phan, use newer plugin version
0.0.4: Properly count newlines in double quoted strings and heredoc
Merge pull request #7 from TysonAndre/improve-newline-count Properly count newlines in escaped text
0.0.3
- Add
phptypocheck
script to allow analyzing PHP scripts for typos without depending on Phan - Use double quotes for arguments to issue messages (apostrophes occur in more typos/suggestions)
0.0.2
- Allow configuring a file of false positives to ignore
- Skip suggestions with hyphens and other invalid characters when suggesting replacements for tokens (e.g. class names, constant names)