Surfaced from ADR 002 (project license: MPL-2.0)'s original
"Follow-up Actions" list as part of the cleanup tracked in #44.
ADR 002 noted, as an optional follow-up, that new source files going
forward could carry the short MPL-2.0 Exhibit A notice at the top:
// This Source Code Form is subject to the terms of the Mozilla
// Public License, v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
Existing files inherit the project-wide LICENSE, so this is purely
about a per-file convention going forward.
Decide one of:
- Yes, require it on new source files. Document the convention
in CLAUDE.md and optionally add a php-cs-fixer rule or
pre-commit check to enforce it.
- No, rely on the repo-level
LICENSE only. Document the
non-decision in CLAUDE.md so future contributors don't add the
header inconsistently.
Refs ADR 002 (docs/adr/002-project-license-mpl-2.md).
Surfaced from ADR 002 (project license: MPL-2.0)'s original
"Follow-up Actions" list as part of the cleanup tracked in #44.
ADR 002 noted, as an optional follow-up, that new source files going
forward could carry the short MPL-2.0 Exhibit A notice at the top:
Existing files inherit the project-wide
LICENSE, so this is purelyabout a per-file convention going forward.
Decide one of:
in
CLAUDE.mdand optionally add aphp-cs-fixerrule orpre-commit check to enforce it.
LICENSEonly. Document thenon-decision in
CLAUDE.mdso future contributors don't add theheader inconsistently.
Refs ADR 002 (
docs/adr/002-project-license-mpl-2.md).