1799401db5
Branch Policy Check / Verify merge target (pull_request) Successful in 1s
- Add Copyright + FILE INFORMATION headers to 11 PHP enterprise classes - Add FILE INFORMATION blocks to 9 PHP files with incomplete headers - Add headers to 2 test files - Add markdown comment headers to 27 index/README files - Add headers to 5 root markdown files - Add FILE INFORMATION to 4 files with existing but incomplete headers All files now conform to moko-platform file header standard. Authored-by: Moko Consulting Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
47 lines
1011 B
PHP
47 lines
1011 B
PHP
<?php
|
|
/**
|
|
* MokoStandards Common Functions
|
|
*
|
|
* Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
|
*
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
*
|
|
* FILE INFORMATION
|
|
* DEFGROUP: MokoStandards.Common
|
|
* INGROUP: MokoStandards
|
|
* REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
|
* PATH: /src/functions.php
|
|
* BRIEF: Common utility functions
|
|
*
|
|
* This file provides global helper functions for MokoStandards.
|
|
*
|
|
* @package MokoStandards
|
|
* @version 04.00.04
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
if (!function_exists('mokostandards_version')) {
|
|
/**
|
|
* Get the MokoStandards version
|
|
*
|
|
* @return string Version number
|
|
*/
|
|
function mokostandards_version(): string
|
|
{
|
|
return '04.00.04';
|
|
}
|
|
}
|
|
|
|
if (!function_exists('mokostandards_root_dir')) {
|
|
/**
|
|
* Get the MokoStandards root directory
|
|
*
|
|
* @return string Root directory path
|
|
*/
|
|
function mokostandards_root_dir(): string
|
|
{
|
|
return dirname(__DIR__);
|
|
}
|
|
}
|