Skip to content

Do not throw exception on unsupported smart content provider #284

Do not throw exception on unsupported smart content provider

Do not throw exception on unsupported smart content provider #284

Triggered via pull request July 24, 2024 13:18
Status Failure
Total duration 1m 47s
Artifacts

test-application.yaml

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

Annotations

3 errors
PHP Lint: Content/ContentTypeResolver/SmartContentResolver.php#L90
Parameter #2 $view of class Sulu\Bundle\HeadlessBundle\Content\ContentView constructor expects array, mixed given.
PHP Lint: Tests/Unit/Content/ContentTypeResolver/SmartContentResolverTest.php#L280
You should use assertNull() instead of assertSame(null, $actual).
PHP Lint
Process completed with exit code 1.