gdbots/pbjc-php

View on GitHub
tests/JsonValidatorTest.php

Summary

Maintainability
A
1 hr
Test Coverage

Method getSchemas has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function getSchemas()
    {
        return [
            [
                'data' => __DIR__ . '/Fixtures/json-schema/article.json',
Severity: Minor
Found in tests/JsonValidatorTest.php - About 1 hr to fix

    Line exceeds 120 characters; contains 128 characters
    Open

                                'pattern' => '^pbj:([a-z0-9-]+):([a-z0-9\\.-]+):([a-z0-9-]+)?:([a-z0-9-]+):([0-9]+-[0-9]+-[0-9]+)$',
    Severity: Minor
    Found in tests/JsonValidatorTest.php by phpcodesniffer

    There are no issues that match your filters.

    Category
    Status