Add repo hygiene rules and ignore secrets

This commit is contained in:
2026-02-03 06:55:39 +01:00
parent 88732a8ae7
commit 6035bc1715
52 changed files with 3295 additions and 25 deletions

View File

@@ -0,0 +1,17 @@
<?php
declare(strict_types=1);
namespace App\Tests\Unit;
use App\Module\Economy\Service\EconomyService;
use PHPUnit\Framework\TestCase;
final class MultiplierTest extends TestCase
{
public function testMultiplierChain(): void
{
$result = EconomyService::multiplyBonuses([0.10, -0.15, 0.10, 0.02]);
self::assertEquals(1.04907, $result, '', 0.0001);
}
}