Skip to content

Commit baf628d

Browse files
committed
feat: named clients, PHP 8.0 EOL, flag metadata, and refactors
Signed-off-by: Tom Carrio <[email protected]>
1 parent 82d58d2 commit baf628d

File tree

81 files changed

+1100
-696
lines changed

Some content is hidden

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

81 files changed

+1100
-696
lines changed

.envrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
use flake

.github/workflows/pullrequest.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
matrix:
2222
operating-system: [ubuntu-latest]
23-
php-version: ['8.0', '8.1', '8.2']
23+
php-version: ['8.1', '8.2', '8.3']
2424

2525
steps:
2626
- uses: actions/checkout@v4

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88

99
/features/*.feature
1010

11-
/.devenv*
11+
/.direnv

.tool-versions

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
php 8.2.12
1+
php 8.3.0
2+
# php 8.2.12
23
# php 8.1.11
3-
# php 8.0.24

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
### System Requirements
66

7-
PHP 8+ is required.
7+
PHP 8.1+ is required.
88

99
### Compilation target(s)
1010

11-
We target compatibility with PHP versions 8.0, 8.1, and 8.2.
11+
We target compatibility with supported versions of PHP. Currently, this includes PHP versions 8.1, 8.2, and 8.3.
1212

1313
### Installation and Dependencies
1414

README.md

+12-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Specification](https://img.shields.io/static/v1?label=Specification&message=v0.5.1&color=yellow)](https://github.com/open-feature/spec/tree/v0.5.1)
66
[![Latest Stable Version](http://poser.pugx.org/open-feature/sdk/v)](https://packagist.org/packages/open-feature/sdk)
77
[![Total Downloads](http://poser.pugx.org/open-feature/sdk/downloads)](https://packagist.org/packages/open-feature/sdk)
8-
![PHP 8.0+](https://img.shields.io/badge/php->=8.0-blue.svg)
8+
![PHP 8.1+](https://img.shields.io/badge/php->=8.0-blue.svg)
99
[![License](http://poser.pugx.org/open-feature/sdk/license)](https://packagist.org/packages/open-feature/sdk)
1010
[![OpenSSF Best Practices](https://bestpractices.coreinfrastructure.org/projects/6853/badge)](https://bestpractices.coreinfrastructure.org/projects/6853)
1111

@@ -108,7 +108,17 @@ The OpenFeature project maintains the [open-feature/php-sdk-contrib](https://git
108108

109109
This library targets PHP version 8.0 and newer. As long as you have any compatible version of PHP on your system you should be able to utilize the OpenFeature SDK.
110110

111-
This package also has a `.tool-versions` file for use with PHP version managers like `asdf`.
111+
#### asdf
112+
113+
This package has a `.tool-versions` file for use with PHP version managers like `asdf`.
114+
115+
#### Nix
116+
117+
This package includes a `flake.nix` file which defines reproducible development shells powered by [Nix](https://nixos.org/). You can manually drop into a shell with `nix develop`, or provide a specific PHP minor version target with `nix develop .#php82`.
118+
119+
#### direnv
120+
121+
This package includes a `.envrc` file which automatically infers the usage of the default shell for the project, which is set to the minimum supported version of PHP.
112122

113123
### Installation and Dependencies
114124

composer.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@
1515
}
1616
],
1717
"require": {
18-
"php": "^8",
18+
"php": "^8.1",
19+
"league/event": "^3.0",
1920
"myclabs/php-enum": "^1.8",
21+
"psr/event-dispatcher": "^1.0",
2022
"psr/log": "^2.0 || ^3.0"
2123
},
2224
"require-dev": {
@@ -56,10 +58,10 @@
5658
},
5759
"config": {
5860
"allow-plugins": {
59-
"phpstan/extension-installer": true,
61+
"captainhook/plugin-composer": true,
6062
"dealerdirect/phpcodesniffer-composer-installer": true,
6163
"ergebnis/composer-normalize": true,
62-
"captainhook/plugin-composer": true,
64+
"phpstan/extension-installer": true,
6365
"ramsey/composer-repl": true
6466
},
6567
"sort-packages": true

devenv.lock

-152
This file was deleted.

devenv.nix

-52
This file was deleted.

devenv.yaml

-5
This file was deleted.

flake.lock

+26
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)