Skip to content

Commit 759b285

Browse files
Nick Pettazzonimgwoj
Nick Pettazzoni
authored andcommitted
DXE-1695 upgrade to php 8.1 and remove unused tools
1 parent d3982ee commit 759b285

File tree

82 files changed

+4442
-18320
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+4442
-18320
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ composer.phar
33
vendor/
44
build/
55
akamai-open-edgegrid-client*.phar
6+
.phpunit.result.cache
7+
.php-cs-fixer.cache
68

79
### IntelliJ ###
810
*.iml

.scrutinizer.yml

-25
This file was deleted.

.travis.yml

-66
This file was deleted.

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
2.0.0
2+
---
3+
[18 Oct, 2022]
4+
* Upgrade to php 8.1
5+
* Upgrade to Guzzle 7.5, Monolog 2.0
6+
* Upgrade to akamai-open/edgegrid-auth 2.0.0
7+
18
1.0.0
29
---
310
[01 Sep, 2017]

apigen.neon

-7
This file was deleted.

appveyor.yml

-70
This file was deleted.

box.json.dist

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
}
2626
],
2727
"compression": "BZ2",
28-
"bootstrap": "build/phar/bootstrap.php",
2928
"git-version": "package_version",
29+
"main": false,
3030
"output": "akamai-open-edgegrid-client.phar",
3131
"stub": "build/phar/stub.php"
3232
}

composer.json

+13-19
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@
1212
}
1313
],
1414
"require": {
15-
"php": ">=5.5",
16-
"akamai-open/edgegrid-auth": "^1.0.0",
17-
"guzzlehttp/guzzle": "^6.1.1",
15+
"php": ">=8.1",
16+
"akamai-open/edgegrid-auth": "2.0.0",
17+
"guzzlehttp/guzzle": "^7.5.0",
1818
"psr/log": "^1.0",
19-
"monolog/monolog": "^1.15",
19+
"monolog/monolog": "^2.0",
2020
"league/climate": "~3.2"
2121
},
2222
"require-dev": {
23-
"phpunit/phpunit": "~4.7",
24-
"squizlabs/php_codesniffer": "^2.3",
25-
"friendsofphp/php-cs-fixer": "^1.9",
26-
"kherge/box": "^2.5",
27-
"apigen/apigen": "^4.0.0"
23+
"phpunit/phpunit": "^9.5",
24+
"phpspec/prophecy": "~1.0",
25+
"squizlabs/php_codesniffer": "^3.7",
26+
"friendsofphp/php-cs-fixer": "^3.9",
27+
"humbug/box": ">=4.1.0"
2828
},
2929
"autoload": {
3030
"psr-4": {
@@ -38,7 +38,7 @@
3838
},
3939
"config": {
4040
"platform": {
41-
"php": "5.5"
41+
"php": "8.1"
4242
}
4343
},
4444
"bin": [
@@ -47,21 +47,15 @@
4747
"scripts": {
4848
"build": [
4949
"@test",
50-
"@build-docs",
5150
"@build-phar",
5251
"@fix-cs"
5352
],
5453
"test": "phpunit",
55-
"build-docs": [
56-
"rm -Rf docs",
57-
"composer install",
58-
"apigen generate"
59-
],
6054
"build-phar": "./tools/build-phar.sh",
6155
"fix-cs": [
62-
"phpcbf --standard=PSR1,PSR2 ./src ./tests",
63-
"php-cs-fixer fix --level=psr2 ./src",
64-
"php-cs-fixer fix --level=psr2 ./tests"
56+
"phpcbf --standard=PSR12 ./src ./tests",
57+
"php-cs-fixer fix --rules=@PSR12 ./src",
58+
"php-cs-fixer fix --rules=@PSR12 ./tests"
6559
],
6660
"check-version": "./tools/check-version.sh"
6761
}

0 commit comments

Comments
 (0)