Showing 12 of 21 total issues
Method createElementDataMapping
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function createElementDataMapping(ReflectionProperty|ReflectionMethod $reflected): ElementDataMapping
{
$attribute = $reflected->getAttributes(AsXmlElement::class, ReflectionAttribute::IS_INSTANCEOF)[0];
/** @return array|Collection<int, mixed>|Xmlifiable|Stringable|null */
Expected an indentation at 4 instead of at 2. Open
Open
</coverage>
- Exclude checks
Expected an indentation at 8 instead of at 9. Open
Open
bootstrap="vendor/autoload.php"
- Exclude checks
Expected an indentation at 8 instead of at 9. Open
Open
colors="true"
- Exclude checks
Expected an indentation at 8 instead of at 6. Open
Open
<directory>./tests</directory>
- Exclude checks
Expected an indentation at 8 instead of at 6. Open
Open
<directory suffix=".php">./src</directory>
- Exclude checks
Expected an indentation at 4 instead of at 2. Open
Open
</testsuites>
- Exclude checks
Expected an indentation at 8 instead of at 9. Open
Open
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd"
- Exclude checks
TODO found Confirmed
Confirmed
// TODO: if the parent has a namespace, add that namespace to childs
- Exclude checks
Expected an indentation at 4 instead of at 2. Open
Open
<testsuites>
- Exclude checks
Expected an indentation at 4 instead of at 2. Open
Open
<coverage>
- Exclude checks
Expected an indentation at 8 instead of at 9. Open
Open
cacheDirectory=".phpunit.cache"
- Exclude checks