Skip to content

Commit 8a575e9

Browse files
committed
docs: simplify README by removing badges and development section
- Remove Packagist badges (not yet published) - Remove development section (composer scripts info) - Keep README focused on usage and API reference
1 parent 7c4b5ba commit 8a575e9

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

README.md

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# PHP Result
22

3-
[![Latest Stable Version](https://poser.pugx.org/valbeat/result/v)](https://packagist.org/packages/valbeat/result)
4-
[![License](https://poser.pugx.org/valbeat/result/license)](https://packagist.org/packages/valbeat/result)
5-
[![PHP Version Require](https://poser.pugx.org/valbeat/result/require/php)](https://packagist.org/packages/valbeat/result)
6-
73
A Result type implementation for PHP inspired by Rust's `Result<T, E>` type.
84

95
This library provides a robust way to handle operations that might fail, without relying on exceptions. It encourages explicit error handling and makes it impossible to accidentally ignore errors.
@@ -152,23 +148,6 @@ All Result types (both Ok and Err) implement these methods:
152148
#### Pattern Matching
153149
- `match(callable $okFn, callable $errFn): mixed` - Pattern match on the Result
154150

155-
## Development
156-
157-
### Running Tests
158-
```bash
159-
composer test
160-
```
161-
162-
### Static Analysis
163-
```bash
164-
composer phpstan
165-
```
166-
167-
### Run All Checks
168-
```bash
169-
composer check
170-
```
171-
172151
## License
173152

174153
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

0 commit comments

Comments
 (0)