Skip to content

Formula number formatting branch reported unreachable #26

@rafageist

Description

@rafageist

From PHPStan baseline: src/div.php line 5012.

Snippet:
`
if ( === null) {
...
continue;
}

if ( !== '' && is_numeric()) {
...
} else {
...
}
`

PHPStan reports if ( !== '' && is_numeric()) as unreachable. Investigate preceding logic or type inference for $format/$r.

Metadata

Metadata

Assignees

Labels

phpstanStatic analysis (PHPStan) findings

Type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions