Skip to content

Commit 19b1890

Browse files
authored
Merge pull request #175 from splitio/task/redisWrapper
added wrapper exception for PHP Redis
2 parents d72b8a6 + ddcb283 commit 19b1890

38 files changed

+547
-1553
lines changed

CHANGES.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
7.1.1 (Feb 11, 2021)
1+
7.1.1 (March XX, 2021)
22
- Removed unused logic for HTTP and requests dependency.
3+
- Removed all producer logic for Storages.
4+
- Added SafeRedisWrapper for handling exception in Redis.
5+
- Fixed typos in bucket and CONTRIBUTORS-GUIDE.
36

47
7.1.0 (Dec 3, 2021)
58
- Added a new option to use when running Redis in cluster mode called `keyHashTags` which receives a list of hashtags from which the SDK will randomly pick one to use on the generated instance.

phpunit.xml.dist

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,53 +5,61 @@
55
<php>
66
<const name="REDIS_HOST" value="localhost"/>
77
<const name="REDIS_PORT" value="6379"/>
8+
<const name="TEST_PREFIX" value="SPLITIO_TEST:."/>
89
</php>
910

1011
<testsuites>
1112
<testsuite name="splitio">
1213
<directory suffix="Test.php">tests/</directory>
1314
</testsuite>
14-
<testsuite name="redis-adapter">
15-
<file>tests/Suite/Redis/CacheInterfacesTest.php</file>
15+
<testsuite name="adapter">
16+
<directory suffix="Test.php">tests/Suite/Adapter</directory>
17+
</testsuite>
18+
<testsuite name="attributes">
19+
<directory suffix="Test.php">tests/Suite/Attributes/</directory>
1620
</testsuite>
1721
<testsuite name="common">
1822
<directory suffix="Test.php">tests/Suite/Common/</directory>
1923
</testsuite>
2024
<testsuite name="component">
2125
<directory suffix="Test.php">tests/Suite/Component/</directory>
26+
</testsuite>
27+
<testsuite name="dynamic_configurations">
28+
<directory suffix="Test.php">tests/Suite/DynamicConfigurations/</directory>
2229
</testsuite>
2330
<testsuite name="engine">
2431
<directory suffix="Test.php">tests/Suite/Engine/</directory>
2532
</testsuite>
33+
<testsuite name="input_validation">
34+
<directory suffix="Test.php">tests/Suite/InputValidation/</directory>
35+
</testsuite>
2636
<testsuite name="matchers">
2737
<directory suffix="Test.php">tests/Suite/Matchers/</directory>
2838
</testsuite>
2939
<testsuite name="metrics">
3040
<directory suffix="Test.php">tests/Suite/Metrics/</directory>
3141
</testsuite>
42+
<testsuite name="redis">
43+
<directory suffix="Test.php">tests/Suite/Redis/</directory>
44+
</testsuite>
3245
<testsuite name="sdk">
3346
<directory suffix="Test.php">tests/Suite/Sdk/</directory>
3447
</testsuite>
35-
<testsuite name="attributes">
36-
<directory suffix="Test.php">tests/Suite/Attributes/</directory>
37-
</testsuite>
38-
<testsuite name="input_validation">
39-
<directory suffix="Test.php">tests/Suite/InputValidation/</directory>
40-
</testsuite>
4148

4249

4350

4451
<testsuite name="integration">
52+
<directory suffix="Test.php">tests/Suite/Adapter/</directory>
53+
<directory suffix="Test.php">tests/Suite/Attributes/</directory>
4554
<directory suffix="Test.php">tests/Suite/Common/</directory>
4655
<directory suffix="Test.php">tests/Suite/Component/</directory>
56+
<directory suffix="Test.php">tests/Suite/DynamicConfigurations/</directory>
4757
<directory suffix="Test.php">tests/Suite/Engine/</directory>
58+
<directory suffix="Test.php">tests/Suite/InputValidation/</directory>
4859
<directory suffix="Test.php">tests/Suite/Matchers/</directory>
4960
<directory suffix="Test.php">tests/Suite/Metrics/</directory>
61+
<directory suffix="Test.php">tests/Suite/Redis/</directory>
5062
<directory suffix="Test.php">tests/Suite/Sdk/</directory>
51-
<directory suffix="Test.php">tests/Suite/Adapter/</directory>
52-
<directory suffix="Test.php">tests/Suite/Attributes/</directory>
53-
<directory suffix="Test.php">tests/Suite/InputValidation/</directory>
54-
<directory suffix="Test.php">tests/Suite/DynamicConfigurations/</directory>
5563
</testsuite>
5664
</testsuites>
5765

src/SplitIO/Component/Cache/Item.php

Lines changed: 0 additions & 174 deletions
This file was deleted.

0 commit comments

Comments
 (0)