1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-13 03:54:02 +00:00
tenancy/src/Exceptions
Márk Magyar 79f740d057
[4.x] General code cleanup (#1278)
* Declare sensitive parameters as sensitive

... just so that they don't show up in logs

* Remove unnecessary null-coalescing

* Simplify return

* Merge isset() calls

* Inline return

* Use nullsafe operator

* Simplify if-else branches

* Use direct empty string comparison instead of strlen()

* Add missing type

* Change interface as events expect a TenantWithDatabase not just a Tenant

* Narrow typehint

* Remove redundant type casts

* Fix style with php-cs-fixer

* Fix typos

* Revert unwanted if-else simplification

* fix phpstan errors

* narrow type

---------

Co-authored-by: Samuel Štancl <samuel@archte.ch>
2024-12-31 00:35:46 +01:00
..
DomainOccupiedByOtherTenantException.php phpstan improvements 2022-09-29 15:07:16 +02:00
NotASubdomainException.php Apply fixes from StyleCI 2020-05-22 09:01:31 +00:00
RouteIsMissingTenantParameterException.php [4.x] General code cleanup (#1278) 2024-12-31 00:35:46 +01:00
StatefulGuardRequiredException.php [4.x] Make impersonation tokens require stateful guards (#935) 2022-09-02 17:46:27 +02:00
TenancyNotInitializedException.php phpstan improvements 2022-09-29 15:07:16 +02:00
TenantColumnNotWhitelistedException.php Resolver refactor, path identification improvements (#41) 2024-03-28 03:18:11 +01:00
TenantCouldNotBeIdentifiedByIdException.php Resolver refactor, path identification improvements (#41) 2024-03-28 03:18:11 +01:00
TenantCouldNotBeIdentifiedByPathException.php Resolver refactor, path identification improvements (#41) 2024-03-28 03:18:11 +01:00
TenantCouldNotBeIdentifiedByRequestDataException.php misc improvements - stronger types, exception refactor 2022-08-26 21:35:17 +02:00
TenantCouldNotBeIdentifiedOnDomainException.php misc improvements - stronger types, exception refactor 2022-08-26 21:35:17 +02:00