Issues (9)

src/VinInterface.php (1 issue)

1
<?php declare(strict_types=1);
2
3
/**
4
 * It's free open-source software released under the MIT License.
5
 *
6
 * @author Anatoly Fenric <[email protected]>
7
 * @author Saud bin Mohammed <[email protected]>
8
 * @copyright Copyright (c) 2018, Anatoly Fenric
9
 * @license https://github.com/sunrise-php/vin/blob/master/LICENSE
10
 * @link https://github.com/sunrise-php/vin
11
 */
12
13
namespace Sunrise\Vin;
14
15
/**
16
 * Vehicle Identification Number
17
 *
18
 * @link https://en.wikipedia.org/wiki/Vehicle_identification_number
19
 * @link https://en.wikibooks.org/wiki/Vehicle_Identification_Numbers_(VIN_codes)
20
 */
21
interface VinInterface
22
{
23
24
    /**
25
     * Gets the VIN
26
     *
27
     * @return string
28
     */
29
    public function getVin() : string;
30
31
    /**
32
     * Gets WMI (World Manufacturer Identifier) from the VIN
33
     *
34
     * @return string
35
     */
36
    public function getWmi() : string;
37
38
    /**
39
     * Gets VDS (Vehicle Descriptor Section) from the VIN
40
     *
41
     * @return string
42
     */
43
    public function getVds() : string;
44
45
    /**
46
     * Gets VIS (Vehicle Identifier Section) from the VIN
47
     *
48
     * @return string
49
     */
50
    public function getVis() : string;
51
52
    /**
53
     * Gets a region from the VIN
54
     *
55
     * @return string|null
56
     */
57
    public function getRegion() : ?string;
58
59
    /**
60
     * Gets a country from the VIN
61
     *
62
     * @return string|null
63
     */
64
    public function getCountry() : ?string;
65
66
    /**
67
     * Gets a manufacturer from the VIN
68
     *
69
     * @return string|null
70
     */
71
    public function getManufacturer() : ?string;
72
73
    /**
74
     * Gets a model year from the VIN
75
     *
76
     * @return list<int>
0 ignored issues
show
The type Sunrise\Vin\list 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...
77
     */
78
    public function getModelYear() : array;
79
}
80