Skip to content

Forms: Add unique IDs when multiple instances. #82044

Forms: Add unique IDs when multiple instances.

Forms: Add unique IDs when multiple instances. #82044

Triggered via pull request January 15, 2025 20:32
Status Failure
Total duration 9m 25s
Artifacts 1

tests.yml

on: pull_request
Determine tests matrix
8s
Determine tests matrix
Storybook tests
3m 10s
Storybook tests
Check plugin monorepo dep versions
36s
Check plugin monorepo dep versions
Static analysis
4m 41s
Static analysis
Matrix: run-tests
Publish coverage data
1m 7s
Publish coverage data
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 19 warnings
Static analysis: projects/packages/forms/src/contact-form/class-contact-form.php#L122
TypeError PhanTypePossiblyInvalidDimOffset Possibly invalid offset 'id' of $attributes of array type array{id?:int|string,block_template?:mixed|null,widget?:null,block_template_part?:mixed|null}|non-empty-array<mixed,mixed>
Static analysis: projects/packages/forms/tests/php/contact-form/test-class.contact-form.php#L104
TypeError PhanTypeMismatchPropertyProbablyReal Assigning null of type null to property but \Automattic\Jetpack\Forms\ContactForm\Contact_Form::$last is \Automattic\Jetpack\Forms\ContactForm\Contact_Form (no real type) (the inferred real assigned type has nothing in common with the declared phpdoc property type)
Static analysis: projects/packages/forms/tests/php/contact-form/test-class.contact-form.php#L105
TypeError PhanTypeMismatchPropertyProbablyReal Assigning null of type null to property but \Automattic\Jetpack\Forms\ContactForm\Contact_Form::$current_form is \Automattic\Jetpack\Forms\ContactForm\Contact_Form (no real type) (the inferred real assigned type has nothing in common with the declared phpdoc property type)
Static analysis
Process completed with exit code 1.
Determine tests matrix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check plugin monorepo dep versions
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
JS tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP tests: PHP 7.4 WP latest with WooCommerce
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Storybook tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP tests: PHP 8.3 WP latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP tests: PHP 8.2 WP latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP tests: PHP 7.3 WP latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP tests: PHP 8.4 WP latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP tests: PHP 8.0 WP latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP tests: PHP 7.4 WP latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP tests: PHP 8.1 WP latest with wpcomsh
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP tests: PHP 8.2 WP previous
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Static analysis
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP tests: PHP 8.1 WP latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP tests: PHP 7.2 WP latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP tests: PHP 8.2 WP trunk
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Code coverage
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Publish coverage data
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
Code coverage
3.78 MB