Docs: Add PHP 7.4 compatibility notes
- Updated README.md: Changed PHP version from 8.0+ to 7.4+ (8.0+ compatible) - Added PHP compatibility section to STATUS.md - Updated STATUS.md with latest commit information - Documented supported PHP versions (7.4, 8.0, 8.1, 8.2)
This commit is contained in:
@@ -16,7 +16,7 @@ Nextcloud internal PHP application providing Google Analytics 4 reporting with A
|
|||||||
|
|
||||||
**Type**: Nextcloud PHP App (Internal Application)
|
**Type**: Nextcloud PHP App (Internal Application)
|
||||||
**Framework**: Nextcloud App Framework (OCP)
|
**Framework**: Nextcloud App Framework (OCP)
|
||||||
**Language**: PHP 8.0+
|
**Language**: PHP 7.4+ (compatible with PHP 8.0+)
|
||||||
**Database**: Nextcloud Database (via IDBConnection)
|
**Database**: Nextcloud Database (via IDBConnection)
|
||||||
**Target Nextcloud**: 25.0+ (https://cloud.shortcutsolutions.net)
|
**Target Nextcloud**: 25.0+ (https://cloud.shortcutsolutions.net)
|
||||||
|
|
||||||
|
|||||||
30
STATUS.md
30
STATUS.md
@@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
**Repository**: git.teamworkapps.com/shortcut/nextcloud-analytics
|
**Repository**: git.teamworkapps.com/shortcut/nextcloud-analytics
|
||||||
**Branch**: main
|
**Branch**: main
|
||||||
**Status**: ✅ PUSHED TO GITEA (2026-02-13 14:50 GMT)
|
**Status**: ✅ PUSHED TO GITEA (2026-02-13 14:50 GMT, updated 2026-02-13 17:50 GMT)
|
||||||
**Issue**: RESOLVED
|
**Issue**: RESOLVED
|
||||||
|
|
||||||
**What Was Pushed**:
|
**What Was Pushed**:
|
||||||
@@ -52,8 +52,13 @@
|
|||||||
- Go module and binary
|
- Go module and binary
|
||||||
- Nextcloud PHP app (analytics-hub/)
|
- Nextcloud PHP app (analytics-hub/)
|
||||||
- SKILL.md for OpenClaw integration
|
- SKILL.md for OpenClaw integration
|
||||||
|
- PHP 7.4 compatibility fix (commit d87a87b)
|
||||||
|
|
||||||
**Commit**: f9c49cf - "Phase 3: Initial commit - Nextcloud Analytics Hub Project"
|
**Latest Commits**:
|
||||||
|
- f9c49cf - "Phase 3: Initial commit - Nextcloud Analytics Hub Project"
|
||||||
|
- b727ddd - "Update STATUS.md - Git push completed"
|
||||||
|
- 254c148 - "Update README.md - Reflect Phase 1-3 completion status"
|
||||||
|
- d87a87b - "Fix: Add PHP 7.4 compatibility"
|
||||||
**URL**: https://git.teamworkapps.com/shortcut/nextcloud-analytics
|
**URL**: https://git.teamworkapps.com/shortcut/nextcloud-analytics
|
||||||
|
|
||||||
---
|
---
|
||||||
@@ -77,6 +82,27 @@
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## PHP Compatibility (Updated 2026-02-13)
|
||||||
|
|
||||||
|
**Status**: ✅ PHP 7.4+ Compatible
|
||||||
|
|
||||||
|
**Changes Made**:
|
||||||
|
- Updated `appinfo/info.xml`: PHP min-version changed from 8.0 to 7.4
|
||||||
|
- Replaced all `str_contains()` calls with `strpos() !== false` (PHP 7.4 compatible)
|
||||||
|
- GoogleAnalyticsService.php: 1 instance
|
||||||
|
- LLMService.php: 6 instances
|
||||||
|
- Verified no other PHP 8.0+ features in use
|
||||||
|
|
||||||
|
**Supported PHP Versions**:
|
||||||
|
- PHP 7.4 ✅
|
||||||
|
- PHP 8.0 ✅
|
||||||
|
- PHP 8.1 ✅
|
||||||
|
- PHP 8.2 ✅
|
||||||
|
|
||||||
|
**Git Commit**: d87a87b - "Fix: Add PHP 7.4 compatibility"
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## Deployment Steps
|
## Deployment Steps
|
||||||
|
|
||||||
### 1. Clone from Gitea
|
### 1. Clone from Gitea
|
||||||
|
|||||||
Reference in New Issue
Block a user