for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Define static methods/properties.
*/
declare(strict_types=1);
namespace KEINOS\MSTDN_TOOLS;
class ConfigStaticMethods extends ConfigConstants
{
* Checks if the URL protocol is "http:".
*
* @param string $url
* @return bool
public static function isUrlProtocolHttp(string $url): bool
$target = 'http:';
return ($target === substr($url, 0, strlen($target)));
}