spelling: nonexistent

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2023-03-20 23:17:02 -04:00
parent 8fe548d8e1
commit 3b173f2007
6 changed files with 6 additions and 6 deletions

View File

@ -436,7 +436,7 @@ function render_messages(array $msg, string $t): string
$to_name_e = $rr['name'];
if (is_null($rr['url'])) {
// contact-id is pointing to a non existing contact
// contact-id is pointing to a nonexistent contact
continue;
}

View File

@ -2280,7 +2280,7 @@ class Probe
]
];
} catch (Exception $e) {
// Default values for non existing targets
// Default values for nonexistent targets
$data = [
'name' => $url, 'nick' => $url, 'url' => $url, 'network' => Protocol::PHANTOM,
'photo' => DI::baseUrl() . Contact::DEFAULT_AVATAR_PHOTO

View File

@ -252,7 +252,7 @@ class Queue
{
$entries = DBA::select('inbox-entry', ['id', 'type', 'object-type', 'object-id', 'in-reply-to-id'], ["`trust` AND `wid` IS NULL"], ['order' => ['id' => true]]);
while ($entry = DBA::fetch($entries)) {
// Don't process entries of items that are answer to non existing posts
// Don't process entries of items that are answer to nonexistent posts
if (!empty($entry['in-reply-to-id']) && !Post::exists(['uri' => $entry['in-reply-to-id']])) {
continue;
}

View File

@ -31,7 +31,7 @@ class PidFile
*
* @param string $file Filename of pid file
*
* @return boolean|string PID or "false" if not existent
* @return boolean|string PID or "false" if nonexistent
*/
private static function pidFromFile(string $file)
{

View File

@ -346,7 +346,7 @@ class ConfigTest extends DatabaseTest
// without refresh
self::assertNull($this->testedConfig->get('test', 'it'));
/// beware that the cache returns '!<unset>!' and not null for a non existing value
/// beware that the cache returns '!<unset>!' and not null for a nonexistent value
self::assertNull($this->testedConfig->getCache()->get('test', 'it'));
// with default value

View File

@ -324,7 +324,7 @@ abstract class PConfigTest extends MockedTest
// without refresh
self::assertNull($this->testedConfig->get(0, 'test', 'it'));
/// beware that the cache returns '!<unset>!' and not null for a non existing value
/// beware that the cache returns '!<unset>!' and not null for a nonexistent value
self::assertNull($this->testedConfig->getCache()->get(0, 'test', 'it'));
// with default value