Skip to content

Commit 6c84ef3

Browse files
authored
chore: have php link to the local private submodule (#16)
1 parent a693390 commit 6c84ef3

5 files changed

Lines changed: 40 additions & 6 deletions

File tree

.gitmodules

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,11 @@
44
[submodule "test-server/ruby-v3-server/local-ruby-sdk"]
55
path = test-server/ruby-v3-server/local-ruby-sdk
66
url = git@github.com:aws/aws-sdk-ruby-staging.git
7+
[submodule "test-server/php-v2-server/local-php-sdk"]
8+
path = test-server/php-v2-server/local-php-sdk
9+
url = git@github.com:aws/private-aws-sdk-php-staging.git
10+
branch = s3ec/transitional
11+
[submodule "test-server/php-v3-server/local-php-sdk"]
12+
path = test-server/php-v3-server/local-php-sdk
13+
url = git@github.com:aws/private-aws-sdk-php-staging.git
14+
branch = s3ec/improved

test-server/php-v2-server/composer.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,18 @@
33
"description": "PHP v2 implementation of the S3EC Test Server framework",
44
"type": "project",
55
"license": "Apache-2.0",
6+
"repositories": [
7+
{
8+
"type": "path",
9+
"url": "./local-php-sdk",
10+
"options": {
11+
"symlink": true
12+
}
13+
}
14+
],
615
"require": {
716
"php": ">=7.4",
8-
"aws/aws-sdk-php": "^3.356",
17+
"aws/aws-sdk-php": "@dev",
918
"ramsey/uuid": "^4.9"
1019
},
1120
"autoload": {
@@ -19,6 +28,9 @@
1928
]
2029
},
2130
"config": {
22-
"optimize-autoloader": true
31+
"optimize-autoloader": true,
32+
"platform": {
33+
"php": "8.1"
34+
}
2335
}
2436
}
Submodule local-php-sdk added at d78bd3b

test-server/php-v3-server/composer.json

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
11
{
2-
"name": "aws/s3ec-php-v2-test-server",
3-
"description": "PHP v2 implementation of the S3EC Test Server framework",
2+
"name": "aws/s3ec-php-v3-test-server",
3+
"description": "PHP v3 implementation of the S3EC Test Server framework",
44
"type": "project",
55
"license": "Apache-2.0",
6+
"repositories": [
7+
{
8+
"type": "path",
9+
"url": "./local-php-sdk",
10+
"options": {
11+
"symlink": true
12+
}
13+
}
14+
],
615
"require": {
716
"php": ">=7.4",
8-
"aws/aws-sdk-php": "^3.356",
17+
"aws/aws-sdk-php": "@dev",
918
"ramsey/uuid": "^4.9"
1019
},
1120
"autoload": {
@@ -19,6 +28,9 @@
1928
]
2029
},
2130
"config": {
22-
"optimize-autoloader": true
31+
"optimize-autoloader": true,
32+
"platform": {
33+
"php": "8.1"
34+
}
2335
}
2436
}
Submodule local-php-sdk added at d78bd3b

0 commit comments

Comments
 (0)