Passed
Push — v1 ( ec44c1...8d7e7a )
by Andrew
22:13 queued 15:20
created

src/variables/RichVariablesVariable.php (2 issues)

Labels
Severity
1
<?php
2
/**
3
 * Rich Variables plugin for Craft CMS 3.x
4
 *
5
 * Allows you to easily use Craft Globals as variables in Rich Text fields
6
 *
7
 * @link      https://nystudio107.com
8
 * @copyright Copyright (c) 2017 nystudio107
9
 */
10
11
namespace nystudio107\richvariables\variables;
12
13
use nystudio107\pluginvite\variables\ViteVariableInterface;
0 ignored issues
show
The type nystudio107\pluginvite\v...s\ViteVariableInterface was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
14
use nystudio107\pluginvite\variables\ViteVariableTrait;
0 ignored issues
show
The type nystudio107\pluginvite\variables\ViteVariableTrait was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
15
16
/**
17
 * @author    nystudio107
18
 * @package   RichVariables
19
 * @since     1.0.0
20
 */
21
class RichVariablesVariable implements ViteVariableInterface
22
{
23
    use ViteVariableTrait;
24
25
    // Public Methods
26
    // =========================================================================
27
}
28