Commit graph

3 commits

Author SHA1 Message Date
Benjamin Renard dbf5b0a54c
Make Db class static as other classes 2024-02-02 18:19:38 +01:00
Benjamin Renard 3abd2a328b
Introduce new pre-commit hooks and code cleaning 2024-01-23 19:23:10 +01:00
Benjamin Renard 6fdc5447f1 Some improvments from recent works on apps based on its "framework"
* Code cleaning and fix some small errors using Phpstan
* Configure pre-commit to run Phpstan before each commit
* Some little improvments and logging, mail, smarty & URL libs
* Add Sentry integration
* Add Webstat JS code inclusion
* Install Smarty dependency using composer

Breaking changes:
* Rename Event class as HookEvent to avoid conflict with PECL event
* URL with refresh GET parameter now automatically trigger redirection without it
 after page loading to avoid to keep it in URL
2023-01-29 11:51:41 +01:00