Skip to content

fix(database): nullable belongsto relations #2575

fix(database): nullable belongsto relations

fix(database): nullable belongsto relations #2575

Triggered via pull request September 25, 2025 05:13
Status Failure
Total duration 47s
Artifacts

coding-conventions.yml

on: pull_request
Run style check
27s
Run style check
Run static analysis: PHPStan
42s
Run static analysis: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

1 error, 3 warnings, and 10 notices
Run style check
Process completed with exit code 1.
require-preg-quote-delimiter: packages/support/src/Str/functions.php#L66
Missing delimiter argument in `preg_quote()` call Without delimiter, regex chars may not be properly escaped Help: Add delimiter: `preg_quote($str, '/')`
unfulfilled-expect: packages/console/src/Components/Renderers/TextInputRenderer.php#L43
This pragma was not used and may be removed.
unfulfilled-expect: packages/view/src/Elements/PhpDataElement.php#L45
This pragma was not used and may be removed.
yoda-conditions: packages/view/src/Attributes/ExpressionAttribute.php#L65
Use Yoda condition style for safer comparisons Yoda conditions help prevent accidental assignment bugs where `=` is used instead of `==` Help: Move constant/literal to left: `5 === $count`
yoda-conditions: packages/view/src/Attributes/ExpressionAttribute.php#L30
Use Yoda condition style for safer comparisons Yoda conditions help prevent accidental assignment bugs where `=` is used instead of `==` Help: Move constant/literal to left: `5 === $count`
yoda-conditions: packages/view/src/Attributes/ExpressionAttribute.php#L30
Use Yoda condition style for safer comparisons Yoda conditions help prevent accidental assignment bugs where `=` is used instead of `==` Help: Move constant/literal to left: `5 === $count`
yoda-conditions: packages/core/src/functions.php#L69
Use Yoda condition style for safer comparisons Yoda conditions help prevent accidental assignment bugs where `=` is used instead of `==` Help: Move constant/literal to left: `5 === $count`
yoda-conditions: packages/view/src/ViewCache.php#L34
Use Yoda condition style for safer comparisons Yoda conditions help prevent accidental assignment bugs where `=` is used instead of `==` Help: Move constant/literal to left: `5 === $count`
yoda-conditions: packages/support/src/Html/functions.php#L184
Use Yoda condition style for safer comparisons Yoda conditions help prevent accidental assignment bugs where `=` is used instead of `==` Help: Move constant/literal to left: `5 === $count`
yoda-conditions: tests/Integration/Process/ProcessTesterAssertRanTest.php#L96
Use Yoda condition style for safer comparisons Yoda conditions help prevent accidental assignment bugs where `=` is used instead of `==` Help: Move constant/literal to left: `5 === $count`
yoda-conditions: tests/Integration/Process/ProcessTesterAssertRanTest.php#L72
Use Yoda condition style for safer comparisons Yoda conditions help prevent accidental assignment bugs where `=` is used instead of `==` Help: Move constant/literal to left: `5 === $count`
yoda-conditions: tests/Integration/Process/ProcessTesterAssertRanTest.php#L55
Use Yoda condition style for safer comparisons Yoda conditions help prevent accidental assignment bugs where `=` is used instead of `==` Help: Move constant/literal to left: `5 === $count`
yoda-conditions: tests/Integration/Process/ProcessTesterAssertRanTest.php#L33
Use Yoda condition style for safer comparisons Yoda conditions help prevent accidental assignment bugs where `=` is used instead of `==` Help: Move constant/literal to left: `5 === $count`