php-sap/interfaces

View on GitHub

Showing 59 of 59 total issues

Line exceeds 120 characters; contains 130 characters
Open

     * @param  array<string, string|bool|array<int, array<string, string>>> $array  Array containing the properties of this class.
Severity: Minor
Found in src//Api/IStruct.php by phpcodesniffer

Line exceeds 120 characters; contains 130 characters
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 phpcodesniffer

Line exceeds 120 characters; contains 131 characters
Open

     * @param  array<string, string|bool|array<int, array<string, string>>>  $array  Array containing the properties of this class.
Severity: Minor
Found in src//Api/ITable.php by phpcodesniffer

@throws annotation of setDest 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 setDest(string $dest): IConfiguration;
Severity: Minor
Found in src/Config/IConfiguration.php by phan

@throws annotation of create has suspicious interface type \phpsap\interfaces\exceptions\IConnectionFailedException 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 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(null|bool|int|float|string $value): null|bool|int|float|string|DateTime|DateInterval;
Severity: Minor
Found in src/Api/IValue.php by phan

@throws annotation of setSaprouter 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 setSaprouter(string $saprouter): IConfiguration;
Severity: Minor
Found in src/Config/IConfiguration.php by phan

@throws annotation of extractApi 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 extractApi(): IApi;
Severity: Minor
Found in src/IFunction.php by phan

@throws annotation of setParams 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 setParams(array $params): IFunction;
Severity: Minor
Found in src/IFunction.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 value to typecast.
Severity: Minor
Found in src/Api/IValue.php by phan

@throws annotation of setPasswd 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 setPasswd(string $passwd): IConfiguration;
Severity: Minor
Found in src/Config/IConfiguration.php by phan

@throws annotation of getClient 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 getClient(): string;
Severity: Minor
Found in src/Config/IConfiguration.php by phan

@throws annotation of setLang 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 setLang(string $lang): IConfiguration;
Severity: Minor
Found in src/Config/IConfiguration.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, string $direction, bool $isOptional): IValue;
Severity: Minor
Found in src/Api/IValue.php by phan

@throws annotation of setR3name 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 setR3name(string $r3name): IConfigTypeB;
Severity: Minor
Found in src/Config/IConfigTypeB.php by phan

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

    public function invoke(): array;
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/IMember.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 $name, string $direction, bool $isOptional, array $members): IStruct;
Severity: Minor
Found in src/Api/IStruct.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 $name, string $direction, bool $isOptional, array $members): ITable;
Severity: Minor
Found in src/Api/ITable.php by phan

@throws annotation of setSysnr 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 setSysnr(string $sysnr): IConfigTypeA;
Severity: Minor
Found in src/Config/IConfigTypeA.php by phan
Severity
Category
Status
Source
Language