File tree Expand file tree Collapse file tree 4 files changed +7
-8
lines changed Expand file tree Collapse file tree 4 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 44 php-version :
55 description : ' Which version of PHP should we setup?'
66 required : false
7- default : 8.0
7+ default : 8.1
88 token :
99 description : ' Token used to prevent composer rate limiting'
1010 required : true
Original file line number Diff line number Diff line change 1515
1616 strategy :
1717 matrix :
18- php-versions : [8.0 , 8.1 ]
18+ php-versions : [8.1 , 8.2, 8.3 ]
1919
2020 steps :
2121 - uses : actions/checkout@v4
3232
3333 strategy :
3434 matrix :
35- php-version : [8.0.30 , 8.1.26 ]
35+ php-version : [8.1.26 , 8.2.19, 8.3.8 ]
3636
3737 env :
3838 LD_INCLUDE_INTEGRATION_TESTS : 1
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ This provider is designed primarily for use in multi-user systems such as web se
2222
2323## Supported PHP versions
2424
25- This version of the LaunchDarkly provider works with PHP 8.0 and above.
25+ This version of the LaunchDarkly provider works with PHP 8.1 and above.
2626
2727## Getting started
2828
@@ -33,7 +33,7 @@ Example composer dependencies:
3333``` json
3434{
3535 "require" : {
36- "php" : " >=8.0 " ,
36+ "php" : " >=8.1 " ,
3737 "launchdarkly/openfeature-server" : " ^1.0"
3838 }
3939}
@@ -46,8 +46,7 @@ use OpenFeature\OpenFeatureAPI;
4646use OpenFeature\implementation\flags\Attributes;
4747use OpenFeature\implementation\flags\EvaluationContext;
4848
49- $ldClient = new LaunchDarkly\LDClient("my-sdk-key");
50- $provider = new LaunchDarkly\OpenFeature\Provider($ldClient);
49+ $provider = new LaunchDarkly\OpenFeature\Provider("my-sdk-key");
5150
5251$api = OpenFeatureAPI::getInstance();
5352$api->setProvider($provider);
Original file line number Diff line number Diff line change 2020 }
2121 ],
2222 "require" : {
23- "php" : " >=8.0 " ,
23+ "php" : " >=8.1 " ,
2424 "guzzlehttp/guzzle" : " ^7" ,
2525 "launchdarkly/server-sdk" : " ^6.2" ,
2626 "myclabs/php-enum" : " >1.8" ,
You can’t perform that action at this time.
0 commit comments