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,
about 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
45%
๐ง๐ช
Belgium
13%
๐ฌ๐ง
United Kingdom
10%
๐บ๐ธ
United States
9%
๐ฆ๐บ
Australia
7%
๐ฎ๐น
Italy
4%
๐ณ๐ฑ
Netherlands
4%
๐ฆ๐น
Austria
3%
๐ฉ๐ช
Germany
2%
๐ดโโ ๏ธ
๐ดโโ ๏ธ ๐ญ๐บ ๐จ๐ฆ ๐ท๐บ ๐ช๐ธ ๐ฉ๐ฐ
3%
Top 10 contributors
PreviousNext
52%
๐ฆ๐บ
@kim.pepper
๐ฆ๐บ
@larowlan
๐ฆ๐บ
@mstrelan
๐ณ๐ฟ
@quietone
๐ฆ๐บ
@acbramley
Calibrate
13%
๐ง๐ช
@borisson_
Tag1 Consulting
4%
๐ฌ๐ง
@catch
nLightened Development LLC
3%
๐บ๐ธ
@nicxvan
SWIS
2%
๐ณ๐ฑ
@bbrala
Arhs
2%
๐ฉ๐ช
@donquixote
3281d Consulting
2%
๐บ๐ธ
@dww
Open Social
2%
๐ณ๐ฑ
@kingdutch
Gulp Digital Ltd
1%
๐ฌ๐ง
@joachim
APQC
1%
๐บ๐ธ
@neclimdul
+17
and 17 other organisations
Cellar Door
๐บ๐ธ
@anilu@
Digital Polygon
@godotislate
Full Fat Things
๐ฌ๐ง
@longwave
DM13 Security LLC
๐บ๐ธ
@cmlara
Cheppers
๐ญ๐บ
@Balu Ertl
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
Skpr
๐ฆ๐บ
@kim.pepper
OpenPlus
๐จ๐ฆ
@Liam Morland
DrupalCamp NJ
๐บ๐ธ
@pwolanin
drupalnl
๐ณ๐ฑ
@bbrala
and 9 individuals
( 13% )
๐ฆ๐บ
@dpi
๐ฆ๐น
@drunken monkey
๐ฌ๐ง
@jonathan1055
๐บ๐ธ
@kentr
๐ฎ๐น
@apaderno
๐ฎ๐น
@mondrake
๐ท๐บ
@niklan
๐ช๐ธ
@penyaskito
๐ฌ๐ง
@rachel_norfolk
Follow
Sign in to follow projects
Merge Requests
!1
Convert Coding Standards to GitLab pages
Open
Show issue
๐บ๐ธ
United States
dww
updated
5 days ago
Issues
๐
Convert Coding Standards to GitLab pages
Active
Documentation
Created
15 days ago
v
๐ณ๐ฟ
New Zealand
quietone
4 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
7 days ago
๐
Allow omitting doxygen when type and variable name is enough
Active
Coding Standards
Created
almost 2 years ago
v
๐จ๐ฆ
Canada
Charlie ChX Negyesi
7 days ago
๐
Add conditions to deciding if a blog post is needed
Active
Documentation
Created
7 days ago
v
๐ณ๐ฟ
New Zealand
quietone
7 days ago
โจ
Adopt phpstan phpdoc types as canonical reference of allowed types
Active
Coding Standards
Created
9 months ago
v
๐ฆ๐บ
Australia
mstrelan
7 days ago
๐ฑ
Coding Standards Meeting TBD UTC
Active
Meeting
Created
about 2 months ago
v
๐ณ๐ฟ
New Zealand
quietone
8 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
9 days ago
โจ
Allow omitting @var for strictly typed class properties
RTBC
Coding Standards
Created
over 3 years ago
v
๐ณ๐ฑ
Netherlands
kingdutch
10 days ago
๐
Traits should always have the suffix "Trait"
Active
Coding Standards
Created
17 days ago
v
godotislate
10 days ago
๐ฑ
Coding Standards Meeting TBD UTC
Active
Meeting
Created
about 2 months ago
v
๐ณ๐ฟ
New Zealand
quietone
15 days ago
๐
Standardize on indent and comment line length within code samples in a docblock (@code โฆ @endcode)
Active
Documentation
Created
almost 13 years ago
v
๐จ๐ฆ
Canada
star-szr
16 days ago
๐
Fix inconsistent indentation between @code - @endcode block in core
Active
Coding Standards
Created
almost 7 years ago
v
๐ฎ๐ณ
India
msankhala
16 days ago
๐
[policy, no patch] Secondary/additional test @group names
Active
Coding Standards
Created
almost 11 years ago
v
๐ฉ๐ช
Germany
sun
16 days ago
๐
[policy] Remove the requirement for doxygen for test methods
Needs work
Documentation
Created
over 11 years ago
v
๐จ๐ฆ
Canada
chx
16 days ago
๐
Discuss t() in tests
Active
Coding Standards
Created
3 months ago
v
๐ณ๐ฟ
New Zealand
quietone
16 days ago
๐
Define a standard for naming data providers in PHPUnit-based tests
Active
Coding Standards
Created
11 months ago
v
๐ณ๐ฟ
New Zealand
quietone
16 days ago
๐
[policy, no patch] Fix coding standards for PHPUnit tests
Active
Coding Standards
Created
about 11 years ago
v
๐ฉ๐ช
Germany
sun
16 days ago
๐ฑ
Coding Standards Meeting Wednesday 2025-05-28 0900 UTC
Active
Meeting
Created
16 days ago
v
๐ณ๐ฟ
New Zealand
quietone
16 days ago
โจ
Stop using uppercase TRUE, FALSE, NULL literals
Active
Coding Standards
Created
about 1 year ago
v
๐ฎ๐น
Italy
mondrake
19 days ago
๐
Remove larowlan from coding standards committee
Active
Coding Standards
Created
4 months ago
v
๐ฆ๐บ
Australia
larowlan
21 days ago
๐ฑ
Coding Standards Meeting Wednesay 2024-10-23 0900 UTC
Active
Meeting
Created
7 months ago
v
๐ณ๐ฟ
New Zealand
quietone
21 days ago
๐ฑ
Coding Standards Meeting Tuesday 2024-11-04 2100 UTC
Active
Meeting
Created
6 months ago
v
๐ณ๐ฟ
New Zealand
quietone
21 days ago
๐ฑ
Coding Standards Meeting Wednesday 2024-12-04 0900 UTC
Active
Meeting
Created
6 months ago
v
๐ณ๐ฟ
New Zealand
quietone
21 days ago
๐ฑ
Coding Standards Meeting Tuesday 2025-02-26 0900 UTC
Active
Meeting
Created
3 months ago
v
๐ณ๐ฟ
New Zealand
quietone
21 days ago
โจ
Disallow PHPDoc comments within a functions parameter declaration
Active
Coding Standards
Created
about 1 month ago
v
๐ณ๐ฑ
Netherlands
kingdutch
29 days ago
๐
Add Accessibility Coding Standards
Active
Coding Standards
Created
over 2 years ago
v
๐จ๐ฆ
Canada
mgifford
about 1 month ago
๐
Conflict between coding standards and module documentation guidelines on file naming
RTBC
Coding Standards
Created
over 6 years ago
v
๐บ๐ธ
United States
bkline
about 2 months ago
๐
Be clear about "use strict" in JavaScript files
Active
Coding Standards
Created
about 2 months ago
v
๐จ๐ฆ
Canada
Liam Morland
about 2 months ago
๐
Make camelCase variable naming preferred over snake_case
Active
Coding Standards
Created
about 9 years ago
v
๐ฆ๐น
Austria
klausi
about 2 months ago
โจ
add a standard for referring to HTML tags in code documentation
Active
Coding Standards
Created
about 9 years ago
v
๐ฌ๐ง
United Kingdom
joachim
about 2 months ago
๐
Need doxygen standards for overriding a theme hook/template
Closed: duplicate
Documentation
Created
about 15 years ago
v
๐บ๐ธ
United States
jhodgdon
about 2 months ago
๐
Follow DOXYGEN syntax for how @addtogroup is supposed to work
Active
Documentation
Created
over 9 years ago
v
๐บ๐ธ
United States
markhalliwell
about 2 months 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
2 months ago
๐
Forbid using more than one space around operators
Active
Coding Standards
Created
over 8 years ago
v
๐ฆ๐น
Austria
drunken monkey
3 months ago
๐
[policy] OO: Documentation standards "overkill" (not agile enough) for getters and setters
Closed: duplicate
Coding Standards
Created
almost 11 years ago
v
๐ฆ๐บ
Australia
webel
3 months ago
๐
Require backslash prefix for global functions and constants
Active
Coding Standards
Created
over 3 years ago
v
๐ฉ๐ช
Germany
donquixote
3 months ago
๐ฑ
Adopt CommonMark spec for Markdown files
Needs work
Coding Standards
Created
about 7 years ago
v
๐บ๐ธ
United States
markhalliwell
3 months ago
๐
Require short ternary (Elvis operator) syntax
Active
Coding Standards
Created
about 1 year ago
v
๐ฆ๐บ
Australia
mstrelan
3 months ago
๐
Define order of object method modifiers as in PSR-12
Needs review
Coding Standards
Created
about 8 years ago
v
๐ฆ๐น
Austria
klausi
3 months 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
3 months 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
3 months ago
โจ
Coding standard to enforce backslash on function calls outside of a namespace
Active
Coding Standards
Created
4 months ago
v
๐ง๐ช
Belgium
BramDriesen
3 months ago
๐
Update about @return $this
Active
Coding Standards
Created
over 2 years ago
v
๐ซ๐ท
France
andypost
3 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
3 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
3 months ago
๐
Add a standard for importing traits
Active
Coding Standards
Created
over 4 years ago
v
๐ฌ๐ง
United Kingdom
joachim
3 months ago
๐ฑ
Convention or recommendation for line breaks in constructor parameter signature with promoted properties
Active
Coding Standards
Created
11 months ago
v
๐ฉ๐ช
Germany
donquixote
3 months ago
๐
Space in `match (..)`.
Active
Coding Standards
Created
over 1 year ago
v
๐ฉ๐ช
Germany
donquixote
3 months ago
๐
No documentation about @group @coversDefaultClass @covers
Needs work
Coding Standards
Created
over 10 years ago
v
๐ณ๐ฑ
Netherlands
clemens.tolboom
3 months ago
โจ
OO: Documentation standards: documenting every constant "overkill" when context is clear.
Postponed: needs info
Coding Standards
Created
almost 11 years ago
v
๐ฆ๐บ
Australia
webel
3 months 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
3 months ago
๐
Document that Drupal aims to be PSR-1 compliant in the coding standards
Active
Coding Standards
Created
about 9 years ago
v
๐ฆ๐น
Austria
klausi
3 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
3 months ago
๐
Adjust deprecated coding standard in tests
Active
Coding Standards
Created
over 3 years ago
v
๐ง๐ช
Belgium
mallezie
3 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
3 months ago
๐
Use @implements Doxygen directive for hook implementations
Needs work
Documentation
Created
over 14 years ago
v
๐ฌ๐ง
United Kingdom
jbrown
3 months ago
๐
Allow {@inheritdoc} and additional documentation
Active
Coding Standards
Created
about 12 years ago
v
๐จ๐ญ
Switzerland
ParisLiakos
3 months ago
๐
Comment style for Enum
Active
Coding Standards
Created
6 months ago
v
๐ณ๐ฟ
New Zealand
quietone
3 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
3 months ago
๐
Merge 'Object-oriented code' page into 'PHP coding standards' page
Active
Documentation
Created
5 months ago
v
๐ณ๐ฟ
New Zealand
quietone
3 months ago
โจ
Adopt the PSR-12 standard for PHP7 return types
Active
Coding Standards
Created
over 7 years ago
v
๐ง๐ฌ
Bulgaria
pfrenssen
3 months ago
๐
Remove section on Persistent Variables
Active
Coding Standards
Created
over 1 year ago
v
๐ฌ๐ง
United Kingdom
joachim
3 months ago
โจ
Make @file optional for *.module and *.install files
Active
Coding Standards
Created
over 9 years ago
v
๐ท๐บ
Russia
Chi
3 months ago
๐
Disallow `or` or `and` in Logical Operators (use `||` or `&&`)
Active
Coding Standards
Created
almost 8 years ago
v
๐จ๐ฆ
Canada
joelpittet
3 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
3 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
4 months ago
๐ฑ
Expand hook documentation to explain caller responsibilities
Closed: works as designed
Coding Standards
Created
about 14 years ago
v
๐บ๐ธ
United States
agentrickard
4 months ago
โจ
Allow @param and @return docs on hook implementations
Active
Coding Standards
Created
almost 6 years ago
v
๐ฉ๐ช
Germany
donquixote
4 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
4 months ago
โจ
Explicitly require no space before colon for return types
Active
Coding Standards
Created
8 months ago
v
๐ฆ๐บ
Australia
mstrelan
4 months ago
๐
Change sniff rule for @todo to be capitalized and sniff non-php files
Active
Coding Standards
Created
about 1 year ago
v
๐บ๐ธ
United States
smustgrave
4 months ago
๐
[policy] Coding standards for "use" statements
Active
Coding Standards
Created
almost 13 years ago
v
๐ง๐ช
Belgium
aspilicious
4 months ago
โจ
Decide on a coding style for PHP Enumerations
Active
Coding Standards
Created
over 2 years ago
v
๐ฌ๐ง
United Kingdom
Eli-T
4 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
5 months ago
๐ฑ
Simplify first line in constructor doc comments to "Constructor."
Active
Coding Standards
Created
11 months ago
v
๐ฉ๐ช
Germany
donquixote
6 months ago
โจ
Consistent styling for the NULL/TRUE/FALSE symbols
Active
Coding Standards
Created
over 3 years ago
v
๐บ๐ธ
United States
totten
6 months ago
๐ฑ
Coding Standards Meeting Tuesday 2024-10-08 2100 UTC
RTBC
Meeting
Created
7 months ago
v
๐ณ๐ฟ
New Zealand
quietone
6 months ago
๐
[2024-0814] Draft blog
Active
Meeting
Created
9 months ago
v
๐ณ๐ฟ
New Zealand
quietone
6 months ago
โจ
Reconsider Comment structure for strict types
Closed: duplicate
Coding Standards
Created
almost 4 years ago
v
๐บ๐ธ
United States
timodwhit
7 months ago
๐ฑ
Coding Standards Meeting Wednesday 2024-09-25 0900 UTC
RTBC
Meeting
Created
8 months ago
v
๐ณ๐ฟ
New Zealand
quietone
7 months ago
โจ
Stop using {@inheritdoc} in DocBlocks
Active
Coding Standards
Created
over 2 years ago
v
๐ฎ๐น
Italy
mondrake
7 months ago
๐ฑ
Coding Standards Meeting Tuesday 2024-07-16 2100 UTC
Active
Meeting
Created
11 months ago
v
๐ณ๐ฟ
New Zealand
quietone
7 months ago
๐ฑ
Coding Standards Meeting Wednesday 2024-09-10 2100 UTC
RTBC
Meeting
Created
8 months ago
v
๐ฆ๐บ
Australia
larowlan
7 months ago
๐ฑ
Coding Standards Meeting Wednesday 2024-07-31 0900 UTC
Active
Meeting
Created
10 months ago
v
๐ฆ๐บ
Australia
larowlan
7 months ago
๐ฑ
Coding Standards Meeting Tuesday 2024-08-13 2100 UTC
Needs review
Meeting
Created
10 months ago
v
๐ณ๐ฟ
New Zealand
quietone
7 months ago
๐ฑ
Coding Standards Meeting Wednesdsy 2024-08-28 0900 UTC
Fixed
Meeting
Created
9 months ago
v
๐ณ๐ฟ
New Zealand
quietone
7 months ago
โจ
Support PHPDoc Types in @param @var @return annotations
Closed: duplicate
Coding Standards
Created
over 2 years ago
v
๐ฎ๐น
Italy
mondrake
8 months ago
โจ
Stop using FQCN in PHPDoc annotations
Active
Coding Standards
Created
about 2 years ago
v
๐ฎ๐น
Italy
mondrake
8 months ago
โจ
Import classes used in annotations
Closed: outdated
Coding Standards
Created
about 9 years ago
v
๐จ๐ฆ
Canada
deviantintegral
8 months ago
๐
Document use of PHP Attributes for plugins
Active
Coding Standards
Created
over 1 year ago
v
๐ณ๐ฟ
New Zealand
quietone
9 months ago
๐
Adopt a method of documenting service tags
Active
Coding Standards
Created
almost 9 years ago
v
๐บ๐ธ
United States
jhodgdon
9 months ago
๐
Define a standard for Date formats
Active
Coding Standards
Created
9 months ago
v
๐ฉ๐ฐ
Denmark
ressa
9 months ago
๐
Agree on a property naming pattern
Postponed: needs info
Coding Standards
Created
almost 14 years ago
v
๐ฆ๐น
Austria
fago
9 months ago
๐
Change !isset to the null coalescing assignment operator ??=
Active
Coding Standards
Created
about 1 year ago
v
๐บ๐ธ
United States
smustgrave
9 months ago
๐ฑ
Coding Standards Meeting Wednesday 2024-07-03 0900 UTC
Fixed
Meeting
Created
11 months ago
v
๐ณ๐ฟ
New Zealand
quietone
10 months ago
๐ฑ
Coding Standards Meeting Wednesday 2024-05-08 0900 UTC
Fixed
Meeting
Created
about 1 year ago
v
๐ณ๐ฟ
New Zealand
quietone
10 months ago
๐ฑ
Coding Standards Meeting Tuesday 2024-06-18 2100 UTC
Fixed
Meeting
Created
11 months ago
v
๐ณ๐ฟ
New Zealand
quietone
10 months ago
๐
list() syntax
Active
Coding Standards
Created
about 13 years ago
v
๐บ๐ธ
United States
traviscarden
10 months ago
๐
Using '&' in doxygen @param documentation
Closed: won't fix
Documentation
Created
over 13 years ago
v
๐ฆ๐น
Austria
klausi
10 months ago
๐
Allow type hinting with classes where appropriate
Active
Coding Standards
Created
over 3 years ago
v
๐ฌ๐ง
United Kingdom
catch
10 months ago
contrib
.social
Blog
FAQ
Discussions
Production build 0.71.5
2024