1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-13 09:24:04 +00:00
tenancy/src/Jobs
Samuel Štancl 91f6c61fcd
Fix assert: run createDatabase() outside assert()
assert() calls, including assert(foo()), can be entirely compiled out
depending on the INI settings described here:
https://www.php.net/manual/en/function.assert.php

That in turn means even side effects of foo() can be entirely compiled
out.

Therefore, to ensure the call actually runs, we need to run it before
the assert(), store its return value, and only then make assertions
about the return value.
2025-10-16 01:10:07 +02:00
..
ClearPendingTenants.php Resource syncing rework (#30) 2024-02-10 19:08:37 +01:00
CreateDatabase.php Fix assert: run createDatabase() outside assert() 2025-10-16 01:10:07 +02:00
CreatePendingTenants.php Resource syncing rework (#30) 2024-02-10 19:08:37 +01:00
CreateStorageSymlinks.php Enable single_line_empty_body phpcsfixer rule 2024-04-02 04:31:03 +02:00
DeleteDatabase.php Enable single_line_empty_body phpcsfixer rule 2024-04-02 04:31:03 +02:00
DeleteDomains.php fix: drop tenant databases on migrate fresh without domains (#1282) 2025-01-01 20:31:47 +01:00
MigrateDatabase.php Enable single_line_empty_body phpcsfixer rule 2024-04-02 04:31:03 +02:00
RemoveStorageSymlinks.php Central routes without Route::domain(), configurable tenant/central routes by default for domain/subdomain identification, allow accessing central routes in early identification for path & request data middleware (#3) 2023-08-03 00:23:26 +02:00
SeedDatabase.php Enable single_line_empty_body phpcsfixer rule 2024-04-02 04:31:03 +02:00