PackageTrack
Sign in Get early access

bitexpert/phpstan-magento

PHPStan Magento Extension

v0.43.0 2.7M downloads/mo #2601 most downloaded on Packagist bitExpert/phpstan-magento

What this package is like to depend on

Last release 1 months ago

28 Jun 2026

Release timing varies

gaps range from 2 weeks to 1.3 years

Nearly every release is documented

notes for 40 of 40 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

40 releases · first in 2020

1 release in the last 12 months

see the full history below

Release timeline

40 releases · Apr 2020 to Jun 2026
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 40
  1. v0.43.0 28 Jun 2026
    Release notes

    Added

    • #347 Make cache key unique per project (so per current working directory).
    • #346 Add Stubs for Magento's loosey-string behavior

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #352 Fix CI pipeline by upgrading to more recent Magento versions
    • #351 Fix build on PHPStan 2.2.3
    • #348 Normalises the indentations to tabs and not a mix of spaces and tabs.

    Thank you @hostep, @navarr, and @staabm for your contributions!

    Open source →
    Release notes

    Added

    • #347 Make cache key unique per project (so per current working directory).
    • #346 Add Stubs for Magento's loosey-string behavior

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #352 Fix CI pipeline by upgrading to more recent Magento versions
    • #351 Fix build on PHPStan 2.2.3
    • #348 Normalises the indentations to tabs and not a mix of spaces and tabs.
    Open source →
  2. v0.42.0 17 May 2025
    Release notes

    Added

    • Nothing.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #340 fix: error where scopeConfig proxy would get $scopeType = default

    Thank you, @stijnbernards, for your contribution!

    Open source →
    Release notes

    Added

    • Nothing.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #340 fix: error where scopeConfig proxy would get $scopeType = default
    Open source →
  3. v0.41.0 06 Mar 2025
    Release notes

    0.41.0

    Added

    • #338 Feature/type for controller result factory

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.

    Thank you @pmarki for your contribution!

    Open source →
    Release notes

    Added

    • #338 Feature/type for controller result factory

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  4. v0.40.0 22 Feb 2025
    Release notes

    Added

    • #334 PHPStan 2.0 compatibility
    • #332 Add support for symfony/finder 7+

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.

    THANK YOU @hostep and @indykoning for your contributions!

    Open source →
    Release notes

    Added

    • #334 PHPStan 2.0 compatibility
    • #332 Add support for symfony/finder 7+

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  5. v0.32.0 31 Aug 2024
    Release notes

    Added

    • #326 Update phpstan/phpstan requirement to ~1.12.0

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
    Release notes

    Added

    • #326 Update phpstan/phpstan requirement to ~1.12.0

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  6. v0.31.0 09 Jul 2024
    Release notes

    Added

    • #318 Update phpstan/phpstan requirement to ~1.11.1
    • #308 Update nikic/php-parser requirement to ^5.0.1
    • #304 Extend Neon validation logic for CI

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    Thanks @sprankhub for your contribution!

    Open source →
    Release notes

    Added

    • #318 Update phpstan/phpstan requirement to ~1.11.1
    • #308 Update nikic/php-parser requirement to ^5.0.1
    • #304 Extend Neon validation logic for CI

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    Open source →
  7. v0.30.1 07 Apr 2023
    Release notes

    Added

    • Nothing.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #302 Fix problem with parametersSchema
    Open source →
    Release notes

    Added

    • Nothing.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #302 Fix problem with parametersSchema
    Open source →
  8. v0.30.0 07 Apr 2023
    Release notes

    Added

    • #300 Add rule "Disallow setTemplate() in Block classes"
    • #299 Add rule "resource models should be used directly"
    • #298 Add Magento 2.4.6 to CI pipeline

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
    Release notes

    Added

    • #300 Add rule "Disallow setTemplate() in Block classes"
    • #299 Add rule "resource models should be used directly"
    • #298 Add Magento 2.4.6 to CI pipeline

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  9. v0.29.0 28 Feb 2023
    Release notes

    Added

    • #292 Update phpstan/phpstan requirement to ~1.10.3

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
    Release notes

    Added

    • #292 Update phpstan/phpstan requirement to ~1.10.3

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  10. v0.28.0 22 Jan 2023
    Release notes

    Added

    • #283 Adds PHP 8.2 / Magento 2.4.6 support

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #284 Ignore ext autoloader for local classes

    Thanks, @hostep for your contribution!

    Open source →
    Release notes

    Added

    • #283 Adds PHP 8.2 / Magento 2.4.6 support

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #284 Ignore ext autoloader for local classes
    Open source →
  11. v0.27.0 12 Nov 2022
    Release notes

    Added

    • Nothing.

    Deprecated

    • #279 Update phpstan/phpstan requirement to ~1.9.2

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  12. v0.26.0 12 Nov 2022
    Release notes

    Added

    • Nothing.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #276 Check existing extension interface for types
    Open source →
  13. v0.25.0 04 Oct 2022
    Release notes

    Added

    • Nothing.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #275 Restructure the docs
    • #274 Don't use ?array type hint in ext attributes
    • #273 Make code compatible with PHP 7.2
    Open source →
  14. v0.24.0 13 Aug 2022
    Release notes

    Added

    • #269 Add Magento 2.4.5 to CI pipeline
    • #267 Use Magento root for TestFrameworkAutoloader

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #268 Autoloaders prefer local classes
    • #261 Update phpstan/phpstan requirement from ~1.7.2 to ~1.8.2
    Open source →
  15. v0.23.1 06 Aug 2022
    Release notes

    Added

    • Nothing.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #266 Allow arrays in extension attributes
    • #264 Fix factory generation for "FactoryThing" classes
    Open source →
  16. v0.23.0 27 May 2022
    Release notes

    Added

    • #243 Upgrade to PHPStan 1.7

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  17. v0.22.0 26 May 2022
    Release notes

    Added

    • #246 Do not yet require PHPStan 1.7
    • #242 Add link to related blog post
    • #239 Update madewithlove/license-checker requirement from to ^1.2

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  18. v0.21.0 27 Apr 2022
    Release notes

    Added

    • #241 PHPStan 1.6 compatibility

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  19. v0.20.0 22 Apr 2022
    Release notes

    Added

    • #238 Bump phpstan/phpstan to 1.5.7
    • #232 Bump league/commonmark to 2.3.0
    • #231 Support for 2.4.4
    • #230 Bump phpunit/phpunit to 9.5.20

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  20. v0.19.0 25 Mar 2022
    Release notes

    Added

    • Nothing.

    Deprecated

    • #223 Deprecate PHPStan 1.4 and make extension compatible with PHPStan 1.5

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  21. v0.18.0 25 Mar 2022
    Release notes

    Added

    • #221 Feature/packagist downloads
    • #220 Add documenation for composer plugins
    • #219 Bump phpunit/phpunit to 9.5.19
    • #218 Bump phpstan/phpstan to 1.4.10
    • #216 Bump nette/neon to 3.3.3
    • #212 Bump captainhook/captainhook to 5.10.8
    • #210 Bump league/commonmark to 2.2.3
    • #201 Bump captainhook/plugin-composer to 5.3.3
    • #202 Bump symfony/finder to 5.4.3

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  22. v0.17.0 15 Jan 2022
    Release notes

    Added

    • Nothing

    Deprecated

    • #192 Deprecate PHPStan 1.3 and make extension compatible with PHPStan 1.4

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  23. v0.16.0 15 Jan 2022
    Release notes

    Added

    • #191 Add autoloader for extension classes
    • #190 Check if classes referenced in neon config exist
    • #188 Automatically register the autoloader file

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  24. v0.15.0 08 Jan 2022
    Release notes

    Added

    • Nothing.

    Deprecated

    • Nothing.

    Removed

    • #187 Bump phpstan/phpstan to 1.3.3

    Fixed

    • Nothing.
    Open source →
  25. v0.14.0 08 Jan 2022
    Release notes

    Added

    • #186 Bump captainhook/captainhook to 5.10.6
    • #181 Bump league/commonmark to 2.1.1
    • #178 Bump phpunit/phpunit to 9.5.11
    • #175 Lint neon files in CI pipeline

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #179 Rework extension attribute handling for standalone modules
    Open source →
  26. v0.13.0 23 Dec 2021
    Release notes

    Added

    • Nothing.

    Deprecated

    • Nothing.

    Removed

    • #173 Upgrade to PHPStan 1.2, drop support for PHPStan 1.1

    Fixed

    • Nothing.
    Open source →
  27. v0.12.0 23 Dec 2021
    Release notes

    Added

    • #171 Improve docs
    • #170 Throw exception in autoloader
    • #169 Bump captainhook/captainhook to 5.10.5
    • #168 Bump squizlabs/php_codesniffer to 3.6.2
    • #164 Bump nikic/php-parser to 4.13.2
    • #163 Determine tmpDir path relative to config file when appropriate
    • #162 Support for extension attributes
    • #159 Bump phpstan/phpstan-strict-rules to 1.1.0
    • #158 Bump phpstan/phpstan to 1.2.0

    Deprecated

    • Nothing.

    Removed

    • #171 Remove nette/neon dependency

    Fixed

    • Nothing.
    Open source →
  28. v0.11.0 13 Nov 2021
    Release notes

    Added

    • #157 Allow PHP 8.0 as PHP runtime

    Deprecated

    • #156 Drop support for PHPStan 0.12.x

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  29. v0.10.0 13 Nov 2021
    Release notes

    Added

    • #155 Composer dependency upgrade
    • #154 Bump nette/neon to 3.3.1
    • #153 Bump nikic/php-parser to 4.13.1
    • #150 Bump captainhook/plugin-composer to 5.3.2
    • #149 Bump composer/composer to 2.1.9
    • #148 Bump squizlabs/php_codesniffer to 3.6.1
    • #146 Bump mikey179/vfsstream to 1.6.10
    • #145 Bump phpunit/phpunit to 9.5.10
    • #141 Bump phpstan/phpstan to 0.12.99
    • #140 Bump captainhook/captainhook to 5.10.2
    • #135 Bump phpstan/phpstan-strict-rules to 0.12.11
    • #134 Bump phpstan/phpstan-phpunit to 0.12.22

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  30. v0.9.0 07 Aug 2021
    Release notes

    Added

    • #131 Bump phpstan/phpstan to 0.12.94
    • #130 Bump phpunit/phpunit to 9.5.8
    • #129 Bump nikic/php-parser to 4.12.0
    • #126 Bump mikey179/vfsstream to 1.6.9
    • #125 Bump phpstan/phpstan-phpunit to 0.12.21
    • #123 Bump phpstan/phpstan-strict-rules to 0.12.10
    • #119 Add more unit tests
    • #118 Turn magento/framework into dev dependency
    • #117 Switch to Composer 2 for CI workflow

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #133 Omit namespace for non-namespace Proxy
    • #132 Omit namespace for non-namespace Factory
    Open source →
  31. v0.8.0 18 Jun 2021
    Release notes

    Added

    • #116 Add license checker to CI workflow
    • #115 Upgrade Composer dependencies
    • #114 Bump phpstan/phpstan-phpunit to 0.12.20
    • #111 Bump phpstan/phpstan to 0.12.89
    • #110 Bump phpunit/phpunit to 9.5.5
    • #109 Bump captainhook/captainhook to 5.10.1
    • #108 Bump captainhook/plugin-composer to 5.3.1
    • #100 Bump nikic/php-parser to 4.10.5
    • #98 Upgrade to GitHub-native Dependabot
    • #96 Bump composer/composer to 2.0.13
    • #90 Bump squizlabs/php_codesniffer to 3.6.0

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  32. v0.7.0 13 Mar 2021
    Release notes

    Added

    • #80 Update Composer dependencies
    • #79 Bump phpstan/phpstan from 0.12.80 to 0.12.81
    • #78 Bump phpstan/phpstan-phpunit from 0.12.17 to 0.12.18
    • #77 Bump captainhook/captainhook from 5.4.4 to 5.4.5
    • #76 Bump captainhook/plugin-composer from 5.2.3 to 5.2.4
    • #74 Bump nette/neon from 3.2.1 to 3.2.2
    • #67 Add phpstan/phpstan-strict-rules
    • #64 PHPStan extensions run on max
    • #63 Bump magento/framework from 103.0.1 to 103.0.2
    • #59 Bump phpunit/phpunit from 9.5.1 to 9.5.2

    Deprecated

    • Nothing.

    Removed

    • #60 Replace Phing with Composer scripts

    Fixed

    • #70 Install matching lowest version of strict rules
    Open source →
  33. v0.6.0 22 Jan 2021
    Release notes

    Added

    • Nothing.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #52 Fix params for DataObject get & set
    Open source →
  34. v0.5.0 06 Jan 2021
    Release notes

    Added

    • #47 Add type for ObjectManager helper for tests
    • #48 Fix proxy generation

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  35. v0.4.1 27 Oct 2020
    Release notes

    Added

    • Nothing.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #41 Removes upper version constraint of phpstan
    Open source →
  36. v0.4.0 16 Oct 2020
    Release notes

    Added

    • #40 Use same constraint as latest Magento release
    • #39 Apply phpstan.rules.rule tag dynamically via DI
    • #36 Add deprecation rules for AbstractModel classe

    Deprecated

    • #40 Deprecated Config Option autoload_files

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  37. v0.3.0 29 May 2020
    Release notes

    Added

    • #35 Make DataObject extension stricter

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  38. v0.2.0 17 May 2020
    Release notes

    Added

    • #33 Upgrade PHPStan dependency to 0.12.24

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  39. v0.1.1 12 May 2020
    Release notes

    Added

    • #32 Add autoloader for Magento\TestFramework classes

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  40. v0.1.0 18 Apr 2020
    Release notes

    Added

    • #29 Improve code generation for factories & proxies

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive