php-sap/interfaces

View on GitHub

Showing 59 of 59 total issues

@throws annotation of __construct has suspicious interface type \phpsap\interfaces\exceptions\IInvalidArgumentException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public function __construct(array $array);
Severity: Minor
Found in src/Api/IValue.php by phan

@throws annotation of cast has suspicious interface type \phpsap\interfaces\exceptions\IArrayElementMissingException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public function cast(array $value): array;
Severity: Minor
Found in src/Api/ITable.php by phan

@throws annotation of getUser has suspicious interface type \phpsap\interfaces\exceptions\IIncompleteConfigException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public function getUser(): string;
Severity: Minor
Found in src/Config/IConfiguration.php by phan

@throws annotation of setTrace has suspicious interface type \phpsap\interfaces\exceptions\IInvalidArgumentException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public function setTrace(int $trace): IConfiguration;
Severity: Minor
Found in src/Config/IConfiguration.php by phan

@throws annotation of create has suspicious interface type \phpsap\interfaces\exceptions\IIncompleteConfigException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public static function create(string $name, array $params = null, IConfiguration $config = null, IApi $api = null): IFunction;
Severity: Minor
Found in src/IFunction.php by phan

@throws annotation of getApi has suspicious interface type \phpsap\interfaces\exceptions\IUnknownFunctionException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public function getApi(): IApi;
Severity: Minor
Found in src/IFunction.php by phan

@throws annotation of jsonDecode has suspicious interface type \phpsap\interfaces\exceptions\IInvalidArgumentException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public static function jsonDecode(string $json): IJsonSerializable;
Severity: Minor
Found in src/Util/IJsonSerializable.php by phan

@throws annotation of create has suspicious interface type \phpsap\interfaces\exceptions\IInvalidArgumentException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public static function create(string $type, string $name): IMember;
Severity: Minor
Found in src/Api/IMember.php by phan

Doc-block of $value in cast is phpdoc param type bool|float|int|string which is not a permitted replacement of the nullable param type bool|float|int|null|string declared in the signature ('?T' should be documented as 'T|null' or '?T')
Open

     * @param  float|bool|int|string  $value  The output to typecast.
Severity: Minor
Found in src/Api/IMember.php by phan

@throws annotation of cast has suspicious interface type \phpsap\interfaces\exceptions\IInvalidArgumentException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public function cast(array $value): array;
Severity: Minor
Found in src/Api/IStruct.php by phan

@throws annotation of setGwhost has suspicious interface type \phpsap\interfaces\exceptions\IInvalidArgumentException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public function setGwhost(string $gwhost): IConfigTypeA;
Severity: Minor
Found in src/Config/IConfigTypeA.php by phan

@throws annotation of setGwserv has suspicious interface type \phpsap\interfaces\exceptions\IInvalidArgumentException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public function setGwserv(string $gwserv): IConfigTypeA;
Severity: Minor
Found in src/Config/IConfigTypeA.php by phan

@throws annotation of getMshost has suspicious interface type \phpsap\interfaces\exceptions\IIncompleteConfigException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public function getMshost(): string;
Severity: Minor
Found in src/Config/IConfigTypeB.php by phan

@throws annotation of setClient has suspicious interface type \phpsap\interfaces\exceptions\IInvalidArgumentException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public function setClient(string $client): IConfiguration;
Severity: Minor
Found in src/Config/IConfiguration.php by phan

@throws annotation of setAshost has suspicious interface type \phpsap\interfaces\exceptions\IInvalidArgumentException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public function setAshost(string $ashost): IConfigTypeA;
Severity: Minor
Found in src/Config/IConfigTypeA.php by phan

@throws annotation of setParams has suspicious interface type \phpsap\interfaces\exceptions\IIncompleteConfigException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public function setParams(array $params): IFunction;
Severity: Minor
Found in src/IFunction.php by phan

@throws annotation of setParams has suspicious interface type \phpsap\interfaces\exceptions\IUnknownFunctionException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public function setParams(array $params): IFunction;
Severity: Minor
Found in src/IFunction.php by phan

@throws annotation of __construct has suspicious interface type \phpsap\interfaces\exceptions\IInvalidArgumentException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public function __construct(array $array);
Severity: Minor
Found in src/Api/ITable.php by phan

@throws annotation of getApi has suspicious interface type \phpsap\interfaces\exceptions\IIncompleteConfigException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public function getApi(): IApi;
Severity: Minor
Found in src/IFunction.php by phan
Severity
Category
Status
Source
Language