- SettingsRepository::allSettings() — inicjalizacja $settings = [] przed pętlą (bug: false ?? [] zwracało false gdy cache pusty a DB null) - Stuby wydzielone do tests/stubs/CacheHandler.php + S.php - phpunit.xml zmigurowany do schematu PHPUnit 10 (coverage → source) - composer.lock dodany do repozytorium Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
9 lines
315 B
PHP
9 lines
315 B
PHP
<?php
|
|
class S
|
|
{
|
|
public static function delete_cache(): void {}
|
|
public static function htacces(): void {}
|
|
public static function get_domain(string $domain = ''): ?string { return $domain ?: null; }
|
|
public static function send_email(string $to, string $subject, string $body): bool { return true; }
|
|
}
|