Skip to content

Commit

Permalink
Update Phan configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
kohler committed May 13, 2020
1 parent 536f49e commit d6fe995
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .phan/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
// If true, missing properties will be created when
// they are first seen. If false, we'll report an
// error message.
"allow_missing_properties" => false,
"allow_missing_properties" => true,

// Allow null to be cast as any type and for any
// type to be cast to null.
Expand Down Expand Up @@ -105,8 +105,8 @@
]
];

if (file_exists("hotcrp-config.php")) {
include("hotcrp-config.php");
if (file_exists(Config::projectPath(".phan/hotcrp-config.php"))) {
include(Config::projectPath(".phan/hotcrp-config.php"));
}

return $config;
Expand Down

0 comments on commit d6fe995

Please sign in to comment.