Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,6 @@ echo stringify(['foo' => true, 'bar' => 42, 'baz' => ['qux' => INF, 'quux' => nu
echo stringify(tmpfile()) . PHP_EOL;
// `resource <stream>`

echo stringify(BasicEnumeration::FOO) . PHP_EOL;
// `BasicEnumeration::FOO`

echo stringify(BackedEnumeration::QUX) . PHP_EOL;
// `BackedEnumeration::QUX`

echo stringify(new WithProperties()) . PHP_EOL;
// `WithProperties { +$publicProperty=true #$protectedProperty=42 -$privateProperty="something" }`

Expand Down Expand Up @@ -136,9 +130,6 @@ echo stringify(new RuntimeException()) . PHP_EOL;

echo stringify(new InvalidArgumentException('This is the exception message')) . PHP_EOL;
// `InvalidArgumentException { "This is the exception message" in file.php:112 }`

echo stringify(Traversable::class) . PHP_EOL;
// `Traversable`
```

To see more examples of how to use the library check the [integration tests](tests/integration).
Expand Down
1 change: 0 additions & 1 deletion src/Handlers/CompositeHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ public static function create(): self
new ResourceHandler($quoter),
new BoolHandler($quoter),
new NullHandler($quoter),
new DeclaredHandler($quoter),
$jsonEncodableHandler = new JsonEncodableHandler(),
);
$handler->prependHandler(
Expand Down
42 changes: 0 additions & 42 deletions src/Handlers/DeclaredHandler.php

This file was deleted.

21 changes: 0 additions & 21 deletions tests/integration/stringify-declared.phpt

This file was deleted.

61 changes: 0 additions & 61 deletions tests/unit/Handlers/DeclaredHandlerTest.php

This file was deleted.