1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-14 12:24:06 +00:00
Commit graph

12 commits

Author SHA1 Message Date
f955b38e2b phpstan fixes 2025-01-05 15:50:30 +01:00
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
c6ba62bdd0 ParallelCommand: add -P option for bypassing MAX_PROCESSES 2024-09-30 16:36:37 +02:00
303b52d25a minor improvements to parallelization logic 2024-09-29 12:42:29 +02:00
075789eb91 fix typo in ParallelCommand 2024-09-29 12:25:46 +02:00
f017b6509b fix sysctl string 2024-09-27 23:21:08 +02:00
b01c16f4fc phpstan fixes 2024-09-27 23:16:39 +02:00
39bcbda5d0 parallel commands: core # autodetect, bugfixes, improved output 2024-09-27 23:02:03 +02:00
4372e1bef2 fix phpstan errors 2024-08-06 04:35:25 +02:00
PHP CS Fixer
18a16e6a74 Fix code style (php-cs-fixer) 2024-08-06 01:31:16 +00:00
b9ff980293 remove const type 2024-08-06 03:30:32 +02:00
Samuel Štancl
1b0e7d0507
Parallel migrations (#57)
* parallelize migration-related commands

* Fix code style (php-cs-fixer)

---------

Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
2024-08-06 02:48:25 +02:00