13 Commits

Author SHA1 Message Date
Le Philousophe cc9fa80181 WEB: Add typing 2025-08-24 12:32:47 +02:00
Le Philousophe 261cca2dc3 WEB: Cleanup logic of exception handler
Also use isset to check if the Exception has been set.
2025-08-24 12:32:46 +02:00
Le Philousophe 649ade2977 WEB: Make index a void function
It's used with Smarty::display which is void so there is never anything
to return and the return value was never checked.
Propagate this change everywhere.
2025-08-24 12:32:46 +02:00
Le Philousophe 7cd3ff2331 WEB: Various PHPStan fixes
These fixes are only for correctness.
2024-09-14 13:14:49 +02:00
Mataniko f43eca2c2b WEB: Move ExceptionPage to a SimplePage 2020-10-08 23:08:51 -04:00
Mataniko 08ea2cfcde WEB: Lint and static analysis cleanup 2020-09-27 22:08:07 -04:00
Matan Bareket f48d95e174 WEB: Lint PHP files 2019-05-08 23:28:05 -04:00
Matan Bareket acfcb51c7e WEB: Syntax error in exception handler 2019-01-22 19:49:58 -05:00
Matan Bareket 2eff11cbb3 WEB: Clean up most PSR2 style warnings 2019-01-22 19:49:58 -05:00
Matan Bareket 85328f2997 WEB: Use PSR-4 autoloading 2019-01-22 19:49:58 -05:00
Matan Bareket cfbeebb8dc WEB: Add namespaces to all PHP files 2019-01-22 19:49:58 -05:00
Matan Bareket 851bb41bb7 WEB: Auto-fix to PSR-2 standard 2019-01-22 19:49:58 -05:00
Fredrik Wendel ecbe49af28 Create a specific class for exception handling and modify relevant code parts. We can now properly detect if the MenuModel is causing the exception and therefor skip it.
Without this fix we wouldn't be able to display the exception if MenuModel was the cause since it's used in the Controller, which ExceptionsPage inherits from.

svn path=/web/trunk/; revision=40948
2009-05-27 18:24:16 +00:00