Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ includes:
- tests/phpstan/baselines/booleanAnd.rightAlwaysTrue.neon
- tests/phpstan/baselines/booleanNot.alwaysFalse.neon
- tests/phpstan/baselines/booleanNot.alwaysTrue.neon
- tests/phpstan/baselines/booleanOr.alwaysFalse.neon
- tests/phpstan/baselines/booleanOr.alwaysTrue.neon
- tests/phpstan/baselines/class.notFound.neon
- tests/phpstan/baselines/deadCode.unreachable.neon
Expand Down
4 changes: 2 additions & 2 deletions src/wp-includes/class-wp-http-cookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class WP_Http_Cookie {
*
* @since 2.8.0
*
* @var string
* @var string|null
*/
public $name;

Expand All @@ -35,7 +35,7 @@ class WP_Http_Cookie {
*
* @since 2.8.0
*
* @var string
* @var string|null
*/
public $value;

Expand Down
25 changes: 0 additions & 25 deletions tests/phpstan/baselines/booleanOr.alwaysFalse.neon

This file was deleted.

10 changes: 0 additions & 10 deletions tests/phpstan/baselines/isset.property.neon
Original file line number Diff line number Diff line change
Expand Up @@ -118,16 +118,6 @@ parameters:
identifier: isset.property
count: 1
path: ../../../src/wp-includes/class-wp-http-cookie.php
-
message: '#^Property WP_Http_Cookie\:\:\$name \(string\) in isset\(\) is not nullable\.$#'
identifier: isset.property
count: 1
path: ../../../src/wp-includes/class-wp-http-cookie.php
-
message: '#^Property WP_Http_Cookie\:\:\$value \(string\) in isset\(\) is not nullable\.$#'
identifier: isset.property
count: 1
path: ../../../src/wp-includes/class-wp-http-cookie.php
-
message: '#^Property WP_Post\:\:\$ID \(int\<0, max\>\) in isset\(\) is not nullable\.$#'
identifier: isset.property
Expand Down
Loading