v1.691: testy jednostkowe Domain\, infrastruktura PHPUnit, paczka aktualizacji

- Dodano testy: SettingsRepositoryTest, LanguagesRepositoryTest, UserRepositoryTest
- Infrastruktura: phpunit.xml, composer.json (phpunit/phpunit ^10), tests/bootstrap.php
- Bootstrap stuby: \Shared\Cache\CacheHandler (in-memory), \S
- Zaktualizowano docs/TESTING.md dla cmsPRO
- Paczka: updates/1.60/ver_1.691.zip + manifest

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-27 23:50:33 +01:00
parent 9ee4116f50
commit 8e6b29976c
11 changed files with 641 additions and 91 deletions

BIN
updates/1.60/ver_1.691.zip Normal file

Binary file not shown.

View File

@@ -0,0 +1,4 @@
F: ../backup_20250512_232458.zip
F: ../backup_tmp.json
F: ../sitemap_cmsenproject-dcpl.xml
F: ../sitemap_cmsproproject-dcpl.xml

View File

@@ -0,0 +1,49 @@
{
"changelog": "Refaktoryzacja DDD Faza 0+1: PSR-4 autoloader, Shared (CacheHandler, Helpers, Html, ImageManipulator, Tpl), Domain (LanguagesRepository, SettingsRepository, UserRepository), testy jednostkowe Domain\\, docs/",
"version": "1.691",
"files": {
"added": [
"autoload/Domain/Languages/LanguagesRepository.php",
"autoload/Domain/Settings/SettingsRepository.php",
"autoload/Domain/User/UserRepository.php",
"autoload/Shared/Cache/CacheHandler.php",
"autoload/Shared/Helpers/Helpers.php",
"autoload/Shared/Html/Html.php",
"autoload/Shared/Image/ImageManipulator.php",
"autoload/Shared/Tpl/Tpl.php"
],
"deleted": [
"backup_20250512_232458.zip",
"backup_tmp.json",
"sitemap_cmsenproject-dcpl.xml",
"sitemap_cmsproproject-dcpl.xml"
],
"modified": [
"admin/ajax.php",
"admin/index.php",
"ajax.php",
"api.php",
"autoload/admin/class.Site.php",
"autoload/admin/factory/class.Languages.php",
"autoload/admin/factory/class.Settings.php",
"autoload/admin/factory/class.Users.php",
"autoload/class.Cache.php",
"autoload/class.Html.php",
"autoload/class.Image.php",
"autoload/class.S.php",
"autoload/class.Tpl.php",
"autoload/front/factory/class.Languages.php",
"autoload/front/factory/class.Settings.php",
"cron.php",
"index.php"
]
},
"checksum_zip": "sha256:f53230f36d391828f4e368f3fc3420d8f9430ca507a1d4f57a0988823ac22192",
"sql": [
],
"date": "2026-02-27",
"directories_deleted": [
]
}