Skip to content

Commit 845d9d8

Browse files
chore: reduce unnecessary package exports (#148)
## This PR Fix broken symlink artefact. Updates package exports to reduce clutter. ### Notes Prompted by a broken deployment, which was trying to chown files in an entrypoint and falling over with `.pre-commit-config.yaml` (which links to a non-existent file), causing the container to crash. It may be easier to read the PR by disabling the whitespace in the diff, as I had to realign the existing spacing. ### How to test Checkout this branch, then `git archive HEAD | tar tf -`. You should receive the following: ```text LICENSE README.md composer.json src/ src/OpenFeatureAPI.php src/OpenFeatureClient.php src/implementation/ src/implementation/.gitkeep src/implementation/common/ src/implementation/common/ArrayHelper.php src/implementation/common/Metadata.php src/implementation/common/StringHelper.php src/implementation/common/ValueTypeValidator.php src/implementation/errors/ src/implementation/errors/FlagValueTypeError.php src/implementation/errors/InvalidResolutionValueError.php src/implementation/flags/ src/implementation/flags/Attributes.php src/implementation/flags/AttributesMerger.php src/implementation/flags/EvaluationContext.php src/implementation/flags/EvaluationContextMerger.php src/implementation/flags/EvaluationDetails.php src/implementation/flags/EvaluationDetailsBuilder.php src/implementation/flags/EvaluationDetailsFactory.php src/implementation/flags/EvaluationOptions.php src/implementation/flags/MutableAttributes.php src/implementation/flags/MutableEvaluationContext.php src/implementation/flags/NoOpClient.php src/implementation/hooks/ src/implementation/hooks/AbstractHook.php src/implementation/hooks/AbstractHookContext.php src/implementation/hooks/BooleanHook.php src/implementation/hooks/FloatHook.php src/implementation/hooks/HookContextBuilder.php src/implementation/hooks/HookContextFactory.php src/implementation/hooks/HookContextTransformer.php src/implementation/hooks/HookExecutor.php src/implementation/hooks/HookHints.php src/implementation/hooks/ImmutableHookContext.php src/implementation/hooks/IntegerHook.php src/implementation/hooks/MutableHookContext.php src/implementation/hooks/ObjectHook.php src/implementation/hooks/StringHook.php src/implementation/provider/ src/implementation/provider/AbstractProvider.php src/implementation/provider/NoOpProvider.php src/implementation/provider/Reason.php src/implementation/provider/ResolutionDetails.php src/implementation/provider/ResolutionDetailsBuilder.php src/implementation/provider/ResolutionDetailsFactory.php src/implementation/provider/ResolutionError.php src/interfaces/ src/interfaces/common/ src/interfaces/common/LoggerAwareTrait.php src/interfaces/common/Metadata.php src/interfaces/common/MetadataGetter.php src/interfaces/common/StringIndexed.php src/interfaces/common/TypeValuePair.php src/interfaces/flags/ src/interfaces/flags/API.php src/interfaces/flags/AttributeByTypeExporter.php src/interfaces/flags/AttributeType.php src/interfaces/flags/Attributes.php src/interfaces/flags/Client.php src/interfaces/flags/EvaluationContext.php src/interfaces/flags/EvaluationContextAware.php src/interfaces/flags/EvaluationDetails.php src/interfaces/flags/EvaluationOptions.php src/interfaces/flags/FeatureDetails.php src/interfaces/flags/FeatureValues.php src/interfaces/flags/FlagValueType.php src/interfaces/flags/MutableAttributes.php src/interfaces/flags/MutableEvaluationContext.php src/interfaces/hooks/ src/interfaces/hooks/Hook.php src/interfaces/hooks/HookContext.php src/interfaces/hooks/HookHints.php src/interfaces/hooks/HooksAdder.php src/interfaces/hooks/HooksAware.php src/interfaces/hooks/HooksAwareTrait.php src/interfaces/hooks/HooksGetter.php src/interfaces/hooks/HooksSetter.php src/interfaces/hooks/MutableHookContext.php src/interfaces/provider/ src/interfaces/provider/ErrorCode.php src/interfaces/provider/Provider.php src/interfaces/provider/ProviderAware.php src/interfaces/provider/Reason.php src/interfaces/provider/ResolutionDetails.php src/interfaces/provider/ResolutionError.php src/interfaces/provider/ThrowableWithResolutionError.php ``` Signed-off-by: Chris Lightfoot-Wild <[email protected]>
1 parent c71bf42 commit 845d9d8

File tree

1 file changed

+29
-20
lines changed

1 file changed

+29
-20
lines changed

.gitattributes

Lines changed: 29 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,32 @@
1-
/.editorconfig export-ignore
2-
/.gitattributes export-ignore
3-
/.github/ export-ignore
4-
/.gitignore export-ignore
5-
/.readthedocs.yml export-ignore
6-
/build/ export-ignore
7-
/captainhook.json export-ignore
8-
/CHANGELOG.md export-ignore
9-
/codecov.yml export-ignore
10-
/CODE_OF_CONDUCT.md export-ignore
11-
/CONTRIBUTING.md export-ignore
12-
/conventional-commits.json export-ignore
13-
/docs/ export-ignore
14-
/phpcs.xml.dist export-ignore
15-
/phpstan.neon.dist export-ignore
16-
/phpunit.xml.dist export-ignore
17-
/psalm-baseline.xml export-ignore
18-
/psalm.xml export-ignore
19-
/SECURITY.md export-ignore
20-
/tests/ export-ignore
1+
/.editorconfig export-ignore
2+
/.gitattributes export-ignore
3+
/.github/ export-ignore
4+
/.gitignore export-ignore
5+
/.gitmodules export-ignore
6+
/.pre-commit-config.yaml export-ignore
7+
/.readthedocs.yml export-ignore
8+
/.release-please-manifest.json export-ignore
9+
/.tool-versions export-ignore
10+
/build/ export-ignore
11+
/captainhook.json export-ignore
12+
/CHANGELOG.md export-ignore
13+
/CODEOWNERS export-ignore
14+
/codecov.yml export-ignore
15+
/CODE_OF_CONDUCT.md export-ignore
16+
/CONTRIBUTING.md export-ignore
17+
/conventional-commits.json export-ignore
18+
/devenv.* export-ignore
19+
/docs/ export-ignore
20+
/integration/ export-ignore
21+
/phpcs.xml.dist export-ignore
22+
/phpstan.neon.dist export-ignore
23+
/phpunit.xml.dist export-ignore
24+
/psalm-baseline.xml export-ignore
25+
/psalm.xml export-ignore
26+
/release-please-config.json export-ignore
27+
/renovate.json export-ignore
28+
/SECURITY.md export-ignore
29+
/tests/ export-ignore
2130

2231
* text=auto
2332
*.bat text eol=crlf

0 commit comments

Comments
 (0)