diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml
index 1cc425ab7..069a1a349 100644
--- a/.woodpecker/test.yml
+++ b/.woodpecker/test.yml
@@ -35,4 +35,4 @@ steps:
- TAG=${CI_COMMIT_TAG}
commands:
- apk add bash
- - /bin/bash -e tests/test.sh
\ No newline at end of file
+ - tests/test.sh
\ No newline at end of file
diff --git a/README.md b/README.md
index a05da8cc8..f6c474e4b 100644
--- a/README.md
+++ b/README.md
@@ -347,7 +347,7 @@ Want to add your own open-source project to this list? [Click here!](https://doc
* Convert MTProto parameters to bot API parameters: MTProtoToBotAPI
* Convert TD parameters to tdcli: tdToTdcli
* Convert TD to MTProto parameters: tdToMTProto
- * Convert a message and a set of entities to HTML: entitiesToHtml
+ * Convert a message and a set of entities to HTML: entitiesToHtml
* Convert a supergroup to a gigagroup, when requested by channel suggestions: channels.convertToGigagroup
* Convert bot API channel ID to MTProto channel ID: fromSupergroup
* Convert bot API parameters to MTProto parameters: botAPIToMTProto
diff --git a/composer.json b/composer.json
index 7e568e8cc..5af9811f0 100644
--- a/composer.json
+++ b/composer.json
@@ -71,7 +71,6 @@
"bamarni/composer-bin-plugin": "1.8.2",
"symfony/yaml": "^6.0",
"amphp/http-server": "^3",
- "leproxy/leproxy": "^0.2.2",
"revolt/event-loop-adapter-react": "^1",
"dg/bypass-finals": "dev-master"
},
diff --git a/src/EventHandler/Media.php b/src/EventHandler/Media.php
index eedddedda..3e73e01b8 100644
--- a/src/EventHandler/Media.php
+++ b/src/EventHandler/Media.php
@@ -112,7 +112,7 @@ abstract class Media extends IpcCapable implements JsonSerializable
/**
* Get a readable amp stream with the file contents.
*
- * @param ?(callable(float, float, float): void) $cb Progress callback
+ * @param (callable(float, float, float): void)|null $cb Progress callback
*/
public function getStream(?callable $cb = null, int $offset = 0, int $end = -1): ReadableStream
{
diff --git a/src/Stream/ConnectionContext.php b/src/Stream/ConnectionContext.php
index f4aaba4c2..943936a93 100644
--- a/src/Stream/ConnectionContext.php
+++ b/src/Stream/ConnectionContext.php
@@ -298,7 +298,6 @@ final class ConnectionContext
/**
* Get the inputClientProxy proxy MTProto object.
*
- * @return array
*/
public function getInputClientProxy(): array|null
{
diff --git a/tests/test.sh b/tests/test.sh
index df716e989..bb522674a 100755
--- a/tests/test.sh
+++ b/tests/test.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -ex
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php
@@ -10,3 +10,4 @@ apk add procps git unzip github-cli openssh
composer update
composer build
+if [ "$(git diff)" != "" ]; then echo "Please run composer build!"; exit 1; fi
\ No newline at end of file