Issues (114)

src/Contracts/Entities/ComposerContract.php (1 issue)

Labels
Severity
1
<?php
2
3
namespace Maestriam\Samurai\Contracts\Entities;
4
5
use Maestriam\Samurai\Entities\Theme;
6
use Maestriam\Samurai\Entities\Composer;
7
8
interface ComposerContract
9
{
10
    /**
11
     * Instância com as regras de negócio sobre composer.json
12
     *
13
     * @param Vendor $vendor
0 ignored issues
show
The type Maestriam\Samurai\Contracts\Entities\Vendor 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
     * @param string $desc
15
     */
16
    public function __construct(Theme $theme, string $desc = null);
17
18
    /**
19
     * Retorna/Define a descrição do tema 
20
     * Se passar uma string como parâmetro, assume a função de definição
21
     *
22
     * @param  string $desc
23
     * @return string|Composer
24
     */
25
    public function description(string $desc = null) : string|Composer;
26
}
27