Protect: Add Threat History #72232
tests.yml
on: pull_request
Determine tests matrix
7s
Storybook tests
3m 37s
Check plugin monorepo dep versions
33s
Static analysis
5m 16s
Matrix: run-tests
Annotations
7 errors
Static analysis:
projects/plugins/protect/src/class-scan-history.php#L293
TypeError PhanTypeMismatchProperty Assigning (new Threat_Model($threat) as a field) of type non-empty-array<int,\Automattic\Jetpack\Protect\Threat_Model> to property but \Automattic\Jetpack\Protect_Models\Extension_Model->threats is \Automattic\Jetpack\Protect_Models\Threat_Model[]
|
Static analysis:
projects/plugins/protect/src/models/class-history-model.php#L61
UndefError PhanUndeclaredTypeProperty Property \Automattic\Jetpack\Protect\History_Model->core has undeclared type \Automattic\Jetpack\Protect\Extension_Model[]
|
Static analysis:
projects/plugins/protect/src/models/class-history-model.php#L68
UndefError PhanUndeclaredTypeProperty Property \Automattic\Jetpack\Protect\History_Model->themes has undeclared type \Automattic\Jetpack\Protect\Extension_Model[]
|
Static analysis:
projects/plugins/protect/src/models/class-history-model.php#L75
UndefError PhanUndeclaredTypeProperty Property \Automattic\Jetpack\Protect\History_Model->plugins has undeclared type \Automattic\Jetpack\Protect\Extension_Model[]
|
Static analysis:
projects/plugins/protect/src/models/class-history-model.php#L82
UndefError PhanUndeclaredTypeProperty Property \Automattic\Jetpack\Protect\History_Model->files has undeclared type \Automattic\Jetpack\Protect\Extension_Model[]
|
Static analysis:
projects/plugins/protect/src/models/class-history-model.php#L89
UndefError PhanUndeclaredTypeProperty Property \Automattic\Jetpack\Protect\History_Model->database has undeclared type \Automattic\Jetpack\Protect\Extension_Model[]
|
Static analysis
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
PHP tests - PHP 7.4 WP latest
Expired
|
4.46 KB |
|
PHP tests - PHP 8.0 WP latest
Expired
|
4.47 KB |
|
PHP tests - PHP 8.1 WP latest
Expired
|
4.47 KB |
|
PHP tests - PHP 8.2 WP latest
Expired
|
4.48 KB |
|
PHP tests - PHP 8.2 WP previous
Expired
|
4.5 KB |
|
PHP tests - PHP 8.2 WP trunk
Expired
|
4.49 KB |
|
PHP tests - PHP 8.3 WP latest
Expired
|
4.48 KB |
|