feat: decouple Laravel and CakePHP installers, remove SonarQube artifacts, and enforce complete unit testing standards

- Decouple framework installation: add install-laravel.sh and install-cakephp.sh, isolate skills and docs per framework, and auto-clean leftover artifacts
- Remove all SonarQube configs, templates, and references
- Enforce comprehensive test completeness: 100% public methods, edge cases, full branch coverage, exception paths, and state assertions
- Replace all placeholder assertions in PHPUnit and Pest templates with full realistic implementations
- Rename and update 10-comprehensive-test-coverage-guide.md
This commit is contained in:
2026-09-17 14:25:02 +07:00
parent 97f3833bf2
commit da1bd48444
33 changed files with 1004 additions and 594 deletions
@@ -121,11 +121,8 @@ class {{TABLE_NAME}}TableTest extends TestCase
]);
$result = $this->{{VARIABLE_NAME}}->save($entity2);
// Assert - Rule should fail if unique rule exists
if (!empty($entity2->getErrors())) {
$this->assertFalse($result);
} else {
$this->assertTrue(true);
}
// Assert - Rule should fail when duplicate unique field is saved
$this->assertFalse($result);
$this->assertNotEmpty($entity2->getErrors());
}
}