Skip to content

Catch \Throwable instead of \Exception #819

Catch \Throwable instead of \Exception

Catch \Throwable instead of \Exception #819

Triggered via pull request June 10, 2024 12:45
Status Failure
Total duration 45s
Artifacts

php.yml

on: pull_request
Matrix: lint
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

24 errors and 12 warnings
Static analysis for php 7.2 on ubuntu-latest: src/FormElement/BaseFormElement.php#L196
Parameter #1 $validators of method ipl\Validator\ValidatorChain::addValidators() expects Traversable<int|string, mixed>, iterable given.
Static analysis for php 7.2 on ubuntu-latest: src/FormElement/BaseFormElement.php#L210
Parameter #1 $validators of method ipl\Validator\ValidatorChain::addValidators() expects Traversable<int|string, mixed>, iterable given.
Static analysis for php 7.2 on ubuntu-latest: src/FormElement/BaseFormElement.php#L378
Ignored error pattern #^Cannot access offset 'name' on mixed\.$# in path /app/src/FormElement/BaseFormElement.php is expected to occur 2 times, but occurred only 1 time.
Static analysis for php 7.2 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 7.3 on ubuntu-latest: src/FormElement/BaseFormElement.php#L196
Parameter #1 $validators of method ipl\Validator\ValidatorChain::addValidators() expects Traversable<int|string, mixed>, iterable given.
Static analysis for php 7.3 on ubuntu-latest: src/FormElement/BaseFormElement.php#L210
Parameter #1 $validators of method ipl\Validator\ValidatorChain::addValidators() expects Traversable<int|string, mixed>, iterable given.
Static analysis for php 7.3 on ubuntu-latest: src/FormElement/BaseFormElement.php#L378
Ignored error pattern #^Cannot access offset 'name' on mixed\.$# in path /app/src/FormElement/BaseFormElement.php is expected to occur 2 times, but occurred only 1 time.
Static analysis for php 7.3 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.0 on ubuntu-latest: src/FormElement/BaseFormElement.php#L196
Parameter #1 $validators of method ipl\Validator\ValidatorChain::addValidators() expects Traversable<int|string, mixed>, iterable given.
Static analysis for php 8.0 on ubuntu-latest: src/FormElement/BaseFormElement.php#L210
Parameter #1 $validators of method ipl\Validator\ValidatorChain::addValidators() expects Traversable<int|string, mixed>, iterable given.
Static analysis for php 8.0 on ubuntu-latest: src/FormElement/BaseFormElement.php#L378
Ignored error pattern #^Cannot access offset 'name' on mixed\.$# in path /app/src/FormElement/BaseFormElement.php is expected to occur 2 times, but occurred only 1 time.
Static analysis for php 8.0 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.2 on ubuntu-latest: src/FormElement/BaseFormElement.php#L196
Parameter #1 $validators of method ipl\Validator\ValidatorChain::addValidators() expects Traversable<int|string, mixed>, iterable given.
Static analysis for php 8.2 on ubuntu-latest: src/FormElement/BaseFormElement.php#L210
Parameter #1 $validators of method ipl\Validator\ValidatorChain::addValidators() expects Traversable<int|string, mixed>, iterable given.
Static analysis for php 8.2 on ubuntu-latest: src/FormElement/BaseFormElement.php#L378
Ignored error pattern #^Cannot access offset 'name' on mixed\.$# in path /app/src/FormElement/BaseFormElement.php is expected to occur 2 times, but occurred only 1 time.
Static analysis for php 8.2 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 7.4 on ubuntu-latest: src/FormElement/BaseFormElement.php#L196
Parameter #1 $validators of method ipl\Validator\ValidatorChain::addValidators() expects Traversable<int|string, mixed>, iterable given.
Static analysis for php 7.4 on ubuntu-latest: src/FormElement/BaseFormElement.php#L210
Parameter #1 $validators of method ipl\Validator\ValidatorChain::addValidators() expects Traversable<int|string, mixed>, iterable given.
Static analysis for php 7.4 on ubuntu-latest: src/FormElement/BaseFormElement.php#L378
Ignored error pattern #^Cannot access offset 'name' on mixed\.$# in path /app/src/FormElement/BaseFormElement.php is expected to occur 2 times, but occurred only 1 time.
Static analysis for php 7.4 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.1 on ubuntu-latest: src/FormElement/BaseFormElement.php#L196
Parameter #1 $validators of method ipl\Validator\ValidatorChain::addValidators() expects Traversable<int|string, mixed>, iterable given.
Static analysis for php 8.1 on ubuntu-latest: src/FormElement/BaseFormElement.php#L210
Parameter #1 $validators of method ipl\Validator\ValidatorChain::addValidators() expects Traversable<int|string, mixed>, iterable given.
Static analysis for php 8.1 on ubuntu-latest: src/FormElement/BaseFormElement.php#L378
Ignored error pattern #^Cannot access offset 'name' on mixed\.$# in path /app/src/FormElement/BaseFormElement.php is expected to occur 2 times, but occurred only 1 time.
Static analysis for php 8.1 on ubuntu-latest
Process completed with exit code 1.
Unit tests with php 8.0 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests with php 7.3 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests with php 7.4 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests with php 7.2 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests with php 8.1 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests with php 8.2 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis for php 7.2 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis for php 7.3 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis for php 8.0 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis for php 8.2 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis for php 7.4 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis for php 8.1 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.