doctrine/coding-standard
The Doctrine Coding Standard is a set of PHPCS rules applied to all Doctrine projects.
14.0.0
16M downloads/mo
#985 most downloaded on Packagist
doctrine/coding-standard
What this package is like to depend on
Last release 11 months ago
21 Sep 2025
Release timing varies
gaps range from 9 days to 1.9 years
Some releases are documented
notes for 10 of 28 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
28 releases · first in 2015
1 release in the last 12 months
see the full history below
Release timeline
27 releases · Jul 2015 to Sep 2025Releases
latest 28-
14.0.021 Sep 2025Release notes
Open source →Release Notes for 14.0.0
Backwards incompatible release (major)
14.0.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Dependencies
-
13.0.114 May 2025Release notes
Open source →Release Notes for 13.0.1
13.0.x bugfix release (patch)
13.0.1
-
Total issues resolved: 0
-
Total pull requests resolved: 1
-
Total contributors: 1
-
339: fix: update rule for language construct spacing thanks to @simPod
-
-
13.0.023 Mar 2025Release notes
Open source →Release Notes for 13.0.0
Backwards incompatible release (major)
13.0.0
-
Total issues resolved: 0
-
Total pull requests resolved: 2
-
Total contributors: 1
-
327: feat: enable SlevomatCodingStandard.TypeHints.ClassConstantTypeHint thanks to @simPod
BC break,Improvement,New sniff
-
-
12.0.024 Apr 2023Release notes
Open source →Release Notes for 12.0.0
Backwards incompatible release (major)
12.0.0
- Total issues resolved: 0
- Total pull requests resolved: 4
- Total contributors: 2
New rule
- 311: Configure "SlevomatCodingStandard.Commenting.AnnotationName" rule thanks to @phansys
- 310: Disallow string property fetch thanks to @greg0ire
Dependencies
Improvement
-
11.1.006 Jan 2023Release notes
Open source →Release Notes for 11.1.0
Feature release (minor)
11.1.0
- Total issues resolved: 0
- Total pull requests resolved: 2
- Total contributors: 2
Improvements
-
11.0.011 Dec 2022Release notes
Open source →Release Notes for 11.0.0
Backwards incompatible release (major)
11.0.0
-
Total issues resolved: 0
-
Total pull requests resolved: 6
-
Total contributors: 2
-
304: String interpolation: don't suggest
sprintf()thanks to @derrabus -
295: feat: handle blank lines between class properties thanks to @simPod
BC break,CI,New rule
- 298: Add attribute sniffs thanks to @simPod
BC break,Improvement
- 294: refactor: replace RequireOneLinePropertyDocComment with RequireOneLineDocComment thanks to @simPod
BC break,Improvement,New rule
-
-
10.0.026 Aug 2022Release notes
Open source →Release Notes for 10.0.0
Backwards incompatible release (major)
10.0.0
- Total issues resolved: 0
- Total pull requests resolved: 10
- Total contributors: 2
New rules
- 283: Require constructor property promotion thanks to @greg0ire
- 277: feat: run PropertyDeclaration on promoted properties thanks to @simPod
- 281: feat: require non-capturing catch thanks to @simPod
- 268: feat: add rules for trailing commas in function declarations thanks to @simPod
- 278: feat: add space CS for BackedEnums thanks to @simPod
- 270: feat: add rules for trailing commas in function calls and closure
usethanks to @simPod
Dependencies
- 264: chore: require slevomat/coding-standard v8 and squizlabs/php_codesniffer v3.7 thanks to @simPod
Internal
-
9.0.212 Apr 2021Release notes
Open source →This release is the same as 9.0.0, in order to "cancel" 9.0.1, which had many breaking changes.
-
9.0.123 Jun 2022Release notes
Open source →Release Notes for 9.0.1
9.0.x bugfix release (patch)
9.0.1
-
Total issues resolved: 0
-
Total pull requests resolved: 5
-
Total contributors: 1
-
269: fix: use tmp-patch file name thanks to @simPod
-
264: chore(deps): require slevomat/coding-standard v8 and squizlabs/php_codesniffer v3.7 thanks to @simPod
-
257: Add tests for PHP 8 thanks to @simPod
-
-
9.0.012 Apr 2021Release notes
Open source →Release Notes for 9.0.0
9.0.0
-
Total issues resolved: 0
-
Total pull requests resolved: 1
-
Total contributors: 1
-
238: Add psalm-prefixed annotations to param and return group thanks to @simonberger
-
-
8.2.103 Apr 2021Nothing published for this version
-
8.2.025 Oct 2020Nothing published for this version
-
8.1.005 Jul 2020Nothing published for this version
-
8.0.002 Jun 2020Nothing published for this version
-
7.0.211 Dec 2019Nothing published for this version
-
7.0.107 Dec 2019Nothing published for this version
-
7.0.0no dateNothing published for this version
-
6.0.125 Oct 2020Nothing published for this version
-
6.0.015 Mar 2019Nothing published for this version
-
5.0.131 Jan 2019Nothing published for this version
-
5.0.024 Sep 2018Nothing published for this version
-
4.0.003 Mar 2018Nothing published for this version
-
3.0.103 Mar 2018Nothing published for this version
-
3.0.006 Feb 2018Nothing published for this version
-
2.1.019 Jan 2018Nothing published for this version
-
2.0.004 Jan 2018Nothing published for this version
-
1.0.020 Aug 2017Nothing published for this version
-
0.1.016 Jul 2015Nothing published for this version