Skip to content

The View Engine & Core Hardening#47

Merged
capachow merged 6 commits intomasterfrom
develop
Apr 10, 2026
Merged

The View Engine & Core Hardening#47
capachow merged 6 commits intomasterfrom
develop

Conversation

@capachow
Copy link
Copy Markdown
Owner

No description provided.

capachow added 6 commits April 9, 2026 16:26
* Core hardening, security patches, and resilience.

* Added native route decoding to urls.
* Added some default text to bug and feature issues.

* Updated gitignore to avoid github folder.

* Fixed old repo ownership in the url links.

* Added child files to gitignore and cleaned it up.

* Added simple release workflow for PR merged.

* Added pull request template file.

* Added simple php linter to check errors.

* Rename .github files to lowercase for modern standardization.
…PHP standards.

* Added spaces to control structures (e.g. if, foreach, while, switch) to comply with PER-Coding-Style 2.0.
* Added spaces to anonymous function declarations and 'use' closures.
* Converted 'else if' to the modern, single-word 'elseif' standard.
* Retained Arcane's signature 2-space indentation and dense logical blocks.
* Restore PR template with minimal descriptive prompts.

* Kept the template focused solely on PR intent ('What' and 'Why') without branch targeting warnings since Trunk-Based Development is active.

* Add contributing guidelines.

* Established 'Core Principles' (Zero Dependencies, Native PHP, Keep it Small).
* Documented strict formatting rules (2-space indent, 80-column soft limit).
* Clarified the process for submitting Pull Requests and handling new features.

* Finalize workflow configurations for Trunk-Based Development.

* Configured the PHP Linter to run on PRs and pushes to master.
* Configured the Auto Release action to trigger exclusively on master pushes that modify index.php.
* Refactor/improved template engine with modern formatting.

* Add documentation for the Optional MV Engine.

* Hardened the View Engine variable scope and updated documentation.

* Defined VIEWFILE constant outside of the relay closure to prevent overwriting user-defined $view or $html helpers.
* Nested the preg_replace compilation directly into the eval() string to avoid creating any temporary scope variables.
* Updated README.md to clarify VIEWFILE points to the raw, uncompiled .html template file.

* Standardize VIEWFILE documentation terminology.

* Updated 'uncompiled' to 'resolved' to perfectly match the terminology used for PAGEFILE and LAYOUTFILE.

* Fixed capitalization and simplified MV paragraph.

* Updated/bumped project version number.
@capachow capachow merged commit e5bb349 into master Apr 10, 2026
1 check passed
@capachow capachow deleted the develop branch April 10, 2026 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant