8000 Fix typos · phpredis/phpredis@37c5f8d · GitHub
[go: up one dir, main page]

Skip to content

Commit 37c5f8d

Browse files
szepeviktormichael-grunder
authored andcommitted
Fix typos
1 parent 9b90c03 commit 37c5f8d

16 files changed

+110
-110
lines changed

CHANGELOG.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ and PhpRedis adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
597597

598598
### Removed
599599

600-
- Remove unused macroses
600+
- Remove unused macros
601601
[831d6118](https://github.com/phpredis/phpredis/commit/831d6118)
602602
([Pavlo Yatsukhnenko](https://github.com/yatsukhnenko))
603603

@@ -1495,7 +1495,7 @@ serializers, soft deprecation of non-Redis commands.
14951495

14961496
## [4.3.0] - 2019-03-13 ([GitHub](https://github.com/phpredis/phpredis/releases/tag/4.3.0), [PECL](https://pecl.php.net/package/redis/4.3.0))
14971497

1498-
This is probably the last release with PHP 5 suport!!!
1498+
This is probably the last release with PHP 5 support!!!
14991499

15001500
### Added
15011501

@@ -1566,7 +1566,7 @@ The main feature of this release is new Streams API implemented by
15661566
### Changed
15671567

15681568
- Optimize close method [2a1ef961](https://www.github.com/phpredis/phpredis/commit/2a1ef961) ([yulonghu](https://github.com/yulonghu))
1569< 8000 code>-
- Use a ZSET insted of SET for EVAL tests [2e412373](https://www.github.com/phpredis/phpredis/commit/2e412373) ([Michael Grunder](https://github.com/michael-grunder))
1569+
- Use a ZSET instead of SET for EVAL tests [2e412373](https://www.github.com/phpredis/phpredis/commit/2e412373) ([Michael Grunder](https://github.com/michael-grunder))
15701570
- Modify session testing logic [bfd27471](https://www.github.com/phpredis/phpredis/commit/bfd27471) ([Michael Grunder](https://github.com/michael-grunder))
15711571
- Documentation improvements ([@michael-grunder](https://github.com/michael-grunder), [@elcheco](https://github.com/elcheco), [@lucascourot](https://github.com/lucascourot), [@nolimitdev](https://github.com/nolimitdev),
15721572
[Michael Grunder](https://github.com/michael-grunder))
@@ -1618,7 +1618,7 @@ The main feature of this release is new Streams API implemented by
16181618
- Add tcp_keepalive option to redis sock [68c58513](https://www.github.com/phpredis/phpredis/commit/68c58513), [5101172a](https://www.github.com/phpredis/phpredis/commit/5101172a), [010336d5](https://www.github.com/phpredis/phpredis/commit/010336d5),
16191619
[51e48729](https://www.github.com/phpredis/phpredis/commit/51e48729) ([@git-hulk](https://github.com/git-hulk), [Michael Grunder](https://github.com/michael-grunder))
16201620
- More robust GEORADIUS COUNT validation [f7edee5d](https://www.github.com/phpredis/phpredis/commit/f7edee5d) ([Michael Grunder](https://github.com/michael-grunder))
1621-
- Allow to use empty string as persistant_id [ec4fd1bd](https://www.github.com/phpredis/phpredis/commit/ec4fd1bd) ([Pavlo Yatsukhnenko](https://github.com/yatsukhnenko))
1621+
- Allow to use empty string as persistent_id [ec4fd1bd](https://www.github.com/phpredis/phpredis/commit/ec4fd1bd) ([Pavlo Yatsukhnenko](https://github.com/yatsukhnenko))
16221622
- Documentation improvements ([Michael Grunder](https://github.com/michael-grunder), [@TomA-R](https://github.com/TomA-R))
16231623

16241624
### Fixed
@@ -1641,7 +1641,7 @@ This is interim release which contains only bug fixes.
16411641
- Fix segfault when extending Redis class in PHP 5 [d23eff](https://www.github.com/phpredis/phpredis/commit/d23eff) ([Pavlo Yatsukhnenko](https://github.com/yatsukhnenko))
16421642
- Fix RedisCluster constructor with PHP 7 strict scalar type [5c21d7](https://www.github.com/phpredis/phpredis/commit/5c21d7)
16431643
([Pavlo Yatsukhnenko](https://github.com/yatsukhnenko))
1644-
- Allow to use empty string as persistant_id [344de5](https://www.github.com/phpredis/phpredis/commit/344de5) ([Pavlo Yatsukhnenko](https://github.com/yatsukhnenko))
1644+
- Allow to use empty string as persistent_id [344de5](https://www.github.com/phpredis/phpredis/commit/344de5) ([Pavlo Yatsukhnenko](https://github.com/yatsukhnenko))
16451645
- Fix cluster_init_seeds. [db1347](https://www.github.com/phpredis/phpredis/commit/db1347) ([@adlagares](https://github.com/adlagares))
16461646
- Fix z_seeds may be a reference [42581a](https://www.github.com/phpredis/phpredis/commit/42581a) ([@janic716](https://github.com/janic716))
16471647
- PHP >=7.3 uses zend_string for php_url elements [b566fb](https://www.github.com/phpredis/phpredis/commit/b566fb) ([@fmk](https://github.com/fmk))
@@ -1701,9 +1701,9 @@ to the api, listed below.
17011701

17021702
This release contains two big improvements:
17031703

1704-
1. Adding a new printf like command construction function with additionaly
1704+
1. Adding a new printf like command construction function with additionally
17051705
format specifiers specific to phpredis.
1706-
2. Implementation of custom objects for Redis and RedisArray wich eliminates
1706+
2. Implementation of custom objects for Redis and RedisArray which eliminates
17071707
double hash lookup.
17081708

17091709
Also many small improvements and bug fixes were made.
@@ -1783,7 +1783,7 @@ the php 5 and 7 codebase into a single branch.
17831783
- wrong size. ([@remicollet](https://github.com/remicollet))
17841784
-
17851785
- Added php session unit test ([@yatsukhnenko](https://github.com/weltling))
1786-
- Added explicit module dependancy for igbinary ([@remicollet](https://github.com/remicollet))
1786+
- Added explicit module dependency for igbinary ([@remicollet](https://github.com/remicollet))
17871787
- Added phpinfo serialization information ([@remicollet](https://github.com/remicollet))
17881788

17891789
---
@@ -1886,7 +1886,7 @@ than 7.
18861886
- Fixed memory leak in discard function [17b1f427](https://www.github.com/phpredis/phpredis/commit/17b1f427)
18871887
- Sanity check for igbinary unserialization
18881888
[3266b222](https://www.github.com/phpredis/phpredis/commit/3266b222), [528297a](https://www.github.com/phpredis/phpredis/commit/528297a) ([Maurus Cuelenaere](https://github.com/mcuelenaere)).
1889-
- Fix segfault occuring from unclosed socket connection for Redis Cluster
1889+
- Fix segfault occurring from unclosed socket connection for Redis Cluster
18901890
[04196aee](https://www.github.com/phpredis/phpredis/commit/04196aee) ([CatKang](https://github.com/CatKang))
18911891
- Case insensitive zRangeByScore options
18921892
- Fixed dreaded size_t vs long long compiler warning

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ _**Description**_: Sends a string to Redis, which replies with the same string
460460
1. [Backoff algorithms](#backoff-algorithms)
461461

462462
### Maximum retries
463-
You can set and get the maximum retries upon connection issues using the `OPT_MAX_RETRIES` option. Note that this is the number of _retries_, meaning if you set this option to _n_, there will be a maximum _n+1_ attemps overall. Defaults to 10.
463+
You can set and get the maximum retries upon connection issues using the `OPT_MAX_RETRIES` option. Note that this is the number of _retries_, meaning if you set this option to _n_, there will be a maximum _n+1_ attempts overall. Defaults to 10.
464464

465465
##### *Example*< E41A /span>
466466

@@ -511,7 +511,7 @@ $redis->setOption(Redis::OPT_BACKOFF_CAP, 750); // backoff time capped at 750ms
511511
_**Description**_: Execute the Redis ACL command.
512512

513513
##### *Parameters*
514-
_variable_: Minumum of one argument for `Redis` and two for `RedisCluster`.
514+
_variable_: Minimum of one argument for `Redis` and two for `RedisCluster`.
515515

516516
##### *Example*
517517
~~~php

cluster_library.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ void cluster_dist_add_val(redisCluster *c, clusterKeyVal *kv, zval *z_val
450450
// Serialize our value
451451
val_free = redis_pack(c->flags, z_val, &val, &val_len);
452452

453-
// Attach it to the provied keyval entry
453+
// Attach it to the provided keyval entry
454454
kv->val = val;
455455
kv->val_len = val_len;
456456
kv->val_free = val_free;
@@ -468,7 +468,7 @@ void cluster_multi_add(clusterMultiCmd *mc, char *data, int data_len) {
468468
redis_cmd_append_sstr(&(mc->args), data, data_len);
469469
}
470470

471-
/* Finalize a clusterMutliCmd by constructing the whole thing */
471+
/* Finalize a clusterMultiCmd by constructing the whole thing */
472472
void cluster_multi_fini(clusterMultiCmd *mc) {
473473
mc->cmd.len = 0;
474474
redis_cmd_init_sstr(&(mc->cmd), mc->argc, mc->kw, mc->kw_len);
@@ -709,7 +709,7 @@ static int cluster_map_slots(redisCluster *c, clusterReply *r) {
709709
master = cluster_node_create(c, host, hlen, port, low, 0);
710710
zend_hash_str_update_ptr(c->nodes, key, klen, master);
711711

712-
// Attach slaves first time we encounter a given master in order to avoid regitering the slaves multiple times
712+
// Attach slaves first time we encounter a given master in order to avoid registering the slaves multiple times
713713
for (j = 3; j< r2->elements; j++) {
714714
r3 = r2->element[j];
715715
if (!VALIDATE_SLOTS_INNER(r3)) {
@@ -1151,7 +1151,7 @@ static int cluster_set_redirection(redisCluster* c, char *msg, int moved)
11511151
* redirection, parsing out slot host and port so the caller can take
11521152
* appropriate action.
11531153
*
1154-
* In the case of a non MOVED/ASK error, we wlll set our cluster error
1154+
* In the case of a non MOVED/ASK error, we will set our cluster error
11551155
* condition so GetLastError can be queried by the client.
11561156
*
11571157
* This function will return -1 on a critical error (e.g. parse/communication

cluster_library.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
mc->args.len = 0; \
117117
mc->argc = 0; \
118118

119-
/* Initialzie a clusterMultiCmd with a keyword and length */
119+
/* Initialize a clusterMultiCmd with a keyword and length */
120120
#define CLUSTER_MULTI_INIT(mc, keyword, keyword_len) \
121121
mc.kw = keyword; \
122122
mc.kw_len = keyword_len; \

0 commit comments

Comments
 (0)
0