edfbe476c45b9033af2d43c933933b7578c7f184
Smarty extended class is now included in checks and is fixed. Add the lib/ folder to the composer.json autoloader block so we can use the composer autoloader and not the one from CoreLibs Added an autoloader load test backend file
PHP Core Library
Code Standard
- Uses PSR-12
- tab indent instead of 4 spaces indent
- Warning at 120 character length, error at 240 character length
General information
Base PHP class files to setup any project
- login
- database wrapper
- basic helper class for debugging and other features
- admin/frontend split
- domain controlled database/settings split
- dynamic layout groups
NOTE
There are three branches:
master
The active branch, which is the namespace branch
legacy
The old non namepsace format layout. This is fully deprecated and will no longer be maintaned. last tested PHP 5.6 and PHP 7.0
namespace
The new namespace branch. This is the development area for the master branch
Static checks
With phpstan
phpstan
With phan
phan --progress-bar -C --analyze-twice
pslam is setup but not configured
Languages
JavaScript
51.6%
PHP
42.3%
PLpgSQL
2.2%
CSS
1.6%
Smarty
0.7%
Other
1.6%