Making PHPStan happy

This commit is contained in:
Pavel Shevaev 2023-08-16 14:06:31 +03:00
parent 62567e2d40
commit 7c47baa66b
2 changed files with 4 additions and 3 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
tags

View File

@ -252,9 +252,9 @@ function build_mono($src_spec, $out_file, $ref_dlls = array(), $mcs_opts = "")
foreach($sources as $src) foreach($sources as $src)
{ {
if(is_win()) if(is_win())
$sources_str .= '"'.normalize_path($src, !is_win()).'" '; $sources_str .= '"'.normalize_path($src).'" ';
else else
$sources_str .= '\''.normalize_path($src, !is_win()).'\' '; $sources_str .= '\''.normalize_path($src).'\' ';
} }
$deps = $sources; $deps = $sources;
@ -300,7 +300,7 @@ function run_mono($exe_file)
if(is_win()) if(is_win())
{ {
$unity_dir = "$app_dir/Editor/Data"; $unity_dir = "$app_dir/Editor/Data";
$mono_bin = '"' . normalize_path("$unity_dir/Mono/bin/mono", !is_win()) . '"'; $mono_bin = '"' . normalize_path("$unity_dir/Mono/bin/mono") . '"';
} }
else else
{ {