From c9247e6be92d2350ed082effaf934e61742c40b9 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sat, 8 Oct 2022 18:52:19 +0200 Subject: [PATCH] revert "Release HEAD - Update secret schema" This reverts commit 707306269234dc8490ceb0c76dc8c9857fdc18ea. --- phar.php | 8 ++++---- release71 | 2 +- release72 | 2 +- release73 | 2 +- release74 | 2 +- release80 | 2 +- release81 | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/phar.php b/phar.php index dbbc17a..283a466 100644 --- a/phar.php +++ b/phar.php @@ -3,11 +3,11 @@ namespace danog\MadelineProto; if (\defined('MADELINE_PHP')) { - throw new \Exception('Please do not include madeline.php twice, use require_once \'madeline.php\';!'); + throw new \Exception('Please do not include madeline.php twice!'); } 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 \'danog/madelineproto:^7\' using composer.'); + throw new \Exception('Composer autoloader detected: madeline.php is incompatible with Composer, please require MadelineProto 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, PHP 8.1+ is recommended.'); + throw new \Exception('MadelineProto requires at least PHP 7.1 to run'); } if (PHP_INT_SIZE < 8) { - throw new \Exception('A 64-bit build of PHP is required to run MadelineProto, PHP 8.1+ recommended.'); + throw new \Exception('A 64-bit build of PHP is required to run MadelineProto, PHP 8.0+ recommended.'); } $backtrace = \debug_backtrace(0); if (\count($backtrace) === 1) { diff --git a/release71 b/release71 index 052cffa..15e6c7f 100644 --- a/release71 +++ b/release71 @@ -1 +1 @@ -0a37281fb5a672dd4d0ec5f74f56c724ba7d20e0-71 \ No newline at end of file +fcded0a0eb4189883b99a0dedf34112e49e539e3-71 \ No newline at end of file diff --git a/release72 b/release72 index 299eacc..589bda4 100644 --- a/release72 +++ b/release72 @@ -1 +1 @@ -0a37281fb5a672dd4d0ec5f74f56c724ba7d20e0-72 \ No newline at end of file +fcded0a0eb4189883b99a0dedf34112e49e539e3-72 \ No newline at end of file diff --git a/release73 b/release73 index 4dd3420..3fb314c 100644 --- a/release73 +++ b/release73 @@ -1 +1 @@ -0a37281fb5a672dd4d0ec5f74f56c724ba7d20e0-73 \ No newline at end of file +fcded0a0eb4189883b99a0dedf34112e49e539e3-73 \ No newline at end of file diff --git a/release74 b/release74 index ab244f0..5e6e50d 100644 --- a/release74 +++ b/release74 @@ -1 +1 @@ -0a37281fb5a672dd4d0ec5f74f56c724ba7d20e0-74 \ No newline at end of file +fcded0a0eb4189883b99a0dedf34112e49e539e3-74 \ No newline at end of file diff --git a/release80 b/release80 index 6107a02..d83d45b 100644 --- a/release80 +++ b/release80 @@ -1 +1 @@ -0a37281fb5a672dd4d0ec5f74f56c724ba7d20e0-80 \ No newline at end of file +fcded0a0eb4189883b99a0dedf34112e49e539e3-80 \ No newline at end of file diff --git a/release81 b/release81 index 08ccccd..42f7a66 100644 --- a/release81 +++ b/release81 @@ -1 +1 @@ -0a37281fb5a672dd4d0ec5f74f56c724ba7d20e0-81 \ No newline at end of file +fcded0a0eb4189883b99a0dedf34112e49e539e3-81 \ No newline at end of file