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
@@ -1,22 +0,0 @@
# ==============================================================================
# SonarQube Configuration for CakePHP Unit Testing (> 90% Coverage Target)
# ==============================================================================
sonar.projectKey=cakephp-app
sonar.projectName=CakePHP Application
sonar.projectVersion=1.0
# Đường dẫn nguồn và test
sonar.sources=src
sonar.tests=tests
# Báo cáo Code Coverage sinh ra từ PHPUnit / bin/cake test app
sonar.php.coverage.reportPaths=coverage.xml
sonar.php.tests.reportPath=phpunit-report.xml
# Inclusions: Tập trung đo độ phủ các tầng nghiệp vụ cốt lõi
sonar.coverage.inclusions=src/Model/Table/**,src/Model/Entity/**,src/Controller/**,src/Service/**,src/Command/**,src/Controller/Component/**,src/Middleware/**,src/Mailer/**,src/Form/**,src/Model/Behavior/**,src/View/Helper/**
# Exclusions: Loại trừ framework boilerplate, console installer, configs để đảm bảo Coverage > 90%
sonar.coverage.exclusions=src/Console/Installer.php,src/Application.php,src/View/AppView.php,config/**,bin/**,plugins/**,tests/**,templates/**
sonar.cpd.exclusions=tests/**