CI / Tests (PHP 8.2) (pull_request) Successful in 26s
CI / No Debug Code (pull_request) Successful in 3s
CI / Tests (PHP 8.3) (pull_request) Successful in 29s
CI / Tests (PHP 8.5) (pull_request) Successful in 30s
CI / Coding Standards (pull_request) Successful in 36s
CI / Tests (PHP 8.1) (pull_request) Successful in 46s
CI / Static Analysis (pull_request) Successful in 49s
CI / Build Plugin Zip (pull_request) Skipped
composer.json declares "php": ">=8.1", but resolution ran against whatever PHP the machine doing the update happened to have. Running composer update on 8.5 could therefore produce a lock containing a package that requires 8.2 or newer, which installs fine locally and fails on the 8.1 leg of the test matrix — a lock that is only discovered to be wrong in CI. config.platform.php makes resolution always target the declared minimum, so a lock that resolves at all is a lock that installs everywhere the plugin claims to run. No package versions change: nothing currently locked requires a PHP newer than 8.1, so this only records platform-overrides and the new content hash. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01D9acV1mHktGAb1uyvNmrR2
47 lines
1.4 KiB
JSON
47 lines
1.4 KiB
JSON
{
|
|
"name": "unsupervised/schedular",
|
|
"description": "WordPress plugin for instructor/student lesson scheduling",
|
|
"type": "wordpress-plugin",
|
|
"license": "GPL-2.0-or-later",
|
|
"require": {
|
|
"php": ">=8.1",
|
|
"stripe/stripe-php": "^17.0"
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^10.5",
|
|
"brain/monkey": "^2.6",
|
|
"mockery/mockery": "^1.6",
|
|
"phpstan/phpstan": "^2.0",
|
|
"szepeviktor/phpstan-wordpress": "^2.0",
|
|
"php-stubs/wordpress-stubs": "^6.0",
|
|
"squizlabs/php_codesniffer": "^3.7",
|
|
"wp-coding-standards/wpcs": "^3.0"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Unsupervised\\Schedular\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Unsupervised\\Schedular\\Tests\\": "tests/"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"test": "phpunit --configuration phpunit.xml",
|
|
"test:coverage": "phpunit --configuration phpunit.xml --coverage-html coverage/",
|
|
"lint": "phpstan analyse --configuration phpstan.neon --memory-limit=1G",
|
|
"cs": "phpcs --standard=phpcs.xml.dist",
|
|
"cs:fix": "phpcbf --standard=phpcs.xml.dist",
|
|
"build": "bash bin/build-zip.sh"
|
|
},
|
|
"config": {
|
|
"platform": {
|
|
"php": "8.1"
|
|
},
|
|
"allow-plugins": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
}
|
|
}
|
|
}
|