Skip to content

chore: set proper return types #153

chore: set proper return types

chore: set proper return types #153

Status Failure
Total duration 47s
Artifacts

php-static-analysis.yml

on: pull_request
PHP static analysis
34s
PHP static analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHP static analysis: src/Comment.php#L137
Unsafe usage of new static().
PHP static analysis: src/MenuItem.php#L125
PHPDoc tag @return with type Timber\MenuItem is not subtype of native type static(Timber\MenuItem).
PHP static analysis: src/MenuItem.php#L127
Unsafe usage of new static().
PHP static analysis: src/MenuItem.php#L143
Access to an undefined property WP_Post::$title.
PHP static analysis: src/Post.php#L178
PHPDoc tag @return with type Timber\Post is not subtype of native type static(Timber\Post).
PHP static analysis: src/Post.php#L180
Unsafe usage of new static().
PHP static analysis: src/Term.php#L86
PHPDoc tag @return with type Timber\Term is not subtype of native type static(Timber\Term).
PHP static analysis: src/Term.php#L88
Unsafe usage of new static().
PHP static analysis: src/User.php#L111
Unsafe usage of new static().
PHP static analysis: src/User.php#L231
Access to an undefined property Timber\User::$display_name.