Release HEAD - CI build

This commit is contained in:
Github Actions 2022-10-08 17:23:09 +00:00
parent c9247e6be9
commit 6acd54e02c
7 changed files with 10 additions and 10 deletions

View File

@ -3,11 +3,11 @@
namespace danog\MadelineProto;
if (\defined('MADELINE_PHP')) {
throw new \Exception('Please do not include madeline.php twice!');
throw new \Exception('Please do not include madeline.php twice, use require_once \'madeline.php\';!');
}
if (!\defined('MADELINE_ALLOW_COMPOSER') && \class_exists(\Composer\Autoload\ClassLoader::class)) {
throw new \Exception('Composer autoloader detected: madeline.php is incompatible with Composer, please require MadelineProto using composer.');
throw new \Exception('Composer autoloader detected: madeline.php is incompatible with Composer, please require \'danog/madelineproto:^7\' using composer.');
}
\define('MADELINE_PHP', __FILE__);
@ -41,10 +41,10 @@ class Installer
public function __construct()
{
if ((PHP_MAJOR_VERSION === 7 && PHP_MINOR_VERSION < 1) || PHP_MAJOR_VERSION < 7) {
throw new \Exception('MadelineProto requires at least PHP 7.1 to run');
throw new \Exception('MadelineProto requires at least PHP 7.1 to run, PHP 8.1+ is recommended.');
}
if (PHP_INT_SIZE < 8) {
throw new \Exception('A 64-bit build of PHP is required to run MadelineProto, PHP 8.0+ recommended.');
throw new \Exception('A 64-bit build of PHP is required to run MadelineProto, PHP 8.1+ recommended.');
}
$backtrace = \debug_backtrace(0);
if (\count($backtrace) === 1) {

View File

@ -1 +1 @@
fcded0a0eb4189883b99a0dedf34112e49e539e3-71
eb48fe6da562b03f22e5277e82ecb0971321c821-71

View File

@ -1 +1 @@
fcded0a0eb4189883b99a0dedf34112e49e539e3-72
eb48fe6da562b03f22e5277e82ecb0971321c821-72

View File

@ -1 +1 @@
fcded0a0eb4189883b99a0dedf34112e49e539e3-73
eb48fe6da562b03f22e5277e82ecb0971321c821-73

View File

@ -1 +1 @@
fcded0a0eb4189883b99a0dedf34112e49e539e3-74
eb48fe6da562b03f22e5277e82ecb0971321c821-74

View File

@ -1 +1 @@
fcded0a0eb4189883b99a0dedf34112e49e539e3-80
eb48fe6da562b03f22e5277e82ecb0971321c821-80

View File

@ -1 +1 @@
fcded0a0eb4189883b99a0dedf34112e49e539e3-81
eb48fe6da562b03f22e5277e82ecb0971321c821-81