symfony-testing — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited symfony-testing (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
You are an expert in testing within Symfony hexagonal architecture.
tests/
├── Unit/
│ └── Domain/
│ └── {Module}/
│ ├── Entity/
│ │ └── {Entity}Test.php
│ └── ValueObject/
│ └── {ValueObject}Test.php
├── Integration/
│ └── Application/
│ └── {Module}/
│ ├── Command/
│ │ └── {Handler}Test.php
│ └── Query/
│ └── {Handler}Test.php
├── Functional/
│ └── Presentation/
│ └── {Module}/
│ └── API/
│ └── {Controller}Test.php
└── Support/
└── Adapter/
└── InMemory{Repository}.phpnamespace Tests\Unit\Domain\User\ValueObject;
use App\Domain\User\ValueObject\Email;
use App\Domain\User\Exception\InvalidEmailException;
use PHPUnit\Framework\TestCase;
final class EmailTest extends TestCase
{
public function test_valid_email_is_created(): void
{
$email = new Email('[email protected]');
$this->assertSame('[email protected]', $email->value);
}
public function test_invalid_email_throws_exception(): void
{
$this->expectException(InvalidEmailException::class);
new Email('invalid');
}
public function test_emails_are_equal(): void
{
$email1 = new Email('[email protected]');
$email2 = new Email('[email protected]');
$this->assertTrue($email1->equals($email2));
}
}namespace Tests\Integration\Application\User\Command;
use App\Application\User\Command\RegisterUser;
use App\Application\User\Command\RegisterUserHandler;
use App\Domain\User\Port\UserRepositoryInterface;
use PHPUnit\Framework\TestCase;
final class RegisterUserHandlerTest extends TestCase
{
public function test_it_registers_a_user(): void
{
$repository = $this->createMock(UserRepositoryInterface::class);
$repository->expects($this->once())->method('save');
$repository->method('existsByEmail')->willReturn(false);
$handler = new RegisterUserHandler($repository);
$result = $handler(new RegisterUser('[email protected]', 'Test', 'password123'));
$this->assertNotEmpty($result);
}
}namespace Tests\Functional\Presentation\User\API;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
final class UserControllerTest extends WebTestCase
{
public function test_create_user(): void
{
$client = static::createClient();
$client->request('POST', '/api/users', [], [], [
'CONTENT_TYPE' => 'application/json',
], json_encode([
'email' => '[email protected]',
'name' => 'Test User',
'password' => 'Password123',
]));
$this->assertResponseStatusCodeSame(201);
$response = json_decode($client->getResponse()->getContent(), true);
$this->assertNotNull($response['result']['id']);
$this->assertNull($response['error']);
}
}See references/ for detailed guides:
test-organization.md — phpunit.xml config, test suites, fixturestest-patterns.md — In-memory adapters, test builders, assertion helpers~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.