PackageTrack
Sign in Get early access

shipmonk/phpstan-rules

Various extra strict PHPStan rules we found useful in ShipMonk.

4.4.0 2.8M downloads/mo #1283 most downloaded on Packagist shipmonk-rnd/phpstan-rules

What this package is like to depend on

Last release 3 months ago

18 May 2026

Release timing varies

gaps range from 8 days to 3 months

Rarely documented

notes for 10 of 55 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

55 releases · first in 2022

10 releases in the last 12 months

see the full history below

Release timeline

55 releases · Jun 2022 to May 2026
2023 2024 2025 2026
Release Pre-release

Releases

latest 55
  1. 4.4.0 18 May 2026
    Release notes

    New features

    • allowComparingOnlyComparableTypes: add support for BcMath\Number (#360)

    Internal:

    • Performance improvements (#358)

    Dependencies

    • Requires PHP 8.1+ (#361)
    Open source →
  2. 4.3.7 07 Apr 2026
    Release notes

    Fixes:

    • forbidVariableTypeOverwriting: fix false positive with fluent $this returns (#350)
    • forbidUnusedException & forbidUnusedMatchResult support remaining edge cases like string concat (#353)
    • forbidUselessNullableReturn: fix false positive with property hooks (#355)
    Open source →
  3. 4.3.6 16 Feb 2026
    Release notes

    Fixes:

    • forbidCheckedExceptionInYieldingMethod: support functions and (immediately-invoked) closures (#345)
    • Add composer.lock to export-ignore (#344)
    Open source →
  4. 4.3.5 23 Jan 2026
    Release notes

    Fixes:

    • forbidCheckedExceptionInCallable: fix reported file for traits (#342)
    Open source →
  5. 4.3.4 21 Jan 2026
    Release notes

    Fixes:

    • No crash or false-positives when running with fibers-based PHPStan 2.1.34+ (#340, #337)
    Open source →
  6. 4.3.3 18 Dec 2025
    Release notes

    Fixes:

    Open source →
  7. 4.3.2 09 Dec 2025
    Release notes

    Fixes:

    • enforceReadonlyPublicProperty: skip untyped props + add excludePropertyWithDefaultValue option (#334, @devfrey)
    Open source →
  8. 4.3.1 08 Dec 2025
    Release notes

    Fixes:

    enforceReadonlyPublicProperty: skip static properties (#333, @devfrey)

    Open source →
  9. 4.3.0 01 Dec 2025
    Release notes

    Improvements:

    • enforceReadonlyPublicProperty support asymmetric visibility (#331, @JanTvrdik)
    • forbidArithmeticOperationOnNonNumber add support for BcMath\Number (#321, @JokubasR)

    Fixes:

    • enforceNativeReturnTypehint fix false positive for unions with template type (#325, @mspirkov)
    • forbidPhpDocNullabilityMismatchWithNativeTypehint: ignore void methods (#328, @mspirkov)

    Dependencies:

    • phpstan/phpstan now requires ^2.1.32 (#331)
    Open source →
  10. 4.2.1 04 Sep 2025
    Release notes

    Fixes:

    • forbidUselessNullableReturn: no error for overridable methods (#314 by @vrana)
    Open source →
  11. 4.2.0 26 Aug 2025

    Nothing published for this version

  12. 4.1.5 17 Jul 2025

    Nothing published for this version

  13. 4.1.4 28 May 2025

    Nothing published for this version

  14. 4.1.3 16 May 2025

    Nothing published for this version

  15. 4.1.2 05 May 2025

    Nothing published for this version

  16. 4.1.1 12 Mar 2025

    Nothing published for this version

  17. 4.1.0 03 Dec 2024

    Nothing published for this version

  18. 4.0.0 11 Nov 2024

    Nothing published for this version

  19. 3.2.1 01 Oct 2024

    Nothing published for this version

  20. 3.2.0 22 Aug 2024

    Nothing published for this version

  21. 3.1.0 10 Jul 2024

    Nothing published for this version

  22. 3.0.0 15 May 2024

    Nothing published for this version

  23. 2.12.0 02 Apr 2024

    Nothing published for this version

  24. 2.11.3 05 Mar 2024

    Nothing published for this version

  25. 2.11.2 09 Jan 2024

    Nothing published for this version

  26. 2.11.1 22 Dec 2023

    Nothing published for this version

  27. 2.11.0 19 Dec 2023

    Nothing published for this version

  28. 2.10.2 12 Dec 2023

    Nothing published for this version

  29. 2.10.1 01 Dec 2023

    Nothing published for this version

  30. 2.10.0 29 Nov 2023

    Nothing published for this version

  31. 2.9.2 04 Oct 2023

    Nothing published for this version

  32. 2.9.1 26 Sep 2023

    Nothing published for this version

  33. 2.9.0 15 Sep 2023

    Nothing published for this version

  34. 2.8.0 07 Sep 2023

    Nothing published for this version

  35. 2.7.0 24 Aug 2023

    Nothing published for this version

  36. 2.6.3 01 Aug 2023

    Nothing published for this version

  37. 2.6.2 24 May 2023

    Nothing published for this version

  38. 2.6.1 15 May 2023

    Nothing published for this version

  39. 2.6.0 28 Apr 2023

    Nothing published for this version

  40. 2.5.1 21 Apr 2023

    Nothing published for this version

  41. 2.5.0 18 Apr 2023

    Nothing published for this version

  42. 2.4.1 17 Apr 2023

    Nothing published for this version

  43. 2.4.0 05 Apr 2023

    Nothing published for this version

  44. 2.3.1 14 Feb 2023

    Nothing published for this version

  45. 2.3.0 03 Feb 2023

    Nothing published for this version

  46. 2.2.0 10 Jan 2023

    Nothing published for this version

  47. 2.1.1 09 Jan 2023

    Nothing published for this version

  48. 2.1.0 03 Jan 2023

    Nothing published for this version

  49. 2.0.1 02 Dec 2022

    Nothing published for this version

  50. 2.0.0 15 Nov 2022

    Nothing published for this version

  51. 1.2.0 10 Oct 2022

    Nothing published for this version

  52. 1.1.1 20 Aug 2022

    Nothing published for this version

  53. 1.1.0 17 Aug 2022

    Nothing published for this version

  54. 1.0.1 24 Jun 2022

    Nothing published for this version

  55. 1.0.0 15 Jun 2022

    Nothing published for this version

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