Skip to content

task: decide on MPL-2.0 source-file header convention #54

@martinydeAI

Description

@martinydeAI

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:

  1. 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.
  2. 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).

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No fields configured for Task.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions