GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Issues (3647)

symphony/lib/interface/interface.fileresource.php (1 issue)

Labels
Severity
1
<?php
2
3
/**
4
 * @package interface
5
 */
6
/**
7
 * The `FileResource` interface defines the minimum functions required
8
 * by managers that manage Symphony's file based objects. This interface
9
 * is used by the `DatasourceManager`, `EventManager`, `EmailGatewayManager`,
10
 * `ExtensionManager`, `FieldManager` and `TextFormatterManager`.
11
 *
12
 * @since Symphony 2.3
13
 */
14
interface FileResource
15
{
16
    /**
17
     * Given a filename, return the handle. This will remove
18
     * any Symphony conventions such as `field.*.php`
19
     *
20
     * @param string $filename
21
     * @return string|boolean
22
     */
23
    public static function __getHandleFromFilename($filename);
24
25
    /**
26
     * Given a name, return the class name of that object. Symphony objects
27
     * often have conventions tied to an objects class name that prefix the
28
     * class with the type of the object. eg. field{Class}, formatter{Class}
29
     *
30
     * @param string $name
31
     * @return string|boolean
32
     */
33
    public static function __getClassName($name);
34
35
    /**
36
     * Given a name, return the path to the class of that object
37
     *
38
     * @param string $name
39
     * @return string|boolean
40
     */
41
    public static function __getClassPath($name);
42
43
    /**
44
     * Given a name, return the path to the driver of that object
45
     *
46
     * @param string $name
47
     * @return string|boolean
48
     */
49
    public static function __getDriverPath($name);
50
51
    /**
52
     * Returns an array of all the objects that this manager is responsible for.
53
     * This function is only use on the file based Managers in Symphony
54
     * such `DatasourceManager`, `EventManager`, `EmailGatewayManager`,
55
     * `ExtensionManager`, `FieldManager` and `TextformatterManager`.
56
     *
57
     * @return array
58
     */
59
    public static function listAll();
60
61
    /**
62
     * The about function returns information about a particular object
63
     * in this manager's pool. It is limited for use on objects provided by
64
     * Extensions.
65
     * The function uses the `getClassName()`, `getDriverPath()` and
66
     * `getHandleFromFilename()` functions to find the object of the Manager's
67
     * type on the filesystem.
68
     *
69
     * @param string $name
70
     *  The name of the object that has an `about()` function. This should be
71
     *  lowercase and free from any Symphony conventions. eg. `author`,
72
     *  not `field.author.php`.
73
     * @return array|boolean
74
     *  False is object doesn't exist or an associative array of information
75
     */
76
    public static function about($name);
77
78
    /**
79
     * Creates a new instance of an object by name and returns it by reference.
80
     *
81
     * @param string name
0 ignored issues
show
The type name 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...
82
     *  The name of the Object to be created. Can be used in conjunction
83
     *  with the auto discovery methods to find a class.
84
     * @return object
85
     */
86
    public static function create($name);
87
}
88