jkphl/micrometa

View on GitHub
src/Micrometa/Tests/Infrastructure/ProfiledNameFactoryTest.php

Summary

Maintainability
A
1 hr
Test Coverage

Method getProfiledNames has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function getProfiledNames()
    {
        $schemaOrgProfile = 'http://schema.org/';
        $feedObject       = (object)['name' => 'h-feed', 'profile' => MicroformatsFactory::MF2_PROFILE_URI];
        $eventObject      = (object)['name' => 'Event', 'profile' => $schemaOrgProfile];
Severity: Minor
Found in src/Micrometa/Tests/Infrastructure/ProfiledNameFactoryTest.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status