Skip to content

Update NumberInput properties #54

Update NumberInput properties

Update NumberInput properties #54

Triggered via pull request December 19, 2023 19:01
Status Failure
Total duration 21s
Artifacts

continuous-integration.yml

on: pull_request
Coding standards
9s
Coding standards
Static analysis
12s
Static analysis
Unit tests
11s
Unit tests
Fit to window
Zoom out
Zoom in

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/