PackageTrack
Sign in Get early access

slevomat/coding-standard

Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.

8.31.1 141M downloads/mo #295 most downloaded on Packagist slevomat/coding-standard

What this package is like to depend on

Last release 23 days ago

31 Jul 2026

Ships fairly regularly

a new release about every 4 weeks

Rarely documented

notes for 11 of 192 stable releases

Nothing withdrawn

no release was ever pulled

11 years old

192 releases · first in 2015

18 releases in the last 12 months

see the full history below

Release timeline

192 releases · Dec 2015 to Jul 2026
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 192
  1. 8.31.1 31 Jul 2026
    Release notes

    🐛 Fixes

    • SlevomatCodingStandard.Classes.ParentCall: Fixed false positive for parent calls after =>
    • SlevomatCodingStandard.Classes.ParentCall: Fixed false positive for @parent::
    • SlevomatCodingStandard.Classes.ReadonlyClass: Do not mark abstract class as readonly despite all promoted and body-property are mark as readonly (thanks to @kamil-zacek)
    Open source →
  2. 8.31.0 21 Jul 2026
    Release notes

    🔧 Improvements

    • SlevomatCodingStandard.Classes.ReadonlyClass: New options allowNonFinalClasses and ignoreTraits (thanks to @kamil-zacek)
    • SlevomatCodingStandard.Functions.ArrowFunctionDeclaration: New options disallowReturnTypeHint (thanks to @simPod)
    Open source →
  3. 8.30.1 27 Jun 2026
    Release notes

    🐛 Fixes

    • SlevomatCodingStandard.Classes.ReadonlyClass: Do not require mark readonly class when class extends from another class (thanks o @kamil-zacek)
    Open source →
  4. 8.30.0 27 Jun 2026
    Release notes

    🔧 Improvements

    • SlevomatCodingStandard.Classes.ReadonlyClass: For check to readonly class / promoted properties (thanks to @kamil-zacek)
    • SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly: New options namespacesAllowedToUsePartially and namespacesRequiredToUsePartially (thanks to @Toflar)

    🐛 Fixes

    • Fix (Disallow|Require)TrailingComma sniffs to handle null parenthesis pointers (thanks to @HonzaCZ)
    Open source →
  5. 8.29.0 07 May 2026
    Release notes

    🔧 Improvements

    • SlevomatCodingStandard.TypeHints.DNFTypeHintFormat: New option enableForDocComments (thanks to @alleknalle)

    🐛 Fixes

    • SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation: Option ignoredAnnotationNames now works for ConstFetchNode (thanks to @vojmani)
    Open source →
  6. 8.28.1 22 Mar 2026
    Release notes

    🐛 Fixes

    • SlevomatCodingStandard.ControlStructures.NewWithoutParentheses: Fix to allow empty parentheses when followed by member access operators for PHP 8.4+ chaining
    • SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly: Use existing alias (thanks to @Khartir)
    • Fixed undefined array key in ReferencedNameHelper when processing fully-qualified names in strings (thanks to @AlexSkrypnyk)
    Open source →
  7. 8.28.0 23 Feb 2026
    Release notes

    🔧 Improvements

    • SlevomatCodingStandard.Classes.TraitUseOrder: New sniff (thanks to @h4kuna)
    • SlevomatCodingStandard.Commenting.ThrowsAnnotationsOrder: New sniff (thanks to @h4kuna)
    • SlevomatCodingStandard.Exceptions.CatchExceptionsOrder: New sniff (thanks to @h4kuna)
    Open source →
  8. 8.27.1 25 Jan 2026
    Release notes

    🐛 Fixes

    • Fixed DocCommentHelper::findDocCommentOwnerPointer()
    • Fixed ignoring some errors with #[Override] attribute (thanks to @greg0ire)
    Open source →
  9. 8.27.0 25 Jan 2026
    Release notes

    🔧 Improvements

    • Disable some errors for properties with #[Override] attribute (thanks to @kkmuffme)
    • Disable some errors for methods with #[Override] attribute (thanks to @greg0ire)

    🐛 Fixes

    • Do not remove true/false phpdoc if type hint is bool (thanks to @kkmuffme)
    Open source →
  10. 8.26.0 21 Dec 2025
    Release notes

    🔧 Improvements

    • SlevomatCodingStandard.Classes.ClassKeywordOrder: New sniff (thanks to @kamil-zacek)

    🐛 Fixes

    • SlevomatCodingStandard.ControlStructures.RequireMultiLineTernaryOperator: Workaround for missing property hooks support in PHPCS
    Open source →
  11. 8.25.1 25 Nov 2025

    Nothing published for this version

  12. 8.25.0 22 Nov 2025

    Nothing published for this version

  13. 8.24.0 25 Sep 2025

    Nothing published for this version

  14. 8.23.0 17 Sep 2025

    Nothing published for this version

  15. 8.22.1 13 Sep 2025

    Nothing published for this version

  16. 8.22.0 06 Sep 2025

    Nothing published for this version

  17. 8.21.1 31 Aug 2025

    Nothing published for this version

  18. 8.21.0 31 Aug 2025

    Nothing published for this version

  19. 8.20.0 26 Jul 2025

    Nothing published for this version

  20. 8.19.1 09 Jun 2025

    Nothing published for this version

  21. 8.19.0 07 Jun 2025

    Nothing published for this version

  22. 8.18.1 22 May 2025

    Nothing published for this version

  23. 8.18.0 01 May 2025

    Nothing published for this version

  24. 8.17.1 25 Apr 2025

    Nothing published for this version

  25. 8.17.0 10 Apr 2025

    Nothing published for this version

  26. 8.16.2 27 Mar 2025

    Nothing published for this version

  27. 8.16.1 23 Mar 2025

    Nothing published for this version

  28. 8.16.0 23 Feb 2025

    Nothing published for this version

  29. 8.15.0 09 Mar 2024

    Nothing published for this version

  30. 8.14.1 08 Oct 2023

    Nothing published for this version

  31. 8.14.0 07 Oct 2023

    Nothing published for this version

  32. 8.13.4 25 Jul 2023

    Nothing published for this version

  33. 8.13.3 24 Jul 2023

    Nothing published for this version

  34. 8.13.2 24 Jul 2023

    Nothing published for this version

  35. 8.13.1 25 Jun 2023

    Nothing published for this version

  36. 8.13.0 23 Jun 2023

    Nothing published for this version

  37. 8.12.1 15 May 2023

    Nothing published for this version

  38. 8.12.0 14 May 2023

    Nothing published for this version

  39. 8.11.1 24 Apr 2023

    Nothing published for this version

  40. 8.11.0 21 Apr 2023

    Nothing published for this version

  41. 8.10.0 10 Apr 2023

    Nothing published for this version

  42. 8.9.2 05 Apr 2023

    Nothing published for this version

  43. 8.9.1 27 Mar 2023

    Nothing published for this version

  44. 8.9.0 25 Mar 2023

    Nothing published for this version

  45. 8.8.0 09 Jan 2023

    Nothing published for this version

  46. 8.7.1 14 Dec 2022

    Nothing published for this version

  47. 8.7.0 13 Dec 2022

    Nothing published for this version

  48. 8.6.4 14 Nov 2022

    Nothing published for this version

  49. 8.6.3 10 Nov 2022

    Nothing published for this version

  50. 8.6.2 22 Oct 2022

    Nothing published for this version

  51. 8.6.1 21 Oct 2022

    Nothing published for this version

  52. 8.6.0 16 Oct 2022

    Nothing published for this version

  53. 8.5.2 27 Sep 2022

    Nothing published for this version

  54. 8.5.1 23 Sep 2022

    Nothing published for this version

  55. 8.5.0 21 Sep 2022

    Nothing published for this version

  56. 8.4.0 09 Aug 2022

    Nothing published for this version

  57. 8.3.0 16 Jul 2022

    Nothing published for this version

  58. 8.2.0 08 Jul 2022

    Nothing published for this version

  59. 8.1.0 24 Jun 2022

    Nothing published for this version

  60. 8.0.1 22 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