* Refactor tests to replace depreciated functions
* Update Rector config and dependencies
* Rector: Add explicit string casting for stricter type safety
* Rector: Add return type hints to methods across codebase
* Rector: Increase dead code level and refactor invoice item logic
* Remove unnecessary `willReturn` from test mocks
Eliminate redundant `willReturn(null)` and similar calls from PHPUnit mock setups in legacy module tests, leaving only method expectations. Also update some test values to use floats for consistency.
* Refactor API controller and email adapter return values
* Update formatting and guidelines in `AGENTS.md`
* Reworked Password-Reset flow
- No more Passwords sent via E-Mail
- Correct redirects.
* Fixed spelling & last redirect
* Small fixes and updated tests for pw-reset-flow
* Fixed tests for pw-reset-flow
* Fixed tests for the Password reset flow
* Fixed typos, resolved Feedback
* Renamed event before password reset
* Renamed event after password reset
* Tweak a few comments, send the reset email instantly
---------
Co-authored-by: Christoph Schläpfer <c.schlaepfer@datact.ch>
Co-authored-by: Belle Aerni <belleaerni@gmail.com>
* Apply PHP Code Styling & Quality Changes
* Delete these
* Update .gitignore
* Fixes for PHPStan
* Ignore spelling in the gitnore
* Allow null for that type
Honestly doing so makes ZERO sense, but it matches the current behavior.
---------
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
Co-authored-by: Belle Aerni <belleaerni@gmail.com>
* Add PHPStan extension for deprecation function usage
* Removed some deprecated functions
* And a few more
* Also remove the deprecated API calls
* Fix references to deprecated API calls
* Oh, and this too