---
title: "analyse/classes/abstract-method-in-concrete-class"
pagination: false
---

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

<RuleId id="analyse/classes/abstract-method-in-concrete-class" />

In the [`analyse-basic`](/docs/rules/presets/analyse-basic) preset and every stricter one. Report only.

## Configuration

```toml title="pun.toml"
[analyse.rules]
"classes/abstract-method-in-concrete-class" = "on"
```

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

## Replaces

- [`AbstractMethodInNonAbstractClassRule`](https://phpstan.org/error-identifiers/method.abstract) (phpstan-classes)
- [`UnimplementedAbstractMethod`](https://mago.carthage.software/1.61.0/en/tools/analyzer/overview/) (mago-analyzer)
- [`method.abstract`](https://phpstan.org/error-identifiers/method.abstract) (phpstan)
- [`method.nonAbstract`](https://phpstan.org/error-identifiers/method.nonAbstract) (phpstan)

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