Skip to content

Releases: Rockstar04/SublimeLinter-contrib-phpstan

Fix click on tab

03 Feb 16:52
Compare
Choose a tag to compare

Execute PHPStan analysis when the file tab is clicked

31 Jan 16:25
Compare
Choose a tag to compare

So if an error found by PHPStan is located in another file (i.e. wrong type), a new analysis will be automatically triggered when returning to the file after correcting the other one. Previously, we had to save a change to trigger the analysis.

Also, the mapping of error identifiers with regex has been reviewed following @fadrian06's fork

Better error wrapping

30 Jan 16:10
Compare
Choose a tag to compare

Check if error identifier is provided by PHPStan

19 Sep 02:09
Compare
Choose a tag to compare
  • identifiers were not provided in older versions of PHPStan, now it is no longer a problem
  • additional error wrapping

Codebase overhauled completely

16 Sep 15:35
Compare
Choose a tag to compare

The code base has been reviewed completely:

  • Legacy settings have been removed
  • The plugin relies only on phpstan.neon and vendor/autoload.php located in the root folder
  • Improved highlighting of problems found by PHPStan
  • PHPStan tips are now displayed (marked with 💡)

Add pyyaml as dependency to allow parsing Neon files

02 Sep 16:39
10fb354
Compare
Choose a tag to compare

Thanks to pierresh for PR #10 to address a missing dependency needed to open the neon files from PHPStan.

Correct PHPStan startup issue when using NEON files

25 Oct 16:45
6faae8a
Compare
Choose a tag to compare

Thanks @ryanpcmcquen for the pull request #9 that suppresses a notice form PHPStan about loading a configuration file when being called from the linter.

PHPStan Compatibility Release

23 Oct 00:28
2a6121b
Compare
Choose a tag to compare

Thanks @ryanpcmcquen for the pull request #8 the squash a deprecation notice with SublimeLinter

Only use composer's autoloader by default #6

12 Apr 12:58
ff39ef3
Compare
Choose a tag to compare

If you still need to autoload the file being linted itself, turn of "use_composer_autoload" and load the file using linter args:

"SublimeLinter.linters.phpstan.args": "--autoload-file=${file}",
"SublimeLinter.linters.phpstan.use_composer_autoload": false

Otherwise this will search for an autoloader from composer and only call phpstan with --autoload-file if it found one.
No PHP code will be executed except the autoloader.

Thanks for the contribution @tikki

PHPStan 0.10.3 Compatibility update

17 Sep 14:24
0908fe9
Compare
Choose a tag to compare