Commit graph

11 commits

Author SHA1 Message Date
Benjamin Renard
3abd2a328b
Introduce new pre-commit hooks and code cleaning 2024-01-23 19:23:10 +01:00
Benjamin Renard
8c108d0ebb
Properly declare & handle functions/methods that never return (exit/die inside) and add Cli::fatal_error() helper method 2023-07-26 17:02:28 +02:00
Benjamin Renard
83f1445799
Make core libs set their default config values in App
This permit to homogenize the method to store it and permit an access to 
all config default values.
Futhermore, core libs init() methods now does not handle parameters: all 
are taken from config.
2023-03-01 16:22:11 +01:00
Benjamin Renard
df4df3f746
Some adjustments to make App properly initializable in phpstan context 2023-03-01 11:06:22 +01:00
610cdb0f7c Add authentication support 2023-02-25 05:02:27 +01:00
8ff2fe663d Fix PHP 7.3 compatibility 2023-02-16 01:53:08 +01:00
73dc860972 I18n: Split translated messages of core and app in discting gettext domains 2023-02-14 01:21:52 +01:00
4f47dc056d Tpl: Add stuff to handle static files
* Move example application in example sub-directory
* Widely use App::get() instead of Config::get()
2023-02-12 00:30:36 +01:00
f2edf4910a Switch to YAML configuration file, add Config & App classes in EesyPHP namespace
App initialization is now handle by App::init() method and all 
configuration information is now retreive using Config::get() method.
2023-02-08 02:27:15 +01:00
0eb2c543f1 Remove useless "use" statments in EesyPHP namespace 2023-01-31 01:00:56 +01:00
a303f188f3 Move Sentry stuff in EesyPHP namespace 2023-01-29 18:17:50 +01:00