Skip to content

Releases: TysonAndre/PhanTypoCheck

1.1.2: Improve worst-case performance

27 Mar 02:19
e554dce
Compare
Choose a tag to compare

Avoid backtracking when checking long lowercase character sequences.

1.1.1

20 Mar 03:37
da01163
Compare
Choose a tag to compare
  • Update dictionary
  • Improve performance (avoid creating closure for token when unnecessary)

1.1.0

07 Mar 17:25
Compare
Choose a tag to compare
  • Update dictionary
  • Fix notice for hexdec() in php 7.4 causing crash when used as a Phan plugin.

1.0.3

29 Oct 14:30
0cc64c8
Compare
Choose a tag to compare
  • Fix quadratic runtime when a file/token is full of typos
  • Add --ignore-word-set option for phptypocheck

1.0.2

28 Oct 18:47
Compare
Choose a tag to compare
  • 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

09 Jul 18:25
Compare
Choose a tag to compare
Update this plugin

1.0.0: Require php 7.1+ and Phan 2

30 May 14:59
67c9d88
Compare
Choose a tag to compare
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

29 Mar 01:07
e5a20fd
Compare
Choose a tag to compare
Merge pull request #7 from TysonAndre/improve-newline-count

Properly count newlines in escaped text

0.0.3

27 Mar 15:48
965a5d9
Compare
Choose a tag to compare
  • 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

25 Mar 15:15
Compare
Choose a tag to compare
  • 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)