Skip to content

Commit 54d92a8

Browse files
szepeviktorondrejmirtes
authored andcommitted
Fix various typos
1 parent 8a409ca commit 54d92a8

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.devcontainer/library-scripts/node-debian.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if [ "$(id -u)" -ne 0 ]; then
1818
exit 1
1919
fi
2020

21-
# Treat a user name of "none" or non-existant user as root
21+
# Treat a user name of "none" or non-existent user as root
2222
if [ "${USERNAME}" = "none" ] || ! id -u ${USERNAME} > /dev/null 2>&1; then
2323
USERNAME=root
2424
fi

build/PHPStan/Build/RectorCache.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,11 @@ private function findFiles(): array
125125
// dead symlink
126126
return \false;
127127
}
128-
// make the path work accross different OSes
128+
// make the path work across different OSes
129129
$realPath = \str_replace('\\', '/', $realPath);
130130
// return false to remove file
131131
foreach (self::SKIP_PATHS as $excludePath) {
132-
// make the path work accross different OSes
132+
// make the path work across different OSes
133133
$excludePath = \str_replace('\\', '/', $excludePath);
134134
if (Strings::match($realPath, '#' . \preg_quote($excludePath, '#') . '#') !== null) {
135135
return \false;

src/Command/WorkerCommand.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ protected function execute(InputInterface $input, OutputInterface $output): int
122122

123123
$analysedFiles = array_fill_keys($analysedFiles, true);
124124

125-
$tcpConector = new TcpConnector($loop);
126-
$tcpConector->connect(sprintf('127.0.0.1:%d', $port))->done(function (ConnectionInterface $connection) use ($container, $identifier, $output, $analysedFiles): void {
125+
$tcpConnector = new TcpConnector($loop);
126+
$tcpConnector->connect(sprintf('127.0.0.1:%d', $port))->done(function (ConnectionInterface $connection) use ($container, $identifier, $output, $analysedFiles): void {
127127
// phpcs:disable SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly
128128
$jsonInvalidUtf8Ignore = defined('JSON_INVALID_UTF8_IGNORE') ? JSON_INVALID_UTF8_IGNORE : 0;
129129
// phpcs:enable

src/Type/Php/StrCaseFunctionsReturnTypeExtension.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class StrCaseFunctionsReturnTypeExtension implements DynamicFunctionReturnTypeEx
2626
{
2727

2828
/**
29-
* [funtion name => minimun arity]
29+
* [function name => minimum arity]
3030
*/
3131
private const FUNCTIONS = [
3232
'strtoupper' => 1,

0 commit comments

Comments
 (0)