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,
over 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
41%
๐ฌ๐ง
United Kingdom
19%
๐บ๐ธ
United States
11%
๐ง๐ช
Belgium
9%
๐ฆ๐บ
Australia
6%
๐ฉ๐ช
Germany
4%
๐ดโโ ๏ธ
2%
๐ฎ๐น
Italy
2%
๐ณ๐ฑ
Netherlands
2%
๐ฆ๐น
Austria
2%
๐ดโโ ๏ธ
๐ช๐ธ ๐จ๐ฆ ๐ต๐ช ๐ญ๐บ ๐ท๐ด ๐ท๐บ ๐ฉ๐ฐ
3%
Top 10 contributors
PreviousNext
47%
๐ฆ๐บ
@kim.pepper
๐ฆ๐บ
@larowlan
๐ฆ๐บ
@mstrelan
๐ณ๐ฟ
@quietone
๐ฆ๐บ
@acbramley
DUG BE vzw (Drupal User Group Belgium)
9%
๐ง๐ช
@BramDriesen
๐ง๐ช
@borisson_
Arhs
4%
๐ฉ๐ช
@donquixote
HeroDevs
4%
๐บ๐ธ
@xjm
Tag1 Consulting
3%
๐ฌ๐ง
@catch
nLightened Development LLC
2%
๐บ๐ธ
@nicxvan
Digital Polygon
2%
@godotislate
3281d Consulting
2%
๐บ๐ธ
@dww
Gulp Digital Ltd
2%
๐ฌ๐ง
@joachim
SWIS
1%
๐ณ๐ฑ
@bbrala
+27
and 27 other organisations
Open Social
๐ณ๐ฑ
@kingdutch
APQC
๐บ๐ธ
@neclimdul
DM13 Security LLC
๐บ๐ธ
@cmlara
Cellar Door
๐บ๐ธ
@anilu@
Krystal
๐ต๐ช
@krystalcode
Full Fat Things
๐ฌ๐ง
@longwave
Cheppers
๐ญ๐บ
@Balu Ertl
Webikon
๐ท๐ด
@claudiu.cristea
The University of British Columbia
๐จ๐ฆ
@joelpittet
Scouting Waterloo Region
๐จ๐ฆ
@Liam Morland
SciShield
๐บ๐ธ
@pwolanin
Mobomo
๐บ๐ธ
@smustgrave
Access
๐ฌ๐ง
@Sophie.SK
Ardea
๐ฉ๐ฐ
@ressa
Tobania
๐ง๐ช
@BramDriesen
Calibrate
๐ง๐ช
@borisson_
Third and Grove
๐ฌ๐ง
@catch
European Commission
๐ท๐ด
@claudiu.cristea
๐ฉ๐ช
@donquixote
Drupal Romania Association
๐ท๐ด
@claudiu.cristea
Skpr
๐ฆ๐บ
@kim.pepper
Acro Media Inc
๐ต๐ช
@krystalcode
OpenPlus
๐จ๐ฆ
@Liam Morland
DrupalCamp NJ
๐บ๐ธ
@pwolanin
Salsa Digital
๐บ๐ธ
@xjm
OPTASY
๐บ๐ธ
@xjm
Zoocha
๐บ๐ธ
@xjm
drupalnl
๐ณ๐ฑ
@bbrala
and 10 individuals
( 19% )
๐ฆ๐บ
@dpi
๐ฆ๐น
@drunken monkey
๐ฌ๐ง
@jonathan1055
๐บ๐ธ
@kentr
๐ฎ๐น
@apaderno
๐ฎ๐น
@mondrake
๐ท๐บ
@niklan
๐ช๐ธ
@penyaskito
๐ฌ๐ง
@rachel_norfolk
@solideogloria
Follow
Sign in to follow projects
Merge Requests
More
!3
Update CSS coding standards to include PostCSS and Drupal 10
Open
Show issue
๐ณ๐ฟ
New Zealand
quietone
updated
about 1 month ago
!7
Remove redundant secondary menu links
Open
Show issue
๐ณ๐ฟ
New Zealand
quietone
updated
about 2 months ago
!5
Formatting fixes
Closed
Show issue
๐ณ๐ฟ
New Zealand
quietone
updated
about 2 months ago
!6
Formatting fixes
Closed
Show issue
๐ฌ๐ง
United Kingdom
jonathan1055
updated
about 2 months ago
!4
Fix display of GitLab pages
Closed
Show issue
๐ฌ๐ง
United Kingdom
jonathan1055
updated
2 months ago
!2
Run cspell and other linting/validation jobs
Closed
Show issue
๐ฌ๐ง
United Kingdom
jonathan1055
updated
2 months ago
More Merge Requests
Issues
๐
Remove redundant secondary menu links
Active
Documentation
Created
about 2 months ago
v
๐ฌ๐ง
United Kingdom
jonathan1055
28 days ago
โจ
Provide examples for phpdoc allowed types
Active
Coding Standards
Created
3 months ago
v
๐ช๐ธ
Spain
penyaskito
about 1 month ago
๐
Allow usage of stdclass instead of object where it makes sense
Needs work
Coding Standards
Created
almost 3 years ago
v
๐ญ๐บ
Hungary
mxr576
about 1 month ago
โจ
add a standard for referring to HTML tags in code documentation
Active
Coding Standards
Created
over 9 years ago
v
๐ฌ๐ง
United Kingdom
joachim
about 1 month ago
๐
Create a coding standard for CSS to ensure whitespace after function calls
Closed: outdated
Coding Standards
Created
over 7 years ago
v
๐จ๐ฆ
Canada
joelpittet
about 1 month ago
๐
Traits should always have the suffix "Trait"
Active
Coding Standards
Created
3 months ago
v
godotislate
about 1 month ago
๐ฑ
Coding Standards Meeting Wednesday 2025-06-30 0900
Active
Meeting
Created
2 months ago
v
๐ณ๐ฟ
New Zealand
quietone
about 1 month ago
๐
Allow omitting doxygen when type and variable name is enough
Active
Coding Standards
Created
about 2 years ago
v
๐จ๐ฆ
Canada
Charlie ChX Negyesi
about 1 month ago
๐
Define a standard for naming data providers in PHPUnit-based tests
Active
Coding Standards
Created
about 1 year ago
v
๐ณ๐ฟ
New Zealand
quietone
about 1 month ago
๐
Updates for using GitLab pages
Active
Coding Standards
Created
about 2 months ago
v
๐ณ๐ฟ
New Zealand
quietone
about 1 month ago
๐ฑ
Coding Standards Meeting Wednesday 2025-05-28 0900 UTC
Active
Meeting
Created
3 months ago
v
๐ณ๐ฟ
New Zealand
quietone
about 1 month ago
๐ฑ
Coding Standards Meeting Tuesday 2025-07-30 0900 UTC
Active
Meeting
Created
about 1 month ago
v
๐ณ๐ฟ
New Zealand
quietone
about 1 month ago
๐
Update CSS coding standards to include PostCSS and Drupal 10
Needs review
Coding Standards
Created
over 2 years ago
v
๐บ๐ธ
United States
mherchel
about 1 month ago
๐
Formatting fixes
Active
Documentation
Created
2 months ago
v
๐ณ๐ฟ
New Zealand
quietone
about 2 months ago
๐ฑ
Adopt CommonMark spec for Markdown files
Needs work
Coding Standards
Created
over 7 years ago
v
๐บ๐ธ
United States
markhalliwell
about 2 months ago
๐ฑ
Omit first line documentation for __construct() and other magic methods
Needs review
Coding Standards
Created
over 11 years ago
v
๐ฌ๐ง
United Kingdom
Xano
about 2 months ago
๐
Define a standard for adding declare(strict_types=1)
Active
Coding Standards
Created
almost 3 years ago
v
๐ณ๐ฑ
Netherlands
arkener
about 2 months ago
โจ
Decide on a coding style for PHP Enumerations
Active
Coding Standards
Created
over 2 years ago
v
๐ฌ๐ง
United Kingdom
Eli-T
about 2 months ago
๐
Fix display of GitLab pages
Active
Documentation
Created
2 months ago
v
๐ณ๐ฟ
New Zealand
quietone
about 2 months ago
๐
Run cspell and other linting/validation jobs
Active
Miscellaneous
Created
2 months ago
v
๐ฌ๐ง
United Kingdom
jonathan1055
about 2 months ago
๐
Convert Coding Standards to GitLab pages
Active
Documentation
Created
3 months ago
v
๐ณ๐ฟ
New Zealand
quietone
about 2 months ago
๐
[policy] Coding standards for "use" statements
Active
Coding Standards
Created
about 13 years ago
v
๐ง๐ช
Belgium
aspilicious
about 2 months ago
๐
[policy, no patch] Discuss the standards for data providers phpunit based tests
Active
Coding Standards
Created
almost 8 years ago
v
๐ฌ๐ง
United Kingdom
alexpott
2 months ago
๐
[policy, no patch] Secondary/additional test @group names
Active
Coding Standards
Created
about 11 years ago
v
๐ฉ๐ช
Germany
sun
2 months ago
๐
[policy, no patch] Discuss the standards for phpunit based tests
Needs review
Coding Standards
Created
about 12 years ago
v
๐ฉ๐ช
Germany
dawehner
2 months ago
๐
Merge 'Object-oriented code' page into 'PHP coding standards' page
Active
Documentation
Created
8 months ago
v
๐ณ๐ฟ
New Zealand
quietone
2 months ago
๐ฑ
About an ?: assignment operator.
Active
Drupal Core Standards
Created
over 1 year ago
v11.0
๐ซ๐ท
France
Chris64
2 months ago
โจ
Adopt phpstan phpdoc types as canonical reference of allowed types
Active
Coding Standards
Created
12 months ago
v
๐ฆ๐บ
Australia
mstrelan
2 months ago
โจ
Require using a colon after case instruction in switch statements
Active
Coding Standards
Created
almost 7 years ago
v
๐ต๐ฑ
Poland
Krzysztof Domaลski
2 months ago
๐
Drop Drupal.Commenting.FunctionComment.ParamCommentIndentation slows down development
Active
Coding Standards
Created
2 months ago
v
๐จ๐ฆ
Canada
Charlie ChX Negyesi
2 months ago
๐
Add conditions to deciding if a blog post is needed
Active
Documentation
Created
3 months ago
v
๐ณ๐ฟ
New Zealand
quietone
2 months ago
๐
[policy, no patch] When should service arguments be wrapped?
Active
other
Created
about 4 years ago
v11.0
๐บ๐ธ
United States
phenaproxima
2 months ago
๐ฑ
Convention or recommendation for line breaks in constructor parameter signature with promoted properties
Active
Coding Standards
Created
about 1 year ago
v
๐ฉ๐ช
Germany
donquixote
2 months ago
๐
Make documentation for typed things optional
Active
Coding Standards
Created
2 months ago
v
๐จ๐ฆ
Canada
Charlie ChX Negyesi
2 months ago
๐
No documentation about @group @coversDefaultClass @covers
Needs work
Coding Standards
Created
almost 11 years ago
v
๐ณ๐ฑ
Netherlands
clemens.tolboom
3 months ago
๐ฑ
Coding Standards Meeting TBD UTC
Active
Meeting
Created
4 months ago
v
๐ณ๐ฟ
New Zealand
quietone
3 months ago
โจ
Allow omitting @var for strictly typed class properties
RTBC
Coding Standards
Created
almost 4 years ago
v
๐ณ๐ฑ
Netherlands
kingdutch
3 months ago
๐ฑ
Coding Standards Meeting TBD UTC
Active
Meeting
Created
5 months ago
v
๐ณ๐ฟ
New Zealand
quietone
3 months ago
๐
Standardize on indent and comment line length within code samples in a docblock (@code โฆ @endcode)
Active
Documentation
Created
about 13 years ago
v
๐จ๐ฆ
Canada
star-szr
3 months ago
๐
Fix inconsistent indentation between @code - @endcode block in core
Active
Coding Standards
Created
about 7 years ago
v
๐ฎ๐ณ
India
msankhala
3 months ago
๐
[policy] Remove the requirement for doxygen for test methods
Needs work
Documentation
Created
almost 12 years ago
v
๐จ๐ฆ
Canada
chx
3 months ago
๐
Discuss t() in tests
Active
Coding Standards
Created
5 months ago
v
๐ณ๐ฟ
New Zealand
quietone
3 months ago
๐
[policy, no patch] Fix coding standards for PHPUnit tests
Active
Coding Standards
Created
over 11 years ago
v
๐ฉ๐ช
Germany
sun
3 months ago
โจ
Stop using uppercase TRUE, FALSE, NULL literals
Active
Coding Standards
Created
over 1 year ago
v
๐ฎ๐น
Italy
mondrake
3 months ago
๐
Remove larowlan from coding standards committee
Active
Coding Standards
Created
6 months ago
v
๐ฆ๐บ
Australia
larowlan
3 months ago
๐ฑ
Coding Standards Meeting Wednesay 2024-10-23 0900 UTC
Active
Meeting
Created
10 months ago
v
๐ณ๐ฟ
New Zealand
quietone
3 months ago
๐ฑ
Coding Standards Meeting Tuesday 2024-11-04 2100 UTC
Active
Meeting
Created
9 months ago
v
๐ณ๐ฟ
New Zealand
quietone
3 months ago
๐ฑ
Coding Standards Meeting Wednesday 2024-12-04 0900 UTC
Active
Meeting
Created
8 months ago
v
๐ณ๐ฟ
New Zealand
quietone
3 months ago
๐ฑ
Coding Standards Meeting Tuesday 2025-02-26 0900 UTC
Active
Meeting
Created
6 months ago
v
๐ณ๐ฟ
New Zealand
quietone
3 months ago
โจ
Disallow PHPDoc comments within a functions parameter declaration
Active
Coding Standards
Created
4 months ago
v
๐ณ๐ฑ
Netherlands
kingdutch
4 months ago
๐
Add Accessibility Coding Standards
Active
Coding Standards
Created
over 2 years ago
v
๐จ๐ฆ
Canada
mgifford
4 months ago
๐
Conflict between coding standards and module documentation guidelines on file naming
RTBC
Coding Standards
Created
over 6 years ago
v
๐บ๐ธ
United States
bkline
4 months ago
๐
Be clear about "use strict" in JavaScript files
Active
Coding Standards
Created
4 months ago
v
๐จ๐ฆ
Canada
Liam Morland
4 months ago
๐
Make camelCase variable naming preferred over snake_case
Active
Coding Standards
Created
over 9 years ago
v
๐ฆ๐น
Austria
klausi
5 months ago
๐
Need doxygen standards for overriding a theme hook/template
Closed: duplicate
Documentation
Created
over 15 years ago
v
๐บ๐ธ
United States
jhodgdon
5 months ago
๐
Follow DOXYGEN syntax for how @addtogroup is supposed to work
Active
Documentation
Created
almost 10 years ago
v
๐บ๐ธ
United States
markhalliwell
5 months ago
๐
@file doc blocks for test classes with an additional class in the file
Active
Coding Standards
Created
about 9 years ago
v
๐บ๐ธ
United States
jhodgdon
5 months ago
๐
Forbid using more than one space around operators
Active
Coding Standards
Created
almost 9 years ago
v
๐ฆ๐น
Austria
drunken monkey
5 months ago
๐
[policy] OO: Documentation standards "overkill" (not agile enough) for getters and setters
Closed: duplicate
Coding Standards
Created
about 11 years ago
v
๐ฆ๐บ
Australia
webel
5 months ago
๐
Require backslash prefix for global functions and constants
Active
Coding Standards
Created
over 3 years ago
v
๐ฉ๐ช
Germany
donquixote
5 months ago
๐
Require short ternary (Elvis operator) syntax
Active
Coding Standards
Created
over 1 year ago
v
๐ฆ๐บ
Australia
mstrelan
5 months ago
๐
Define order of object method modifiers as in PSR-12
Needs review
Coding Standards
Created
over 8 years ago
v
๐ฆ๐น
Austria
klausi
5 months ago
๐
Use C::class instead of 'C' for strings holding class names, to facilitate "find usages" in IDEs.
Needs work
Coding Standards
Created
almost 9 years ago
v
๐ฉ๐ช
Germany
donquixote
5 months ago
๐
Add @see comments on function name strings, to facilitate "find usages" in IDEs
Postponed: needs info
Coding Standards
Created
almost 9 years ago
v
๐ฉ๐ช
Germany
donquixote
5 months ago
โจ
Coding standard to enforce backslash on function calls outside of a namespace
Active
Coding Standards
Created
6 months ago
v
๐ง๐ช
Belgium
BramDriesen
6 months ago
๐
Update about @return $this
Active
Coding Standards
Created
over 2 years ago
v
๐ซ๐ท
France
andypost
6 months ago
๐
Add a mention of how to link to a change record in a @deprecated tag
Active
Coding Standards
Created
over 4 years ago
v
๐ฌ๐ง
United Kingdom
joachim
6 months 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
6 months ago
๐
Add a standard for importing traits
Active
Coding Standards
Created
over 4 years ago
v
๐ฌ๐ง
United Kingdom
joachim
6 months ago
๐
Space in `match (..)`.
Active
Coding Standards
Created
over 1 year ago
v
๐ฉ๐ช
Germany
donquixote
6 months ago
โจ
OO: Documentation standards: documenting every constant "overkill" when context is clear.
Postponed: needs info
Coding Standards
Created
about 11 years ago
v
๐ฆ๐บ
Australia
webel
6 months ago
โจ
Relax the "Conditions should not be wrapped into multiple lines" rule for more code readability
Active
Coding Standards
Created
almost 2 years ago
v
๐ฆ๐ฒ
Armenia
murz
6 months ago
๐
Document that Drupal aims to be PSR-1 compliant in the coding standards
Active
Coding Standards
Created
over 9 years ago
v
๐ฆ๐น
Austria
klausi
6 months ago
๐
Add a standard for "All identifiers should be quoted in database queries"
Active
Coding Standards
Created
over 4 years ago
v
๐ณ๐ฑ
Netherlands
daffie
6 months ago
๐
Adjust deprecated coding standard in tests
Active
Coding Standards
Created
over 3 years ago
v
๐ง๐ช
Belgium
mallezie
6 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
6 months ago
๐
Use @implements Doxygen directive for hook implementations
Needs work
Documentation
Created
over 14 years ago
v
๐ฌ๐ง
United Kingdom
jbrown
6 months ago
๐
Allow {@inheritdoc} and additional documentation
Active
Coding Standards
Created
about 12 years ago
v
๐จ๐ญ
Switzerland
ParisLiakos
6 months ago
๐
Comment style for Enum
Active
Coding Standards
Created
8 months ago
v
๐ณ๐ฟ
New Zealand
quietone
6 months ago
๐
Discuss/clarify the use of @throws tag in interfaces, and contract enforcement
Postponed: needs info
Coding Standards
Created
over 9 years ago
v
๐ฉ๐ช
Germany
donquixote
6 months ago
โจ
Adopt the PSR-12 standard for PHP7 return types
Active
Coding Standards
Created
over 7 years ago
v
๐ง๐ฌ
Bulgaria
pfrenssen
6 months ago
๐
Remove section on Persistent Variables
Active
Coding Standards
Created
almost 2 years ago
v
๐ฌ๐ง
United Kingdom
joachim
6 months ago
โจ
Make @file optional for *.module and *.install files
Active
Coding Standards
Created
over 9 years ago
v
๐ท๐บ
Russia
Chi
6 months ago
๐
Disallow `or` or `and` in Logical Operators (use `||` or `&&`)
Active
Coding Standards
Created
about 8 years ago
v
๐จ๐ฆ
Canada
joelpittet
6 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
6 months ago
โจ
Add recommendations for YAML files coding standards to minimize usage of inline JSON constructions
Active
Coding Standards
Created
about 2 years ago
v
๐ฆ๐ฒ
Armenia
murz
6 months ago
๐ฑ
Expand hook documentation to explain caller responsibilities
Closed: works as designed
Coding Standards
Created
over 14 years ago
v
๐บ๐ธ
United States
agentrickard
6 months ago
โจ
Allow @param and @return docs on hook implementations
Active
Coding Standards
Created
about 6 years ago
v
๐ฉ๐ช
Germany
donquixote
6 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
6 months ago
โจ
Explicitly require no space before colon for return types
Active
Coding Standards
Created
10 months ago
v
๐ฆ๐บ
Australia
mstrelan
6 months ago
๐
Change sniff rule for @todo to be capitalized and sniff non-php files
Active
Coding Standards
Created
over 1 year ago
v
๐บ๐ธ
United States
smustgrave
6 months ago
๐ฑ
Simplify first line in constructor doc comments to "Constructor."
Active
Coding Standards
Created
about 1 year ago
v
๐ฉ๐ช
Germany
donquixote
8 months ago
โจ
Consistent styling for the NULL/TRUE/FALSE symbols
Active
Coding Standards
Created
over 3 years ago
v
๐บ๐ธ
United States
totten
8 months ago
๐ฑ
Coding Standards Meeting Tuesday 2024-10-08 2100 UTC
RTBC
Meeting
Created
10 months ago
v
๐ณ๐ฟ
New Zealand
quietone
9 months ago
๐
[2024-0814] Draft blog
Active
Meeting
Created
12 months ago
v
๐ณ๐ฟ
New Zealand
quietone
9 months ago
โจ
Reconsider Comment structure for strict types
Closed: duplicate
Coding Standards
Created
about 4 years ago
v
๐บ๐ธ
United States
timodwhit
10 months ago
๐ฑ
Coding Standards Meeting Wednesday 2024-09-25 0900 UTC
RTBC
Meeting
Created
10 months ago
v
๐ณ๐ฟ
New Zealand
quietone
10 months ago
โจ
Stop using {@inheritdoc} in DocBlocks
Active
Coding Standards
Created
over 2 years ago
v
๐ฎ๐น
Italy
mondrake
10 months ago
๐ฑ
Coding Standards Meeting Tuesday 2024-07-16 2100 UTC
Active
Meeting
Created
about 1 year ago
v
๐ณ๐ฟ
New Zealand
quietone
10 months ago
๐ฑ
Coding Standards Meeting Wednesday 2024-09-10 2100 UTC
RTBC
Meeting
Created
11 months ago
v
๐ฆ๐บ
Australia
larowlan
10 months ago
contrib
.social
Blog
FAQ
Discussions
Production build 0.71.5
2024