---
title: "analyse/classes/missing-parent-constructor-call"
pagination: false
---

{/* Generated by scripts/gen-rule-docs.py. Edit mapping.toml, not this file. */}

<RuleId id="analyse/classes/missing-parent-constructor-call" />

In the [`analyse-strict`](/docs/rules/presets/analyse-strict) preset and every stricter one. Report only. Upstream gates: `strictRules.requireParentConstructorCall`.

## Configuration

```toml title="pun.toml"
[analyse.rules]
"classes/missing-parent-constructor-call" = "on"
```

To skip it in some files or lines, add an [ignore comment](/docs/configuration/ignore-comments).

## Replaces

- [`RequireParentConstructCallRule`](https://github.com/phpstan/phpstan-strict-rules#readme) (phpstan-classes)
- [`constructor.missingParentCall`](https://phpstan.org/error-identifiers/constructor.missingParentCall) (phpstan-strict-rules)

[More analyse/classes rules](/docs/rules/analyse/classes) · [Edit this page](https://github.com/shipfastlabs/pun/edit/main/crates/pun-config/rules/mapping.toml)
