Refactoring legacy PHP
- only 1 php entrypoint (index.php), remove xhr|xhrapp.php/etc => foodsharing!1602 - have simple/general/default kind of symfony index.php - use symfony approach for handling all requests (some controllers do this already, others use the old way) in index.php the `$isUsingResponse` switches behaviour based on that - create REST controllers for all API use, remove all other API stuff - use a symfony router or similar (might also involve changing page urls to nice paths instead of get parameters + adding redirects) - do something about Flourish (removal would be amazing) And more broadly: - **Type hinting (parameters, return values)** - Flatten overcomplex indentation levels - Try to make involved logic easier to read - Get rid of German variable names where possible
epic