Fix some comment typos

Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
This commit is contained in:
Maximilian Krög 2023-03-16 21:18:05 +01:00
parent f6aaa5359e
commit 79ab3dfe11
No known key found for this signature in database
GPG Key ID: 3C00897BB53AAB9C
8 changed files with 11 additions and 11 deletions

View File

@ -598,11 +598,11 @@ final class Server
/**
* Maximum number of records saved in $cfg['Servers'][$i]['table_uiprefs'] table.
*
* In case where tables in databases is modified (e.g. dropped or renamed),
* table_uiprefs may contains invalid data (referring to tables which are not
* In case where tables in databases are modified (e.g. dropped or renamed),
* table_uiprefs may contains invalid data (referring to tables which do not
* exist anymore).
* This configuration make sure that we only keep N (N = MaxTableUiprefs)
* newest record in table_uiprefs and automatically delete older records.
* This configuration makes sure that we only keep N (N = MaxTableUiprefs)
* newest records in table_uiprefs and automatically delete older records.
*
* ```php
* $cfg['Servers'][$i]['MaxTableUiprefs'] = 100;

View File

@ -1169,7 +1169,7 @@ class Qbe
// Candidates restricted in index+where
} else {
$candidateColumns = $stillGood;
// None of the candidates where in a where-clause
// None of the candidates were in a where-clause
}
return $candidateColumns;

View File

@ -1671,7 +1671,7 @@ class InsertEdit
// when in UPDATE mode, do not alter field's contents. When in INSERT
// mode, insert empty field because no values were submitted.
// If protected blobs where set, insert original fields content.
// If protected blobs were set, insert original field's content.
if ($protectedValue !== '') {
return '0x' . bin2hex($protectedValue);
}

View File

@ -2459,7 +2459,7 @@ class Privileges
}
$sqlQuery = '';
// Some reports where sent to the error reporting server with phpMyAdmin 5.1.0
// Some reports were sent to the error reporting server with phpMyAdmin 5.1.0
// pred_username was reported to be not defined
$predUsername = $_POST['pred_username'] ?? '';
if ($predUsername === 'any') {

View File

@ -343,7 +343,7 @@ for filePath in ${FILE_LIST}; do
done
if [ ${found} -gt 0 ]; then
echo 'Some new files to be excluded where found.'
echo 'Some new files to be excluded were found.'
echo 'Please update create-release.sh'
exit 1
else

View File

@ -615,7 +615,7 @@ for kit in $KITS ; do
rm -r templates/test/
rm phpunit.xml.* build.xml
rm .editorconfig .browserslistrc .eslintignore .jshintrc .eslintrc.json .stylelintrc.json psalm.xml psalm-baseline.xml phpstan.neon.dist phpstan-baseline.neon phpcs.xml.dist jest.config.cjs infection.json.dist
# Gettext po files (if they where not removed by ./scripts/lang-cleanup.sh)
# Gettext po files (if they were not removed by ./scripts/lang-cleanup.sh)
rm -rf po
# Documentation source code
mv doc/html htmldoc

View File

@ -41,7 +41,7 @@ class ImportControllerTest extends AbstractTestCase
parent::loadResponseIntoContainerBuilder();
// Some params where not added as they where not required for this test
// Some params were not added as they are not required for this test
$GLOBALS['db'] = 'pma_test';
$GLOBALS['table'] = 'table1';
$GLOBALS['sql_query'] = 'SELECT A.*' . "\n"

View File

@ -135,7 +135,7 @@ abstract class TestBase extends TestCase
$this->webDriver->manage()->window()->maximize();
if (! static::$createDatabase) {
// Stop here, we where not asked to create a database
// Stop here, we were not asked to create a database
return;
}