1
0
Fork 0
mirror of https://github.com/shufflingpixels/php-io.git synced 2026-10-17 05:26:46 +02:00

Initial commit

This commit is contained in:
Henrik Hautakoski 2026-04-22 06:56:10 +02:00
commit c677cfccd4
23 changed files with 5553 additions and 0 deletions

View file

@ -0,0 +1,9 @@
<?php
use Shufflingpixels\IO\Exception\EndOfStreamException;
use Shufflingpixels\IO\Exception\IOException;
it('keeps the exception hierarchy stable', function () {
expect(new IOException('io'))->toBeInstanceOf(Exception::class)
->and(new EndOfStreamException('eos'))->toBeInstanceOf(IOException::class);
});