Blog
FAQ
Discussions
Search
Projects, issues, users, and merge requests.
Project ID, name, and description.
User nickname, name, and org.
Issue ID, title, and summary.
Merge request titles.
Contrib
.social
Feed
Live feed
Builds
Live builds
Core
Tags
Tags and Initiatives
Coding Standards
Open on Drupal.org โ
Open on Drupal GitLab โ
Created on 3 April 2015,
almost 10 years ago
Maintained by
๐ฌ๐ง
United Kingdom
AaronMcHale
๐ณ๐ฑ
Netherlands
bbrala
๐ฌ๐ง
United Kingdom
catch
๐บ๐ธ
United States
dww
๐บ๐ธ
United States
effulgentsia
๐ญ๐บ
Hungary
Gรกbor Hojtsy
๐จ๐ฆ
Canada
jthorson
๐ฆ๐บ
Australia
larowlan
๐ฌ๐ง
United Kingdom
longwave
๐ง๐ฌ
Bulgaria
pfrenssen
๐ณ๐ฟ
New Zealand
quietone
๐บ๐ธ
United States
tizzo
๐ฎ๐ณ
India
urvashi_vora
Clone
Clone with SSH
Clone with HTTPS
Clone with
doGit
๐ณ๐ฟ
New Zealand
46%
๐ง๐ช
Belgium
15%
๐บ๐ธ
United States
12%
๐ฌ๐ง
United Kingdom
8%
๐ฎ๐น
Italy
7%
๐ฆ๐บ
Australia
4%
๐ฆ๐น
Austria
4%
๐ณ๐ฑ
Netherlands
2%
๐ดโโ ๏ธ
๐ญ๐บ ๐ฉ๐ช ๐จ๐ฆ ๐ท๐บ ๐ฉ๐ฐ
4%
Top 10 contributors
PreviousNext
49%
๐ฆ๐บ
@larowlan
๐ฆ๐บ
@mstrelan
๐ณ๐ฟ
@quietone
๐ฆ๐บ
@acbramley
Calibrate
14%
๐ง๐ช
@borisson_
nLightened Development LLC
3%
๐บ๐ธ
@nicxvan
Tag1 Consulting
2%
๐ฌ๐ง
@catch
Gulp Digital Ltd
2%
๐ฌ๐ง
@joachim
APQC
2%
๐บ๐ธ
@neclimdul
Cellar Door
2%
๐บ๐ธ
@anilu@
Full Fat Things
2%
๐ฌ๐ง
@longwave
SWIS
2%
๐ณ๐ฑ
@bbrala
DM13 Security LLC
2%
๐บ๐ธ
@cmlara
+13
and 13 other organisations
Cheppers
๐ญ๐บ
@Balu Ertl
Arhs
๐ฉ๐ช
@donquixote
Scouting Waterloo Region
๐จ๐ฆ
@Liam Morland
SciShield
๐บ๐ธ
@pwolanin
Access
๐ฌ๐ง
@Sophie.SK
Ardea
๐ฉ๐ฐ
@ressa
DUG BE vzw (Drupal User Group Belgium)
๐ง๐ช
@BramDriesen
๐ง๐ช
@borisson_
Tobania
๐ง๐ช
@BramDriesen
Third and Grove
๐ฌ๐ง
@catch
European Commission
๐ฉ๐ช
@donquixote
OpenPlus
๐จ๐ฆ
@Liam Morland
DrupalCamp NJ
๐บ๐ธ
@pwolanin
drupalnl
๐ณ๐ฑ
@bbrala
and 7 individuals
( 16% )
๐ฆ๐บ
@dpi
๐ฆ๐น
@drunken monkey
๐ฌ๐ง
@jonathan1055
๐บ๐ธ
@kentr
๐ฎ๐น
@apaderno
๐ฎ๐น
@mondrake
๐ท๐บ
@niklan
Follow
Sign in to follow projects
Issues
๐
Add Accessibility Coding Standards
Active
Coding Standards
Created
over 2 years ago
v
๐จ๐ฆ
Canada
mgifford
1 day ago
๐
Conflict between coding standards and module documentation guidelines on file naming
RTBC
Coding Standards
Created
over 6 years ago
v
๐บ๐ธ
United States
bkline
3 days ago
๐
Be clear about "use strict" in JavaScript files
Active
Coding Standards
Created
5 days ago
v
๐จ๐ฆ
Canada
Liam Morland
5 days ago
๐
Allow usage of stdclass instead of object where it makes sense
Needs work
Coding Standards
Created
over 2 years ago
v
๐ญ๐บ
Hungary
mxr576
8 days ago
๐ฑ
Coding Standards Meeting TBD UTC
Active
Meeting
Created
8 days ago
v
๐ณ๐ฟ
New Zealand
quietone
8 days ago
๐ฑ
Coding Standards Meeting TBD UTC
Active
Meeting
Created
15 days ago
v
๐ณ๐ฟ
New Zealand
quietone
9 days ago
โจ
Require using a colon after case instruction in switch statements
Active
Coding Standards
Created
over 6 years ago
v
๐ต๐ฑ
Poland
Krzysztof Domaลski
11 days ago
๐
Make camelCase variable naming preferred over snake_case
Active
Coding Standards
Created
about 9 years ago
v
๐ฆ๐น
Austria
klausi
13 days ago
๐ฑ
Coding Standards Meeting Tuesday 2025-02-26 0900 UTC
Active
Meeting
Created
2 months ago
v
๐ณ๐ฟ
New Zealand
quietone
15 days ago
โจ
add a standard for referring to HTML tags in code documentation
Active
Coding Standards
Created
almost 9 years ago
v
๐ฌ๐ง
United Kingdom
joachim
15 days ago
๐
Need doxygen standards for overriding a theme hook/template
Closed: duplicate
Documentation
Created
almost 15 years ago
v
๐บ๐ธ
United States
jhodgdon
15 days ago
โจ
Adopt phpstan phpdoc types as canonical reference of allowed types
Active
Coding Standards
Created
8 months ago
v
๐ฆ๐บ
Australia
mstrelan
15 days ago
๐
Follow DOXYGEN syntax for how @addtogroup is supposed to work
Active
Documentation
Created
over 9 years ago
v
๐บ๐ธ
United States
markhalliwell
15 days ago
๐
@file doc blocks for test classes with an additional class in the file
Active
Coding Standards
Created
almost 9 years ago
v
๐บ๐ธ
United States
jhodgdon
about 1 month ago
๐
Discuss t() in tests
Active
Coding Standards
Created
about 1 month ago
v
๐ณ๐ฟ
New Zealand
quietone
about 1 month ago
๐
Forbid using more than one space around operators
Active
Coding Standards
Created
over 8 years ago
v
๐ฆ๐น
Austria
drunken monkey
about 1 month ago
๐
[policy] OO: Documentation standards "overkill" (not agile enough) for getters and setters
Closed: duplicate
Coding Standards
Created
over 10 years ago
v
๐ฆ๐บ
Australia
webel
about 1 month ago
๐
Require backslash prefix for global functions and constants
Active
Coding Standards
Created
about 3 years ago
v
๐ฉ๐ช
Germany
donquixote
about 1 month ago
๐ฑ
Adopt CommonMark spec for Markdown files
Needs work
Coding Standards
Created
about 7 years ago
v
๐บ๐ธ
United States
markhalliwell
about 1 month ago
๐
Require short ternary (Elvis operator) syntax
Active
Coding Standards
Created
about 1 year ago
v
๐ฆ๐บ
Australia
mstrelan
about 1 month ago
๐
Define order of object method modifiers as in PSR-12
Needs review
Coding Standards
Created
about 8 years ago
v
๐ฆ๐น
Austria
klausi
about 1 month ago
๐
Use C::class instead of 'C' for strings holding class names, to facilitate "find usages" in IDEs.
Needs work
Coding Standards
Created
over 8 years ago
v
๐ฉ๐ช
Germany
donquixote
about 1 month ago
๐
Add @see comments on function name strings, to facilitate "find usages" in IDEs
Postponed: needs info
Coding Standards
Created
over 8 years ago
v
๐ฉ๐ช
Germany
donquixote
about 1 month ago
โจ
Coding standard to enforce backslash on function calls outside of a namespace
Active
Coding Standards
Created
2 months ago
v
๐ง๐ช
Belgium
BramDriesen
about 1 month ago
๐
Update about @return $this
Active
Coding Standards
Created
over 2 years ago
v
๐ซ๐ท
France
andypost
about 1 month ago
๐
Add a mention of how to link to a change record in a @deprecated tag
Active
Coding Standards
Created
about 4 years ago
v
๐ฌ๐ง
United Kingdom
joachim
about 1 month ago
โจ
[Policy, no patch] Reflect secure coding policy in coding standard of only using Crypt::hashBase64() for hashes
Needs work
Coding Standards
Created
over 8 years ago
v
๐บ๐ธ
United States
pwolanin
about 1 month ago
๐
Add a standard for importing traits
Active
Coding Standards
Created
about 4 years ago
v
๐ฌ๐ง
United Kingdom
joachim
about 1 month ago
๐
Standardize on indent and comment line length within code samples in a docblock (@code โฆ @endcode)
Active
Documentation
Created
over 12 years ago
v
๐จ๐ฆ
Canada
star-szr
about 1 month ago
๐ฑ
Convention or recommendation for line breaks in constructor parameter signature with promoted properties
Active
Coding Standards
Created
9 months ago
v
๐ฉ๐ช
Germany
donquixote
about 1 month ago
๐
Space in `match (..)`.
Active
Coding Standards
Created
over 1 year ago
v
๐ฉ๐ช
Germany
donquixote
about 1 month ago
๐
No documentation about @group @coversDefaultClass @covers
Needs work
Coding Standards
Created
over 10 years ago
v
๐ณ๐ฑ
Netherlands
clemens.tolboom
about 1 month ago
โจ
OO: Documentation standards: documenting every constant "overkill" when context is clear.
Postponed: needs info
Coding Standards
Created
over 10 years ago
v
๐ฆ๐บ
Australia
webel
about 1 month ago
โจ
Relax the "Conditions should not be wrapped into multiple lines" rule for more code readability
Active
Coding Standards
Created
over 1 year ago
v
๐ฆ๐ฒ
Armenia
murz
about 1 month ago
๐
Document that Drupal aims to be PSR-1 compliant in the coding standards
Active
Coding Standards
Created
almost 9 years ago
v
๐ฆ๐น
Austria
klausi
about 1 month ago
๐
Add a standard for "All identifiers should be quoted in database queries"
Active
Coding Standards
Created
over 4 years ago
v
๐ณ๐ฑ
Netherlands
daffie
about 1 month ago
๐
Adjust deprecated coding standard in tests
Active
Coding Standards
Created
about 3 years ago
v
๐ง๐ช
Belgium
mallezie
about 2 months ago
โจ
Allow multi-line @var inline variable type declarations
Closed: works as designed
Coding Standards
Created
over 3 years ago
v
๐ณ๐ฟ
New Zealand
quietone
about 2 months ago
๐
Use @implements Doxygen directive for hook implementations
Needs work
Documentation
Created
over 14 years ago
v
๐ฌ๐ง
United Kingdom
jbrown
about 2 months ago
๐
Allow {@inheritdoc} and additional documentation
Active
Coding Standards
Created
almost 12 years ago
v
๐จ๐ญ
Switzerland
ParisLiakos
about 2 months ago
๐
Comment style for Enum
Active
Coding Standards
Created
4 months ago
v
๐ณ๐ฟ
New Zealand
quietone
about 2 months ago
๐
Remove larowlan from coding standards committee
Active
Coding Standards
Created
2 months ago
v
๐ฆ๐บ
Australia
larowlan
about 2 months ago
๐
Discuss/clarify the use of @throws tag in interfaces, and contract enforcement
Postponed: needs info
Coding Standards
Created
about 9 years ago
v
๐ฉ๐ช
Germany
donquixote
about 2 months ago
๐
Merge 'Object-oriented code' page into 'PHP coding standards' page
Active
Documentation
Created
4 months ago
v
๐ณ๐ฟ
New Zealand
quietone
about 2 months ago
โจ
Adopt the PSR-12 standard for PHP7 return types
Active
Coding Standards
Created
over 7 years ago
v
๐ง๐ฌ
Bulgaria
pfrenssen
about 2 months ago
๐ฑ
Coding Standards Meeting Wednesday 2024-12-04 0900 UTC
Active
Meeting
Created
4 months ago
v
๐ณ๐ฟ
New Zealand
quietone
2 months ago
๐
Remove section on Persistent Variables
Active
Coding Standards
Created
over 1 year ago
v
๐ฌ๐ง
United Kingdom
joachim
2 months ago
โจ
Make @file optional for *.module and *.install files
Active
Coding Standards
Created
about 9 years ago
v
๐ท๐บ
Russia
Chi
2 months ago
๐
Disallow `or` or `and` in Logical Operators (use `||` or `&&`)
Active
Coding Standards
Created
almost 8 years ago
v
๐จ๐ฆ
Canada
joelpittet
2 months ago
โจ
Allow Implements hook_foo_BAR_ID_bar() for 'xyz_bar'.
Postponed: needs info
Coding Standards
Created
over 7 years ago
v
๐ณ๐ฑ
Netherlands
megachriz
2 months ago
โจ
Add recommendations for YAML files coding standards to minimize usage of inline JSON constructions
Active
Coding Standards
Created
almost 2 years ago
v
๐ฆ๐ฒ
Armenia
murz
2 months ago
๐ฑ
Expand hook documentation to explain caller responsibilities
Closed: works as designed
Coding Standards
Created
about 14 years ago
v
๐บ๐ธ
United States
agentrickard
2 months ago
โจ
Allow @param and @return docs on hook implementations
Active
Coding Standards
Created
almost 6 years ago
v
๐ฉ๐ช
Germany
donquixote
2 months ago
๐ฑ
Coding Standards Meeting Tuesday 2024-11-04 2100 UTC
Active
Meeting
Created
5 months ago
v
๐ณ๐ฟ
New Zealand
quietone
2 months ago
๐ฑ
Coding Standards Meeting Wednesay 2024-10-23 0900 UTC
Active
Meeting
Created
5 months ago
v
๐ณ๐ฟ
New Zealand
quietone
2 months ago
๐
[policy, no patch] Secondary/additional test @group names
Active
Coding Standards
Created
over 10 years ago
v
๐ฉ๐ช
Germany
sun
2 months ago
๐
Fix inconsistent indentation between @code - @endcode block in core
Active
Coding Standards
Created
almost 7 years ago
v
๐ฎ๐ณ
India
msankhala
2 months ago
๐
Document cases where it's appropriate to use global \Drupal calls as opposed to DI
Active
Coding Standards
Created
over 4 years ago
v
๐บ๐ธ
United States
mrweiner
2 months ago
โจ
Stop using uppercase TRUE, FALSE, NULL literals
Active
Coding Standards
Created
12 months ago
v
๐ฎ๐น
Italy
mondrake
2 months ago
โจ
Explicitly require no space before colon for return types
Active
Coding Standards
Created
6 months ago
v
๐ฆ๐บ
Australia
mstrelan
2 months ago
๐
Change sniff rule for @todo to be capitalized and sniff non-php files
Active
Coding Standards
Created
11 months ago
v
๐บ๐ธ
United States
smustgrave
2 months ago
๐
[policy] Coding standards for "use" statements
Active
Coding Standards
Created
almost 13 years ago
v
๐ง๐ช
Belgium
aspilicious
2 months ago
๐
Define a standard for naming data providers in PHPUnit-based tests
Active
Coding Standards
Created
10 months ago
v
๐ณ๐ฟ
New Zealand
quietone
2 months ago
๐
Allow omitting doxygen when type and variable name is enough
Active
Coding Standards
Created
over 1 year ago
v
๐จ๐ฆ
Canada
Charlie ChX Negyesi
3 months ago
โจ
Decide on a coding style for PHP Enumerations
Active
Coding Standards
Created
about 2 years ago
v
๐ฌ๐ง
United Kingdom
Eli-T
3 months ago
๐
Update CSS coding standards to include PostCSS and Drupal 10
Needs review
Coding Standards
Created
over 2 years ago
v
๐บ๐ธ
United States
mherchel
4 months ago
๐ฑ
Simplify first line in constructor doc comments to "Constructor."
Active
Coding Standards
Created
9 months ago
v
๐ฉ๐ช
Germany
donquixote
4 months ago
โจ
Consistent styling for the NULL/TRUE/FALSE symbols
Active
Coding Standards
Created
about 3 years ago
v
๐บ๐ธ
United States
totten
4 months ago
๐ฑ
Coding Standards Meeting Tuesday 2024-10-08 2100 UTC
RTBC
Meeting
Created
6 months ago
v
๐ณ๐ฟ
New Zealand
quietone
5 months ago
๐
[2024-0814] Draft blog
Active
Meeting
Created
8 months ago
v
๐ณ๐ฟ
New Zealand
quietone
5 months ago
โจ
Reconsider Comment structure for strict types
Closed: duplicate
Coding Standards
Created
almost 4 years ago
v
๐บ๐ธ
United States
timodwhit
5 months ago
๐ฑ
Coding Standards Meeting Wednesday 2024-09-25 0900 UTC
RTBC
Meeting
Created
6 months ago
v
๐ณ๐ฟ
New Zealand
quietone
5 months ago
โจ
Stop using {@inheritdoc} in DocBlocks
Active
Coding Standards
Created
about 2 years ago
v
๐ฎ๐น
Italy
mondrake
5 months ago
๐
[policy] Remove the requirement for doxygen for test methods
Needs work
Documentation
Created
over 11 years ago
v
๐จ๐ฆ
Canada
chx
5 months ago
๐ฑ
Coding Standards Meeting Tuesday 2024-07-16 2100 UTC
Active
Meeting
Created
9 months ago
v
๐ณ๐ฟ
New Zealand
quietone
5 months ago
๐ฑ
Coding Standards Meeting Wednesday 2024-09-10 2100 UTC
RTBC
Meeting
Created
7 months ago
v
๐ฆ๐บ
Australia
larowlan
5 months ago
๐ฑ
Coding Standards Meeting Wednesday 2024-07-31 0900 UTC
Active
Meeting
Created
9 months ago
v
๐ฆ๐บ
Australia
larowlan
5 months ago
๐ฑ
Coding Standards Meeting Tuesday 2024-08-13 2100 UTC
Needs review
Meeting
Created
8 months ago
v
๐ณ๐ฟ
New Zealand
quietone
5 months ago
๐ฑ
Coding Standards Meeting Wednesdsy 2024-08-28 0900 UTC
Fixed
Meeting
Created
8 months ago
v
๐ณ๐ฟ
New Zealand
quietone
6 months ago
โจ
Support PHPDoc Types in @param @var @return annotations
Closed: duplicate
Coding Standards
Created
over 2 years ago
v
๐ฎ๐น
Italy
mondrake
7 months ago
โจ
Stop using FQCN in PHPDoc annotations
Active
Coding Standards
Created
almost 2 years ago
v
๐ฎ๐น
Italy
mondrake
7 months ago
โจ
Import classes used in annotations
Closed: outdated
Coding Standards
Created
about 9 years ago
v
๐จ๐ฆ
Canada
deviantintegral
7 months ago
๐
Document use of PHP Attributes for plugins
Active
Coding Standards
Created
over 1 year ago
v
๐ณ๐ฟ
New Zealand
quietone
7 months ago
๐
Adopt a method of documenting service tags
Active
Coding Standards
Created
almost 9 years ago
v
๐บ๐ธ
United States
jhodgdon
7 months ago
๐
Define a standard for Date formats
Active
Coding Standards
Created
8 months ago
v
๐ฉ๐ฐ
Denmark
ressa
8 months ago
๐
Agree on a property naming pattern
Postponed: needs info
Coding Standards
Created
over 13 years ago
v
๐ฆ๐น
Austria
fago
8 months ago
๐
Change !isset to the null coalescing assignment operator ??=
Active
Coding Standards
Created
about 1 year ago
v
๐บ๐ธ
United States
smustgrave
8 months ago
๐
Decide on coding standard for configuration keys of ConfigEntities
Postponed: needs info
Coding Standards
Created
over 12 years ago
v11.0
๐ฉ๐ช
Germany
tstoeckler
8 months ago
๐ฑ
Coding Standards Meeting Wednesday 2024-07-03 0900 UTC
Fixed
Meeting
Created
10 months ago
v
๐ณ๐ฟ
New Zealand
quietone
8 months ago
๐ฑ
Coding Standards Meeting Wednesday 2024-05-08 0900 UTC
Fixed
Meeting
Created
11 months ago
v
๐ณ๐ฟ
New Zealand
quietone
8 months ago
๐ฑ
Coding Standards Meeting Tuesday 2024-06-18 2100 UTC
Fixed
Meeting
Created
10 months ago
v
๐ณ๐ฟ
New Zealand
quietone
8 months ago
๐
list() syntax
Active
Coding Standards
Created
almost 13 years ago
v
๐บ๐ธ
United States
traviscarden
8 months ago
๐
Using '&' in doxygen @param documentation
Closed: won't fix
Documentation
Created
over 13 years ago
v
๐ฆ๐น
Austria
klausi
9 months ago
๐
Allow type hinting with classes where appropriate
Active
Coding Standards
Created
about 3 years ago
v
๐ฌ๐ง
United Kingdom
catch
9 months ago
๐
Improve text for parameter type hinting in function declaration
Active
Coding Standards
Created
almost 14 years ago
v
๐ฉ๐ฐ
Denmark
johsw
9 months ago
๐ฑ
Allow constructor methods to omit docblocks
Fixed
Coding Standards
Created
over 11 years ago
v
๐ฌ๐ง
United Kingdom
Xano
9 months ago
๐
[policy] Remove DI verbosity by removing unnecessary doc lines
Closed: duplicate
Coding Standards
Created
about 11 years ago
v
๐บ๐ธ
United States
effulgentsia
9 months ago
๐
Revisit Coding Standard about parameters documentation
Closed: duplicate
Documentation
Created
about 13 years ago
v
๐ซ๐ท
France
pounard
9 months ago
๐
Should the '&' be included in @param for variables passed by reference
Closed: duplicate
Coding Standards
Created
over 1 year ago
v
๐ณ๐ฟ
New Zealand
quietone
9 months ago
๐
Standardize getter docblocks
Closed: duplicate
Coding Standards
Created
almost 10 years ago
v
๐ท๐ธ
Serbia
bojanz
9 months ago
contrib
.social
Blog
FAQ
Discussions
Production build 0.71.5
2024