Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
shochdoerfer committed Jan 8, 2022
1 parent 544d8f7 commit 6426464
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ to be able to let the magic method calls return proper types.
## Extension attributes
This PHPStan extension supports [extension attributes](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/extension_attributes/adding-attributes.html) by parsing the `extension_attributes.xml` files.

By default, all `extension_attributes.xml` recursively found in the current working directory will be taken into account.
By default, all `extension_attributes.xml` found recursively in the current working directory will be taken into account.
Current working directory means the directory in which your `phpstan.neon` file resides. If you need to change this behavior,
you can define a custom path by pointing the `magentoRoot` parameter to a different directory.

Expand All @@ -42,6 +42,8 @@ parameters:
magentoRoot: /tmp/my/other/dir
```

Currently, all Magento modules found in your project are taken into account. Disabled modules are not yet ignored!

## PHPStan rules

The following rules are available to run checks against your codebase, e.g. if your implementation adheres to the
Expand Down

0 comments on commit 6426464

Please sign in to comment.