chore: set proper return types #153
php-static-analysis.yml
on: pull_request
PHP static analysis
34s
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.
|