Skip to content

Commit 70c64ec

Browse files
authored
Fixed spelling error and build failure (#250)
* Fixed spelling error and build failure * Adding more words to the list
1 parent 65bc0e6 commit 70c64ec

File tree

5 files changed

+17
-8
lines changed

5 files changed

+17
-8
lines changed

integrations/symfony-bundle.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Installation
1515
Using Symfony Flex
1616
------------------
1717

18-
HttplugBundle is officialy supported by `Symfony Flex`_ and available as the ``http`` alias.
18+
HttplugBundle is officially supported by `Symfony Flex`_ and available as the ``http`` alias.
1919

2020
.. code-block:: bash
2121

integrations/symfony-full-configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ This page shows an example of all configuration values provided by the bundle.
108108
- header_append:
109109
# Keys are the header names, values the header values
110110
headers:
111-
'X-FOO': bar # contrary to default symfony behaviour, hyphens "-" are NOT translated to underscores "_" for the headers.
111+
'X-FOO': bar # contrary to default symfony behavior, hyphens "-" are NOT translated to underscores "_" for the headers.
112112
# Set header to default value if it does not exist.
113113
- header_defaults:
114114
# Keys are the header names, values the header values

plugins/cache.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ which allow you to specify what HTTP header you want include in the cache key.
107107
Controlling cache listeners
108108
```````````````````````````
109109

110-
One or more classes implementing ``CacheListener`` can be added through ``cache_listeners``. These classes recieve a
110+
One or more classes implementing ``CacheListener`` can be added through ``cache_listeners``. These classes receive a
111111
notification on whether a request was a cache hit or miss, and can optionally mutate the response based on those signals.
112112
As an example, adding the provided ``AddHeaderCacheListener`` will mutate the response, adding an ``X-Cache`` header with
113113
a value ``HIT`` or ``MISS``, which can be useful in debugging.

plugins/retry.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ code in the 5xx server error range. Since version 2.0, responses with status
88
codes in the 5xx range are also retried. Each retry attempt is delayed by an
99
exponential backoff time.
1010

11-
See below for how to configure that behaviour.
11+
See below for how to configure that behavior.
1212

1313
.. warning::
1414

@@ -32,22 +32,22 @@ Options
3232

3333
Number of retry attempts to make before giving up.
3434

35-
``error_response_decider``: callable (default behaviour: retry if status code is in 5xx range)
35+
``error_response_decider``: callable (default behavior: retry if status code is in 5xx range)
3636

3737
A callback function that receives the request and response to decide whether the
3838
request should be retried.
3939

40-
``exception_decider``: callable (default behaviour: retry if the exception is not an HttpException or status code is in 5xx range)
40+
``exception_decider``: callable (default behavior: retry if the exception is not an HttpException or status code is in 5xx range)
4141

4242
A callback function that receives a request and an exception to decide after a
4343
failure whether the request should be retried.
4444

45-
``error_response_delay``: callable (default behaviour: exponential backoff)
45+
``error_response_delay``: callable (default behavior: exponential backoff)
4646

4747
A callback that receives a request, a response, the current number of retries
4848
and returns how many microseconds we should wait before trying again.
4949

50-
``exception_delay``: callable (default behaviour: exponential backoff)
50+
``exception_delay``: callable (default behavior: exponential backoff)
5151

5252
A callback that receives a request, an exception, the current number of retries
5353
and returns how many microseconds we should wait before trying again.

spelling_word_list.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
Artax
22
async
33
auth
4+
backoff
45
backtrace
56
boolean
67
callables
78
chunked
89
cURL
910
Diactoros
11+
discoverable
1012
Elasticsearch
1113
fallback
1214
GitHub
@@ -15,24 +17,31 @@ Liskov
1517
Symfony
1618
HTTPlug
1719
Ivory
20+
instantiation
21+
integrations
22+
interoperability
1823
namespace
1924
plugin
2025
plugins
2126
matchers
27+
matcher
2228
multipart
2329
param
2430
params
2531
profiler
2632
PHP
33+
phpdoc
2734
Puli
2835
rebase
2936
Semver
3037
sexualized
3138
sublicense
3239
sync
3340
toolbar
41+
typehint
3442
username
3543
versa
44+
versionadded
3645
whitelist
3746
wiki
3847
Wikipedia

0 commit comments

Comments
 (0)