A replacement
object represents the replacement of a single region of an artifact.
=== ":simple-uml: Graph"
![replacement object](../assets/images/reference-replacement.graphviz.svg)
=== ":octicons-file-code-16: sarif.json"
> [!TIP]
>
> Generated with following command : `php ./resources/serialize.php fix docs/assets/sarif 192`
```json title="docs/assets/sarif/fix.json"
--8<-- "docs/assets/sarif/fix.json"
```
=== ":simple-php: Simple API"
```php title="examples/fix.php"
--8<-- "examples/fix.php"
```
=== ":simple-php: Fluent Builder API"
> [!NOTE]
> This alternative API is available since release 1.5.0
```php title="examples/builder/fix.php"
--8<-- "examples/builder/fix.php"
```