Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 647 Bytes

DevGuidelines.md

File metadata and controls

22 lines (15 loc) · 647 Bytes

Architecture and coding guidelines

Follow the below guidelines if you plan to extend or modify this tool.

Naming

Constants

Names of the environment-related constants be prefixed as ENV_. Existing constant names will be changed in the future.

Environment variables must be prefixed with DOCKERIZER_ to distinguish them from other environment variables. Existing constant names will be changed in the future.

❌ Example old naming:

public const PROJECTS_ROOT_DIR = 'PROJECTS_ROOT_DIR';

✔️ Example correct naming:

public const ENV_PROJECTS_ROOT_DIR = 'DOCKERIZER_PROJECTS_ROOT_DIR';