Skip to content

Commit

Permalink
Update test in empty_statements.php to no longer use instanceof
Browse files Browse the repository at this point in the history
  • Loading branch information
fredemmott committed Jul 12, 2019
1 parent ae262a1 commit 1e8aea2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .hhconfig
Expand Up @@ -2,6 +2,7 @@ assume_php=false
enable_experimental_tc_features = no_fallback_in_namespaces, unpacking_check_arity, disallow_refs_in_array, disallow_untyped_lambda_as_non_function_type
safe_array = true
safe_vector_array = true
disable_instanceof_refinement = true
disallow_destruct = true
user_attributes=
disable_static_local_variables = true
Expand Up @@ -140,8 +140,8 @@
"description": "This statement includes an expression that has no effect"
},
{
"blame": " $a instanceof MyClass;\n",
"blame_pretty": " $a instanceof MyClass;\n",
"blame": " $a is MyClass;\n",
"blame_pretty": " $a is MyClass;\n",
"description": "This statement includes an expression that has no effect"
},
{
Expand Down

0 comments on commit 1e8aea2

Please sign in to comment.