Skip to content
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

PHP 8 Support #644

Closed
wants to merge 36 commits into from
Closed
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
d32875b
PHP 8 Support
driesvints Nov 3, 2020
04affdf
Changelog
driesvints Nov 3, 2020
a142f17
Lower faker dependency
driesvints Nov 3, 2020
470501c
Update build
driesvints Nov 26, 2020
bb981c5
Update CHANGELOG.md
julienbourdeau Nov 26, 2020
a8da9b2
Update composer.json
julienbourdeau Nov 26, 2020
3249c9b
chore: adds circleCI badge
chloelbn Nov 26, 2020
64b156c
fix ci config for forks
julienbourdeau Nov 26, 2020
8272539
Name builds
driesvints Nov 26, 2020
388456b
Remove nightly build for Guzzle 6
driesvints Nov 26, 2020
1591fbe
fix test-no-composer
julienbourdeau Nov 26, 2020
88bb6aa
rename legacy client
julienbourdeau Nov 26, 2020
9f86cb6
Update image
driesvints Dec 1, 2020
4b67cea
Rename
driesvints Dec 1, 2020
2950dcf
update gitattributes
driesvints Dec 1, 2020
e502dd4
Use PHP 8 tag
driesvints Dec 1, 2020
e3570bf
Use different image for 7.4 and 8.0
driesvints Dec 1, 2020
841ec89
Fix param name
driesvints Dec 1, 2020
f25f40a
fix
driesvints Dec 1, 2020
12c278a
Fix
driesvints Dec 1, 2020
72124d5
wip
driesvints Dec 1, 2020
ea318d4
wip
driesvints Dec 1, 2020
7c905f3
wip
driesvints Dec 1, 2020
f98ae6f
wip
driesvints Dec 1, 2020
0369708
wip
driesvints Dec 1, 2020
87d1a8e
Do not run docker ext when cimg is used
driesvints Dec 1, 2020
0f14f95
Do not run php cs fixer on PHP 8
driesvints Dec 1, 2020
b81547c
Try PHPUnit 9.4
driesvints Dec 1, 2020
3db5a57
Try PHPUnit 8
driesvints Dec 1, 2020
ef336c1
Revert safeName changes
driesvints Dec 4, 2020
d46292e
Try to run PHPUnit patch script
driesvints Dec 10, 2020
631e31a
Allow PHP CS Fixer again
driesvints Dec 10, 2020
370a38f
Revert PHP CS Fixer again
driesvints Dec 10, 2020
6bd74e6
Fix
driesvints Dec 10, 2020
3ac9ced
Correct location of patch file
driesvints Dec 10, 2020
d492393
Reverse PHPUnit patching
driesvints Dec 10, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 9 additions & 0 deletions .circleci/config.yml
Expand Up @@ -98,13 +98,19 @@ workflows:
- test:
version: "latest"
http_client: guzzlehttp/guzzle:"^7.0"
- test:
version: "8.0"
http_client: guzzlehttp/guzzle:"^7.0"
- test:
version: "7.4"
http_client: guzzlehttp/guzzle:"^7.0"

- test:
version: "latest"
http_client: guzzlehttp/guzzle:"^6.0"
- test:
version: "8.0"
http_client: guzzlehttp/guzzle:"^6.0"
- test:
version: "7.4"
http_client: guzzlehttp/guzzle:"^6.0"
Expand All @@ -118,6 +124,9 @@ workflows:
- test:
version: "latest"
http_client: legacy
- test:
version: "8.0"
http_client: legacy
- test:
version: "7.4"
http_client: legacy
Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.md
Expand Up @@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased](https://github.com/algolia/algoliasearch-client-php/compare/2.7.2...master)

### Added
- PHP 8 Support

julienbourdeau marked this conversation as resolved.
Show resolved Hide resolved

## [v2.7.2](https://github.com/algolia/algoliasearch-client-php/compare/2.7.1...2.7.2)

### Chore
Expand All @@ -16,7 +20,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## [v2.7.1](https://github.com/algolia/algoliasearch-client-php/compare/2.7.0...2.7.1)

### Fix
- Enable `JSON_UNESCAPED_UNICODE` option for requests bodies JSON encoding.
- Enable `JSON_UNESCAPED_UNICODE` option for requests bodies JSON encoding.

## [v2.7.0](https://github.com/algolia/algoliasearch-client-php/compare/2.6.2...2.7.0)

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Expand Up @@ -11,7 +11,7 @@
}
],
"require": {
"php": "^5.3 || ^7.0",
"php": "^5.3 || ^7.0 || ^8.0",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",
Expand All @@ -21,8 +21,8 @@
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.0",
"fzaninotto/faker": "^1.8",
"phpunit/phpunit": "^4.8",
"fakerphp/faker": "^1.9.1",
"phpunit/phpunit": "^4.8 || ^9.3",
julienbourdeau marked this conversation as resolved.
Show resolved Hide resolved
"symfony/yaml": "^2.0 || ^4.0"
},
"autoload": {
Expand Down