1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-13 02:04:03 +00:00
tenancy/src/Concerns
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
..
DealsWithMigrations.php resolve all phpstan issues 2022-11-08 13:34:04 +01:00
DealsWithRouteContexts.php [4.x] General code cleanup (#1278) 2024-12-31 00:35:46 +01:00
DealsWithTenantSymlinks.php Filesystem logic refactor, improved defaults for cache tenancy (#42) 2024-04-02 04:26:10 +02:00
ExtendsLaravelCommand.php Completing PR #881 (#902) 2022-07-20 15:28:45 +02:00
HasTenantOptions.php fix phpstan errors 2024-08-06 04:35:25 +02:00
ManagesRLSPolicies.php Postgres RLS + permission controlled database managers (#33) 2024-04-24 22:32:49 +02:00
ParallelCommand.php [4.x] General code cleanup (#1278) 2024-12-31 00:35:46 +01:00
TenantAwareCommand.php Laravel 11 support + Docker improvements (#29) 2024-02-18 00:18:31 +01:00
UsableWithEarlyIdentification.php Revert changes that caused issues with Laravel Octane [ci skip] 2024-04-24 22:36:51 +02:00