packbackbooks/lti-1-3-php-library

View on GitHub
phpstan.neon

Summary

Maintainability
Test Coverage
parameters:
    level: 5
    paths:
        - src
        - tests

    ignoreErrors:
        -
            message: "#^Call to an undefined method Packback\\\\Lti1p3\\\\Interfaces\\\\IDatabase\\:\\:[a-zA-Z0-9]+\\(\\)\\.$#"
            count: 3
            path: src/LtiMessageLaunch.php

        -
            message: "#Call to an undefined method Mockery\\\\#"
            paths:
                - tests/*

        -
            message: "# Mockery\\\\(Legacy)*MockInterface given\\.$#"
            paths:
                - tests/*

        -
            message: "#^Result of static method Packback\\\\Lti1p3\\\\MessageValidators\\\\[A-Za-z]+MessageValidator\\:\\:validate\\(\\) \\(void\\) is used\\.$#"
            path: tests/MessageValidators/*