Skip to content

Releases: ekino/phpstan-banned-code

v2.1.0

14 Aug 07:23
e1c3e47
Compare
Choose a tag to compare

What's Changed

  • Add non-ignorable error handling feature by @Spomky in #66

New Contributors

Full Changelog: v2.0.0...v2.1.0

v2.0.0

01 Aug 13:35
bab2937
Compare
Choose a tag to compare

What's Changed

  • fix(composer): fix order by @mremi in #54
  • fix(rule): Fix phpstan fail for result of array_column by @BitScout in #55
  • feat(ban): Add rule to ban shell execution via backticks by @BitScout in #56
  • feat(ban): Add ban on print statements by @BitScout in #57
  • fix(composer): allow plugin ergebnis/composer-normalize by @mremi in #58
  • Normalize leading backslashes in banned function names by @spawnia in #30
  • fix(ci): use sprintf native function by @brociani in #64

New Contributors

Full Changelog: v1.0.0...v2.0.0

v1.0.0

02 Nov 08:39
4f0d7c8
Compare
Choose a tag to compare
  • Improve PHPStan configuration file
  • Updated to PHPStan 1.0
  • Updated to PHPUnit 9.5
  • Drop support for PHP 7.2

v0.5.0

13 Aug 12:32
3277f5c
Compare
Choose a tag to compare
  • Migrate from Travis to GitHub Actions
  • Fix deprecated PHP-CS rules

v0.4.0

15 Mar 13:03
bd4eeb7
Compare
Choose a tag to compare
  • Drop support for PHP 7.1
  • Added support of dd function
  • Replaced deprecated localheinz/composer-normalize in favor of ergebnis one
  • Allow PHP ^8.0
  • Switch to the new security checker

v0.3.1

17 Jan 13:19
a266c3d
Compare
Choose a tag to compare
  • Fix deprecated config inside extension.neon file
  • Fix tests by adding nikic/php-parser as a required dev dependency

v0.3.0

02 Jan 08:07
Compare
Choose a tag to compare
  • Updated to PHPStan 0.12
  • Added testing on PHP 7.4

v0.2.0

30 Oct 14:41
0c1c6d8
Compare
Choose a tag to compare
  • Enable strict typing
  • Add coveralls and badges
  • Autoinstall through https://github.com/phpstan/extension-installer
  • Apply the BannedNodesRule only to named functions
  • Add functional tests with some code snippets that should be detected when running phpstan

v0.1.1

11 Apr 12:20
74b1cf6
Compare
Choose a tag to compare
  • fix(exception): do nothing if node name is instance of Variable (closure case)

v0.1.0

15 Feb 15:43
72357b4
Compare
Choose a tag to compare
Merge pull request #10 from mremi/master

fix(deps): move phpstan/phpstan-phpunit in require-dev and update ver…