Skip to content

Commit

Permalink
Update platform requirements to allow PHP 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Penny committed Jun 12, 2022
1 parent 1b8a861 commit 4d44d7f
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 21 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
> **⚠️ This client is deprecated ⚠️**
> **⚠️ This client is abandoned ⚠️**
>
> This package is here purely to serve the [Elastic App Search](https://github.com/elastic/app-search-php) with PHP 8 as an allowed platform requirement
>
> All credit and praise goes to the contributors of [Elastic App Search](https://github.com/elastic/app-search-php)
>
> As of Enterprise Search version 7.13.0, we are directing users to the new [Enterprise Search PHP Client](https://github.com/elastic/enterprise-search-php) and
> deprecating this client.
Expand Down
42 changes: 22 additions & 20 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,37 @@
{
"name" : "elastic/app-search",
"description" : "Elastic App Search Official PHP Client",
"homepage": "https://github.com/elastic/app-search-php",
"keywords" : [
"name": "silverstripe-terraformers/app-search-php-8",
"description": "Elastic App Search PHP Client",
"keywords": [
"search",
"client",
"elastic",
"php"
],
"license" : "Apache-2.0",
"type" : "library",
"authors" : [
{"name" : "Aurélien FOUCRET", "email": "[email protected]"}
"license": "Apache-2.0",
"type": "library",
"authors": [
{
"name": "Aurélien FOUCRET",
"email": "[email protected]"
}
],
"require" : {
"php" : "^5.6|^7.0",
"elastic/openapi-codegen" : "^1.0.4",
"psr/log" : "^1.0."
"require": {
"php": ">=7.0",
"silverstripe-terraformers/openapi-codegen-php-8": "dev-master",
"psr/log": "^1.0."
},
"require-dev" : {
"phpunit/phpunit" : "^5.6.0|^6.3.0",
"squizlabs/php_codesniffer" : "^3.4.0",
"symfony/yaml" : "*",
"require-dev": {
"phpunit/phpunit": "^5.6.0|^6.3.0",
"squizlabs/php_codesniffer": "^3.4.0",
"symfony/yaml": "*",
"friendsofphp/php-cs-fixer": "^2.14",
"overtrue/phplint": "^1.1"
},
"autoload" : {
"psr-4" : {
"Elastic\\AppSearch\\Client\\" : ""
"autoload": {
"psr-4": {
"Elastic\\AppSearch\\Client\\": ""
},
"exclude-from-classmap" : [
"exclude-from-classmap": [
"/Tests/"
]
}
Expand Down

0 comments on commit 4d44d7f

Please sign in to comment.