aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-31 16:29:36 +0900
committernsfisis <nsfisis@gmail.com>2024-08-31 16:29:48 +0900
commit487509c913cd4e8255ceb4f6bb19c3abea511789 (patch)
treee1860ab80c7ac1e672b317c85cacbd5718e9581b /src
parent699f6ef036ed8eb01c1b4fb386464fabf5fa9443 (diff)
downloadphp-waddiwasi-487509c913cd4e8255ceb4f6bb19c3abea511789.tar.gz
php-waddiwasi-487509c913cd4e8255ceb4f6bb19c3abea511789.tar.zst
php-waddiwasi-487509c913cd4e8255ceb4f6bb19c3abea511789.zip
chore: format
Diffstat (limited to 'src')
-rw-r--r--src/Stream/BlobStream.php1
-rw-r--r--src/Stream/FileStream.php1
-rw-r--r--src/WebAssembly/BinaryFormat/Decoder.php1
-rw-r--r--src/WebAssembly/Execution/MemInst.php1
4 files changed, 4 insertions, 0 deletions
diff --git a/src/Stream/BlobStream.php b/src/Stream/BlobStream.php
index 972b8f6..3f8004b 100644
--- a/src/Stream/BlobStream.php
+++ b/src/Stream/BlobStream.php
@@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Stream;
use function assert;
use function ord;
+use function sprintf;
use function strlen;
use function substr;
diff --git a/src/Stream/FileStream.php b/src/Stream/FileStream.php
index cb5b519..308f617 100644
--- a/src/Stream/FileStream.php
+++ b/src/Stream/FileStream.php
@@ -10,6 +10,7 @@ use function fclose;
use function fopen;
use function fread;
use function ord;
+use function sprintf;
use function strlen;
final class FileStream implements StreamInterface
diff --git a/src/WebAssembly/BinaryFormat/Decoder.php b/src/WebAssembly/BinaryFormat/Decoder.php
index 09d5a14..2e59df4 100644
--- a/src/WebAssembly/BinaryFormat/Decoder.php
+++ b/src/WebAssembly/BinaryFormat/Decoder.php
@@ -42,6 +42,7 @@ use function in_array;
use function is_float;
use function is_int;
use function ord;
+use function sprintf;
final class Decoder
{
diff --git a/src/WebAssembly/Execution/MemInst.php b/src/WebAssembly/Execution/MemInst.php
index 802f334..deaa6ba 100644
--- a/src/WebAssembly/Execution/MemInst.php
+++ b/src/WebAssembly/Execution/MemInst.php
@@ -10,6 +10,7 @@ use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\Limits;
use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\MemType;
use function assert;
use function count;
+use function sprintf;
final class MemInst
{