ver. 0.293: Code review fixes — 6 repositories, 16 fixes
- ArticleRepository: SQL injection fix (addslashes→parameterized), DRY refactor topArticles/newsListArticles
- AttributeRepository: dead class_exists('\S') blocking cache/temp clear
- CategoryRepository: dead class_exists('\S') blocking SEO link generation (critical)
- BannerRepository: parameterize $today in SQL + null guard on query()
- BasketCalculator: null guard checkProductQuantityInStock + optional DI params
- PromotionRepository: null guard on $basket (production fatal)
- OrderRepository/ShopBasketController/ajax.php: explicit DI in BasketCalculator callers
614 tests, 1821 assertions (+4 new)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -18,16 +18,16 @@ Aktualizacje znajdują się w folderze `updates/0.XX/` gdzie XX oznacza dziesią
|
||||
|
||||
## Procedura tworzenia nowej aktualizacji
|
||||
|
||||
## Status biezacej aktualizacji (ver. 0.292)
|
||||
## Status biezacej aktualizacji (ver. 0.293)
|
||||
|
||||
- Wersja udostepniona: `0.292` (data: 2026-02-18).
|
||||
- Wersja udostepniona: `0.293` (data: 2026-02-19).
|
||||
- Pliki publikacyjne:
|
||||
- `updates/0.20/ver_0.292.zip`, `ver_0.292_files.txt`
|
||||
- `updates/0.20/ver_0.293.zip`
|
||||
- Pliki metadanych aktualizacji:
|
||||
- `updates/changelog.php` (skonsolidowany wpis `ver. 0.292` z 0.292+0.293+0.294)
|
||||
- `updates/versions.php` (`$current_ver = 292`)
|
||||
- `updates/changelog.php`
|
||||
- `updates/versions.php` (`$current_ver = 293`)
|
||||
- Weryfikacja testow przed publikacja:
|
||||
- `OK (610 tests, 1817 assertions)`
|
||||
- `OK (614 tests, 1821 assertions)`
|
||||
|
||||
### 1. Określ numer wersji
|
||||
Sprawdź ostatnią wersję w `updates/` i zwiększ o 1.
|
||||
|
||||
Reference in New Issue
Block a user