1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-13 00:14:04 +00:00
tenancy/src/Commands
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
..
ClearPendingTenants.php Improve commands CLI output (#1030) 2022-12-14 15:08:00 +01:00
CreatePendingTenants.php Improve commands CLI output (#1030) 2022-12-14 15:08:00 +01:00
CreateUserWithRLSPolicies.php [4.x] General code cleanup (#1278) 2024-12-31 00:35:46 +01:00
Down.php [4.x] Add pending tenants (modified #782) (#869) 2022-10-31 12:14:44 +01:00
Install.php improve command output 2024-09-27 22:50:22 +02:00
Link.php fix phpstan errors 2024-08-06 04:35:25 +02:00
Migrate.php [4.x] General code cleanup (#1278) 2024-12-31 00:35:46 +01:00
MigrateFresh.php parallel commands: core # autodetect, bugfixes, improved output 2024-09-27 23:02:03 +02:00
MigrateFreshOverride.php Only delete tenants in MigrateFreshOverride if the tenants table exists (#1007) 2022-11-18 15:58:04 +01:00
Rollback.php [4.x] General code cleanup (#1278) 2024-12-31 00:35:46 +01:00
Run.php [4.x] Add pending tenants (modified #782) (#869) 2022-10-31 12:14:44 +01:00
Seed.php [4.x] Add pending tenants (modified #782) (#869) 2022-10-31 12:14:44 +01:00
TenantDump.php Fix code style (php-cs-fixer) 2024-03-29 20:42:20 +00:00
TenantList.php fix phpstan errors 2024-08-06 04:35:25 +02:00
Tinker.php [4.x] General code cleanup (#1278) 2024-12-31 00:35:46 +01:00
Up.php [4.x] Add pending tenants (modified #782) (#869) 2022-10-31 12:14:44 +01:00