Skip to content

Commit

Permalink
Merge pull request #4 from tarfin-labs/php-8-2-support
Browse files Browse the repository at this point in the history
php 8.2 support added
  • Loading branch information
frkcn authored May 11, 2023
2 parents a7b3d3a + ed4c2b2 commit 46d1b60
Show file tree
Hide file tree
Showing 3 changed files with 98 additions and 63 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: tests

on: [push, pull_request]

jobs:
test:

runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [7.3, 7.4, 8.0, 8.1, 8.2]
dependency-version: [prefer-lowest, prefer-stable]

name: P${{ matrix.php }} - ${{ matrix.dependency-version }}

steps:
- name: Checkout the code
uses: actions/checkout@v1

- name: Disable Xdebug
run: sudo phpdismod xdebug

- name: Install dependencies
run: composer install --no-progress --no-ansi --profile --no-interaction --no-scripts --no-suggest --prefer-dist

- name: Execute tests
run: vendor/bin/phpunit --testdox --colors=always --exclude-group skipped
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ All notable changes to `elastic-aws-client` will be documented in this file.

## [Unreleased]

## 2.3.0 - 2023-05-11
- PHP 8.2 support added.

## 2.2.0 - 2022-02-08
- PHP 8.1 support added.

Expand Down
130 changes: 67 additions & 63 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,65 +1,69 @@
{
"name": "tarfin-labs/elastic-aws-client",
"description": "The official PHP Elasticsearch AWS client integrated with Laravel",
"keywords": [
"laravel",
"aws",
"elastic",
"elasticsearch",
"client",
"php"
],
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Turan Karatuğ",
"email": "[email protected]",
"role": "Developer"
},
{
"name": "Faruk Can",
"email": "[email protected]",
"role": "Developer"
},
{
"name": "Yunus Emre Deligöz",
"email": "[email protected]",
"role": "Developer"
},
{
"name": "Hakan Özdemir",
"email": "[email protected]",
"role": "Developer"
}
],
"autoload": {
"psr-4": {
"ElasticAwsClient\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"ElasticAwsClient\\Tests\\": "tests"
}
},
"require": {
"php": "^7.3|^8.0|^8.1",
"aws/aws-sdk-php": "^3.80",
"elasticsearch/elasticsearch": "^7.3"
},
"require-dev": {
"phpunit/phpunit": "^8.4|^9.0",
"orchestra/testbench": "^4.3|^6.0|^7.0"
},
"config": {
"bin-dir": "bin"
},
"extra": {
"laravel": {
"providers": [
"ElasticAwsClient\\ServiceProvider"
]
}
}
"name": "tarfin-labs/elastic-aws-client",
"description": "The official PHP Elasticsearch AWS client integrated with Laravel",
"keywords": [
"laravel",
"aws",
"elastic",
"elasticsearch",
"client",
"php"
],
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Turan Karatuğ",
"email": "[email protected]",
"role": "Developer"
},
{
"name": "Faruk Can",
"email": "[email protected]",
"role": "Developer"
},
{
"name": "Yunus Emre Deligöz",
"email": "[email protected]",
"role": "Developer"
},
{
"name": "Hakan Özdemir",
"email": "[email protected]",
"role": "Developer"
}
],
"autoload": {
"psr-4": {
"ElasticAwsClient\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"ElasticAwsClient\\Tests\\": "tests"
}
},
"require": {
"php": "^7.3|^8.0|^8.1|^8.2",
"aws/aws-sdk-php": "^3.80",
"elasticsearch/elasticsearch": "^7.3"
},
"require-dev": {
"phpunit/phpunit": "^8.4|^9.0",
"orchestra/testbench": "^4.3|^6.0|^7.0|^8.0"
},
"scripts": {
"test": "vendor/bin/phpunit",
"test-coverage": "vendor/bin/phpunit --coverage-html coverage"
},
"config": {
"sort-packages": true
},
"extra": {
"laravel": {
"providers": [
"ElasticAwsClient\\ServiceProvider"
]
}
}
}

0 comments on commit 46d1b60

Please sign in to comment.