mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-04 06:04:16 +09:00
* Refactor tests to replace depreciated functions * Update Rector config and dependencies * Rector: Add explicit string casting for stricter type safety * Rector: Add return type hints to methods across codebase * Rector: Increase dead code level and refactor invoice item logic * Remove unnecessary `willReturn` from test mocks Eliminate redundant `willReturn(null)` and similar calls from PHPUnit mock setups in legacy module tests, leaving only method expectations. Also update some test values to use floats for consistency. * Refactor API controller and email adapter return values * Update formatting and guidelines in `AGENTS.md`
30 lines
455 B
PHP
30 lines
455 B
PHP
<?php
|
|
|
|
class Plugin_BblicenseMock
|
|
{
|
|
public function partner_order_reset(): bool
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public function partner_order_create(): bool
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public function partner_order_suspend(): bool
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public function partner_order_unsuspend(): bool
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public function partner_order_delete(): bool
|
|
{
|
|
return true;
|
|
}
|
|
}
|