From 5671c8b4d62a073fcc2a1af47d083ce1cd756d41 Mon Sep 17 00:00:00 2001 From: Emanuel Almeida Date: Wed, 28 Oct 2026 16:02:32 +0000 Subject: [PATCH] =?UTF-8?q?style(cabecalhos):=20adiciona=20cabe=C3=A7alho?= =?UTF-8?q?=20Descomplicar=C2=AE=20ao=20c=C3=B3digo-fonte,=20templates,=20?= =?UTF-8?q?testes=20e=20scripts=20PHP/JS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/js/admin.js | 8 ++++++++ phpstan-bootstrap.php | 9 +++++++++ run-tests.php | 9 +++++++++ src/Admin/AjaxHandler.php | 9 +++++++++ src/Cache/CacheInvalidator.php | 9 +++++++++ src/Cache/CacheManager.php | 9 +++++++++ src/Config/PerformanceConfig.php | 9 +++++++++ src/Database/ConnectionManager.php | 9 +++++++++ src/Database/HealthCheck.php | 9 +++++++++ src/Database/Migration.php | 9 +++++++++ src/Database/QueryBuilder.php | 9 +++++++++ src/Database/Schema.php | 9 +++++++++ src/Integrations/KiviCare/HookManager.php | 9 +++++++++ src/Models/Restriction.php | 9 +++++++++ src/Models/RestrictionType.php | 9 +++++++++ src/Monitoring/PerformanceTracker.php | 9 +++++++++ src/Performance/MemoryManager.php | 9 +++++++++ src/Performance/QueryOptimizer.php | 9 +++++++++ src/Performance/ResponseOptimizer.php | 9 +++++++++ src/Repositories/RestrictionRepository.php | 9 +++++++++ src/Repositories/RestrictionRepositoryInterface.php | 9 +++++++++ src/Security/CapabilityChecker.php | 9 +++++++++ src/Security/InputSanitizer.php | 9 +++++++++ src/Security/NonceManager.php | 9 +++++++++ src/Security/RateLimiter.php | 9 +++++++++ src/Security/SecurityIntegration.php | 9 +++++++++ src/Security/SecurityLogger.php | 9 +++++++++ src/Security/SecurityValidationResult.php | 9 +++++++++ src/Security/SecurityValidator.php | 9 +++++++++ src/Security/ValidationLayerResult.php | 9 +++++++++ src/Services/CssInjectionService.php | 9 +++++++++ templates/admin/bulk-operations.php | 9 +++++++++ templates/admin/dashboard.php | 9 +++++++++ templates/admin/main-interface.php | 9 +++++++++ templates/admin/restrictions.php | 9 +++++++++ templates/admin/settings-page.php | 9 +++++++++ templates/agent-file-template.md | 8 ++++++++ templates/plan-template.md | 8 ++++++++ templates/spec-template.md | 8 ++++++++ templates/tasks-template.md | 8 ++++++++ tests/Integration/KiviCareIntegrationTest.php | 9 +++++++++ tests/Integration/WordPressHooksTest.php | 9 +++++++++ tests/Mocks/DatabaseMock.php | 9 +++++++++ tests/Mocks/KiviCareMock.php | 9 +++++++++ tests/Mocks/WordPressMock.php | 9 +++++++++ tests/Performance/DatabasePerformanceTest.php | 9 +++++++++ tests/Unit/Cache/CacheManagerTest.php | 9 +++++++++ tests/Unit/Models/RestrictionTest.php | 9 +++++++++ tests/Unit/Models/RestrictionTypeTest.php | 9 +++++++++ tests/Unit/Security/SecurityValidatorTest.php | 9 +++++++++ tests/Utils/TestHelper.php | 9 +++++++++ tests/bootstrap.php | 9 +++++++++ tests/performance/PerformanceBenchmarkTest.php | 9 +++++++++ 53 files changed, 472 insertions(+) diff --git a/assets/js/admin.js b/assets/js/admin.js index df04768..415891d 100644 --- a/assets/js/admin.js +++ b/assets/js/admin.js @@ -1,3 +1,11 @@ +/** + * admin.js + * + * @author Descomplicar® Crescimento Digital + * @link https://descomplicar.pt + * @copyright 2025 Descomplicar® + */ + /** * Care Book Ultimate - Admin Interface JavaScript * diff --git a/phpstan-bootstrap.php b/phpstan-bootstrap.php index b9165fa..848926c 100644 --- a/phpstan-bootstrap.php +++ b/phpstan-bootstrap.php @@ -1,3 +1,12 @@ +/** + * phpstan-bootstrap.php + * + * @package care-book-block-ultimate.phpstan-bootstrap.php + * @author Descomplicar® Crescimento Digital + * @link https://descomplicar.pt + * @copyright 2025 Descomplicar® - Todos os direitos reservados + */ + - + Auto-generated from all feature plans. Last updated: [DATE] +timestamp: 2025-09-10T05:58:33.277748+00:00 +layer: wiki +--- # [PROJECT NAME] Development Guidelines Auto-generated from all feature plans. Last updated: [DATE] diff --git a/templates/plan-template.md b/templates/plan-template.md index f28a655..c52828f 100644 --- a/templates/plan-template.md +++ b/templates/plan-template.md @@ -1,3 +1,11 @@ +--- +type: Template +title: Plan Template +description: >- + Branch: `[###-feature-name]` | Date: [DATE] | Spec: [link] +timestamp: 2025-09-10T05:58:33.278294+00:00 +layer: wiki +--- # Implementation Plan: [FEATURE] **Branch**: `[###-feature-name]` | **Date**: [DATE] | **Spec**: [link] diff --git a/templates/spec-template.md b/templates/spec-template.md index 7915e7d..5e07ed7 100644 --- a/templates/spec-template.md +++ b/templates/spec-template.md @@ -1,3 +1,11 @@ +--- +type: Template +title: Spec Template +description: >- + Template de especificação de funcionalidade para o plugin Care Booking Block Ultimate. +timestamp: 2025-09-10T05:58:33.278792+00:00 +layer: wiki +--- # Feature Specification: [FEATURE NAME] **Feature Branch**: `[###-feature-name]` diff --git a/templates/tasks-template.md b/templates/tasks-template.md index b8a28fa..4502c12 100644 --- a/templates/tasks-template.md +++ b/templates/tasks-template.md @@ -1,3 +1,11 @@ +--- +type: Template +title: Tasks Template +description: >- + Input: Design documents from `/specs/[###-feature-name]/` +timestamp: 2025-09-10T05:58:33.277369+00:00 +layer: wiki +--- # Tasks: [FEATURE NAME] **Input**: Design documents from `/specs/[###-feature-name]/` diff --git a/tests/Integration/KiviCareIntegrationTest.php b/tests/Integration/KiviCareIntegrationTest.php index 42f9b46..73acefc 100644 --- a/tests/Integration/KiviCareIntegrationTest.php +++ b/tests/Integration/KiviCareIntegrationTest.php @@ -1,3 +1,12 @@ +/** + * KiviCareIntegrationTest.php + * + * @package care-book-block-ultimate.tests.Integration + * @author Descomplicar® Crescimento Digital + * @link https://descomplicar.pt + * @copyright 2025 Descomplicar® - Todos os direitos reservados + */ +