-
Notifications
You must be signed in to change notification settings - Fork 193
Request model support #1264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Request model support #1264
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -40,6 +40,6 @@ | |
| "squizlabs/php_codesniffer": "3.*" | ||
| }, | ||
| "platform": { | ||
| "php": "8.2" | ||
| "php": "8.3" | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,6 +16,12 @@ | |
| "swoole/ide-helper": "5.1.2" | ||
| }, | ||
| "platform": { | ||
| "php": "8.2" | ||
| "php": "8.4" | ||
| }, | ||
| "config": { | ||
| "allow-plugins": { | ||
| "php-http/discovery": true, | ||
| "tbachert/spi": true | ||
| } | ||
| } | ||
|
Comment on lines
18
to
26
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: # Find and examine the root composer.json
find . -maxdepth 2 -name "composer.json" -type fRepository: appwrite/sdk-generator Length of output: 109 🏁 Script executed: # Check root composer.json for PHP version constraint
cat -n composer.json | grep -A 5 -B 5 "php"Repository: appwrite/sdk-generator Length of output: 1127 🏁 Script executed: # Check mock-server composer.json dependencies
cat -n mock-server/composer.jsonRepository: appwrite/sdk-generator Length of output: 873 🏁 Script executed: # Look for CI configuration files
find . -type f \( -name ".github" -o -name ".gitlab-ci.yml" -o -name ".travis.yml" -o -name "phpunit.xml" \) 2>/dev/null | head -20Repository: appwrite/sdk-generator Length of output: 79 🏁 Script executed: # Search for workflow files in .github
find .github -type f -name "*.yml" -o -name "*.yaml" 2>/dev/null | head -20Repository: appwrite/sdk-generator Length of output: 275 🏁 Script executed: cat -n .github/workflows/tests.ymlRepository: appwrite/sdk-generator Length of output: 3426 🏁 Script executed: # Search for references to the plugins in the codebase
rg "php-http/discovery|tbachert/spi" --type jsonRepository: appwrite/sdk-generator Length of output: 1052 Mock-server PHP 8.4 platform constraint: ensure CI/runtime alignment The mock-server platform is set to PHP 8.4, which is stricter than the root constraint ( However, the CI workflow currently runs tests with PHP 8.3 only (line 15 of |
||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
rg -n '\bJSON\b' mock-server/app/http.phpRepository: appwrite/sdk-generator
Length of output: 95
Remove unused import:
Utopia\Validator\JSON.The
JSONvalidator is imported on line 21 but is not used anywhere in this file.🤖 Prompt for AI Agents