php-sdk/phpstan.dist.neon
Oskar Stark a5f9d5647d
Fix typos in documentation and configuration files (#25)
- Fix grammar in doc/index.rst: "There two types" → "There are two types"
- Fix grammar in doc/index.rst: "if non of" → "if none of"
- Fix grammar in phpstan.dist.neon: "This errors" → "These errors"
- Fix grammar in examples/09-standalone-cli/README.md: "test add" → "test by adding"
- Fix sentence structure in examples/README.md for better readability

Signed-off-by: Oskar Stark <oskarstark@googlemail.com>
2025-09-04 23:25:49 +02:00

22 lines
658 B
Text

includes:
- phpstan-baseline.neon
parameters:
level: 6
paths:
- examples/
- src/
- tests/
excludePaths:
- examples/cli/vendor/* (?)
- tests/Capability/Discovery/Fixtures/
- tests/Capability/Discovery/SchemaGeneratorFixture.php
treatPhpDocTypesAsCertain: false
ignoreErrors:
-
message: "#^Method .*::test.*\\(\\) has no return type specified\\.$#"
# These errors should actually be fixed, but are ignored for now
-
identifier: missingType.iterableValue
path: src/Capability/Discovery/SchemaGenerator.php
count: 12