Release HEAD - Update secret schema

This commit is contained in:
Github Actions 2022-10-08 15:24:08 +00:00
parent 1a240ee378
commit 7073062692
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
0a37281fb5a672dd4d0ec5f74f56c724ba7d20e0-71

View File

@ -1 +1 @@
fcded0a0eb4189883b99a0dedf34112e49e539e3-72
0a37281fb5a672dd4d0ec5f74f56c724ba7d20e0-72

View File

@ -1 +1 @@
fcded0a0eb4189883b99a0dedf34112e49e539e3-73
0a37281fb5a672dd4d0ec5f74f56c724ba7d20e0-73

View File

@ -1 +1 @@
fcded0a0eb4189883b99a0dedf34112e49e539e3-74
0a37281fb5a672dd4d0ec5f74f56c724ba7d20e0-74

View File

@ -1 +1 @@
fcded0a0eb4189883b99a0dedf34112e49e539e3-80
0a37281fb5a672dd4d0ec5f74f56c724ba7d20e0-80

View File

@ -1 +1 @@
fcded0a0eb4189883b99a0dedf34112e49e539e3-81
0a37281fb5a672dd4d0ec5f74f56c724ba7d20e0-81