From 6da86d4400c95e3e71e11db94a2a7a4658be8e3e Mon Sep 17 00:00:00 2001 From: DevSviat Date: Sat, 24 Oct 2026 16:23:32 +0300 Subject: [PATCH] =?UTF-8?q?chore:=20Rector=20=E2=80=94=20=D1=81=D0=B8?= =?UTF-8?q?=D0=BD=D1=82=D0=B0=D0=BA=D1=81=D0=B8=D1=87=D0=BD=D1=96=20=D0=BF?= =?UTF-8?q?=D1=80=D0=B0=D0=B2=D0=B8=D0=BB=D0=B0;=20=D0=B2=D0=B5=D1=80?= =?UTF-8?q?=D1=81=D1=96=D1=8F=201.0.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ті самі 19 правил, що в ядрі форку (rector.php): array() → [], list() → [], isset() ? : → ??, стрілкові функції, intval(...) замість \x27intval\x27, new X()->m(), типи private-констант, catch без невикористаної змінної. Сигнатур, видимості й типів властивостей не міняє. --- Init/Init.php | 2 +- Init/module.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Init/Init.php b/Init/Init.php index a91fbae..39e09e0 100644 --- a/Init/Init.php +++ b/Init/Init.php @@ -16,7 +16,7 @@ public function install(): void $this->migrateEntityField( OrdersEntity::class, - (new EntityField('dont_call'))->setTypeTinyInt(1)->setDefault(0) + new EntityField('dont_call')->setTypeTinyInt(1)->setDefault(0) ); } diff --git a/Init/module.json b/Init/module.json index 7a728b0..b2a9ba5 100644 --- a/Init/module.json +++ b/Init/module.json @@ -1,6 +1,6 @@ { "Okay": "4.5.3", - "version": "1.0.2", + "version": "1.0.3", "moduleName": "Do not call to confirm", "vendor": { "email": "devsviat@proton.me",