Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@

*.zip

# Composer dependencies — install with: composer install
vendor/

# PHPUnit cache
.phpunit.result.cache

16 changes: 16 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "ogsteam/mod-xtense",
"description": "OGSpy xtense browser extension backend mod",
"type": "library",
"license": "GPL-3.0-or-later",
"require-dev": {
"phpunit/phpunit": "^13.0",
"monolog/monolog": "^3.9"
},
"scripts": {
"test": "vendor/bin/phpunit"
},
"config": {
"optimize-autoloader": true
Comment on lines +7 to +14
Copy link

Copilot AI Apr 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

composer.json requires phpunit/phpunit ^13, which (per composer.lock) requires PHP >= 8.4.1. If the project/mod is expected to be testable on earlier PHP versions (common for OGSpy deployments), consider constraining the PHP platform version and selecting a PHPUnit version compatible with it to avoid blocking composer install for contributors/CI.

Suggested change
"phpunit/phpunit": "^13.0",
"monolog/monolog": "^3.9"
},
"scripts": {
"test": "vendor/bin/phpunit"
},
"config": {
"optimize-autoloader": true
"phpunit/phpunit": "^10.5",
"monolog/monolog": "^3.9"
},
"scripts": {
"test": "vendor/bin/phpunit"
},
"config": {
"optimize-autoloader": true,
"platform": {
"php": "8.1.0"
}

Copilot uses AI. Check for mistakes.
}
}
Loading
Loading