Update NumberInput properties #54
Annotations
10 errors and 3 warnings
Static analysis:
src/Elements/NumberInput.php#L32
Constructor of class SlackPhp\BlockKit\Elements\NumberInput has an unused parameter $allowDecimal.
|
Static analysis:
src/Elements/NumberInput.php#L43
Undefined variable: $decimalAllowed
|
Static analysis:
src/Kit.php#L374
Parameter $placeholder of method SlackPhp\BlockKit\Kit::numberInput() has invalid type SlackPhp\BlockKit\PlainText.
|
Static analysis:
src/Kit.php#L376
Parameter $dispatchActionConfig of method SlackPhp\BlockKit\Kit::numberInput() has invalid type SlackPhp\BlockKit\DispatchActionConfig.
|
Static analysis:
src/Kit.php#L378
Class SlackPhp\BlockKit\Elements\NumberInput constructor invoked with 9 parameters, 0-8 required.
|
Static analysis:
src/Kit.php#L378
Parameter #7 $focusOnLoad of class SlackPhp\BlockKit\Elements\NumberInput constructor expects bool|null, SlackPhp\BlockKit\PlainText|string|null given.
|
Static analysis:
src/Kit.php#L378
Parameter #8 $dispatchActionConfig of class SlackPhp\BlockKit\Elements\NumberInput constructor expects SlackPhp\BlockKit\Parts\DispatchActionConfig|null, bool|null given.
|
Static analysis:
src/Kit.php#L378
Undefined variable: $maxLength
|
Static analysis
Process completed with exit code 1.
|
Unit tests
Process completed with exit code 2.
|
Coding standards
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Static analysis
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Unit tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|