spelling: nonexistent
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
8fe548d8e1
commit
3b173f2007
|
@ -436,7 +436,7 @@ function render_messages(array $msg, string $t): string
|
||||||
$to_name_e = $rr['name'];
|
$to_name_e = $rr['name'];
|
||||||
|
|
||||||
if (is_null($rr['url'])) {
|
if (is_null($rr['url'])) {
|
||||||
// contact-id is pointing to a non existing contact
|
// contact-id is pointing to a nonexistent contact
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2280,7 +2280,7 @@ class Probe
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
// Default values for non existing targets
|
// Default values for nonexistent targets
|
||||||
$data = [
|
$data = [
|
||||||
'name' => $url, 'nick' => $url, 'url' => $url, 'network' => Protocol::PHANTOM,
|
'name' => $url, 'nick' => $url, 'url' => $url, 'network' => Protocol::PHANTOM,
|
||||||
'photo' => DI::baseUrl() . Contact::DEFAULT_AVATAR_PHOTO
|
'photo' => DI::baseUrl() . Contact::DEFAULT_AVATAR_PHOTO
|
||||||
|
|
|
@ -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]]);
|
$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)) {
|
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']])) {
|
if (!empty($entry['in-reply-to-id']) && !Post::exists(['uri' => $entry['in-reply-to-id']])) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,7 +31,7 @@ class PidFile
|
||||||
*
|
*
|
||||||
* @param string $file Filename of pid file
|
* @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)
|
private static function pidFromFile(string $file)
|
||||||
{
|
{
|
||||||
|
|
|
@ -346,7 +346,7 @@ class ConfigTest extends DatabaseTest
|
||||||
// without refresh
|
// without refresh
|
||||||
self::assertNull($this->testedConfig->get('test', 'it'));
|
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'));
|
self::assertNull($this->testedConfig->getCache()->get('test', 'it'));
|
||||||
|
|
||||||
// with default value
|
// with default value
|
||||||
|
|
|
@ -324,7 +324,7 @@ abstract class PConfigTest extends MockedTest
|
||||||
// without refresh
|
// without refresh
|
||||||
self::assertNull($this->testedConfig->get(0, 'test', 'it'));
|
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'));
|
self::assertNull($this->testedConfig->getCache()->get(0, 'test', 'it'));
|
||||||
|
|
||||||
// with default value
|
// with default value
|
||||||
|
|
Loading…
Reference in New Issue
Block a user