Skip to content

Commit 886bf82

Browse files
authored
[skip ci] Fix typos discovered by codespell (#12228)
1 parent 42010d4 commit 886bf82

File tree

14 files changed

+17
-17
lines changed

14 files changed

+17
-17
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@
2525
/Zend/zend_vm_handlers.h linguist-generated -diff
2626
/Zend/zend_vm_opcodes.[ch] linguist-generated -diff
2727

28-
# The OSS fuzz files are bunary
28+
# The OSS fuzz files are binary
2929
/ext/date/tests/ossfuzz*.txt binary

docs/release-process.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ volunteers to begin the selection process for the next release managers.
992992
```shell
993993
cd /path/to/repos/php/web-php
994994
git submodule update
995-
cd distributions # This is the submodule refering to web-php-distributions
995+
cd distributions # This is the submodule referring to web-php-distributions
996996
git pull origin master
997997
cd ..
998998
git add distributions

ext/mbstring/tests/data/JISX0212.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
#
5454
# However, JIS X 0212 maintains the distinction between
5555
# the lowercase forms of these two elements at 0x2942 and 0x2943.
56-
# Given the structre of these JIS encodings, it is clear that
56+
# Given the structure of these JIS encodings, it is clear that
5757
# 0x2922 and 0x2942 are intended to be a capital/small pair.
5858
# Consequently, in the Unicode mapping, 0x2922 is treated as
5959
# LATIN CAPITAL LETTER D WITH STROKE.

ext/mbstring/tests/data/KSX1001.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# (at ftp://ftp.unicode.org/Public/MAPPING/EASTASIA/KSC) which is
3030
# actually NOT the mapping between KS X 1001(KS C 5601-1992) and Unicode 2.0
3131
# BUT the mapping table between UHC (Microsoft Unified Hangul Code)
32-
# and Unicode 2.0. Hence, in this pacakge, I renamed it as UHC.TXT
32+
# and Unicode 2.0. Hence, in this package, I renamed it as UHC.TXT
3333
#
3434
# Please, note that there was a change in naming scheme of
3535
# Korean standard for information exchange.
@@ -50,7 +50,7 @@
5050
# printf ("0x%04X 0x%04X %s\n",$k-0x8080, $u,join(' ',@rest));
5151
# }
5252
#
53-
# Column #1 : KS X 1001(KS C 5601-1992 excluding addtional Hangul
53+
# Column #1 : KS X 1001(KS C 5601-1992 excluding additional Hangul
5454
# syllables defined for Johab encoding in Annex 3)
5555
# in hex as 0xXXXX
5656
# Column #2 : the Unicode (in hex as 0xXXXX)

ext/reflection/tests/bug46064.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Bug #46064 (Exception when creating ReflectionProperty object on dynamicly created property)
2+
Bug #46064 (Exception when creating ReflectionProperty object on dynamically created property)
33
--FILE--
44
<?php
55

ext/reflection/tests/bug46064_2.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Bug #46064.2 (Exception when creating ReflectionProperty object on dynamicly created property)
2+
Bug #46064.2 (Exception when creating ReflectionProperty object on dynamically created property)
33
--FILE--
44
<?php
55

ext/session/tests/user_session_module/session_set_save_handler_class_012.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class MySession extends SessionHandler {
1919
++$this->i;
2020
echo 'Open:', session_id(), "\n";
2121
// This test was written for broken return value handling
22-
// Mimmick what was actually being tested by returning true here
22+
// Mimic what was actually being tested by returning true here
2323
return (null === parent::open());
2424
}
2525
public function read($key): string|false {

main/streams/xp_socket.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ static ssize_t php_sockop_read(php_stream *stream, char *buf, size_t count)
173173
bool dont_wait = has_buffered_data ||
174174
(sock->timeout.tv_sec == 0 && sock->timeout.tv_usec == 0);
175175
/* Set MSG_DONTWAIT if no wait is needed or there is unlimited timeout which was
176-
* added by fix for #41984 commited in 9343c5404. */
176+
* added by fix for #41984 committed in 9343c5404. */
177177
if (dont_wait || sock->timeout.tv_sec != -1) {
178178
recv_flags = MSG_DONTWAIT;
179179
}

sapi/cli/tests/php_cli_server_014.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Bug #60477: Segfault after two multipart/form-data POST requestes
2+
Bug #60477: Segfault after two multipart/form-data POST requests
33
--SKIPIF--
44
<?php
55
include "skipif.inc";

sapi/fpm/fpm/fpm_events.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ int fpm_event_init_main(void);
4343
int fpm_event_set(struct fpm_event_s *ev, int fd, int flags, void (*callback)(struct fpm_event_s *, short, void *), void *arg);
4444
int fpm_event_add(struct fpm_event_s *ev, unsigned long int timeout);
4545
int fpm_event_del(struct fpm_event_s *ev);
46-
int fpm_event_pre_init(char *machanism);
46+
int fpm_event_pre_init(char *mechanism);
4747
const char *fpm_event_mechanism_name(void);
4848
int fpm_event_support_edge_trigger(void);
4949

0 commit comments

Comments
 (0)