Skip to main content

PHP Tooling Guide

EditorConfig Code Style

EditorConfig Guide

# SPDX-License-Identifier: 0BSD
# SPDX-FileCopyrightText: none

[*.html]
indent_size = 2
tab_width = 2

[*.js]
indent_size = 2
tab_width = 2
ij_continuation_indent_size = 4
ij_javascript_enforce_trailing_comma = whenmultiline

[*.php]
indent_size = 4
indent_style = space

[composer.json]
# Tooling uses 4-space indentation; match it.
indent_size = 4
indent_style = space

Exclude Files from Version Tracking

Git Repository Guide

# SPDX-License-Identifier: 0BSD
# SPDX-FileCopyrightText: none

/.phpunit.cache
/.phpunit.result.cache
/vendor