1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 04:14:03 +00:00
tenancy/src/Bootstrappers
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
..
Integrations Misc test fixes (#44) 2024-04-06 19:17:34 +02:00
BroadcastChannelPrefixBootstrapper.php [4.x] General code cleanup (#1278) 2024-12-31 00:35:46 +01:00
BroadcastingConfigBootstrapper.php broadcasting config bootstrapper: add reverb preset 2024-07-04 20:52:06 +02:00
CacheTagsBootstrapper.php Enable single_line_empty_body phpcsfixer rule 2024-04-02 04:31:03 +02:00
CacheTenancyBootstrapper.php Cache prefixing logic rewrite, session scoping improvements, tests refactor (#43) 2024-04-09 20:40:27 +02:00
DatabaseSessionBootstrapper.php Cache prefixing logic rewrite, session scoping improvements, tests refactor (#43) 2024-04-09 20:40:27 +02:00
DatabaseTenancyBootstrapper.php change default cookie name, add todos 2024-04-15 03:11:11 +02:00
FilesystemTenancyBootstrapper.php add assertion, update todos 2024-04-10 03:35:57 +02:00
JobBatchBootstrapper.php deprecate JobBatchBootstrapper 2024-12-27 21:33:44 +01:00
MailConfigBootstrapper.php Rename bootstrappers (#40) 2024-03-28 03:18:23 +01:00
PostgresRLSBootstrapper.php Postgres RLS + permission controlled database managers (#33) 2024-04-24 22:32:49 +02:00
QueueTenancyBootstrapper.php [4.x] General code cleanup (#1278) 2024-12-31 00:35:46 +01:00
RedisTenancyBootstrapper.php redis bootstrapper: support clusters (#1207) 2024-04-12 01:05:46 +02:00
RootUrlBootstrapper.php Make RootUrlBootstrapper only have an effect in CLI (#58) 2024-08-28 00:42:36 +02:00
UrlGeneratorBootstrapper.php Enable single_line_empty_body phpcsfixer rule 2024-04-02 04:31:03 +02:00