Resolve "Implicit string to int conversion" notice
commit997c2dfc6a2b3d2d9b071155e5436801fded128d
authorMichael O'Farrell <michaelofarrell@fb.com>
Wed, 12 May 2021 20:37:59 +0000 (12 13:37 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 12 May 2021 20:39:26 +0000 (12 13:39 -0700)
treefbe6fb1a2bfb37280e324a61db2120678ec5a92a
parentdf9c3ed59255ef62f0c2bcf71a67654572cec1e2
Resolve "Implicit string to int conversion" notice

Summary:
Fix notices emitted during test run, and others.  This is probably better to be
done by specifying types of CLI options, and casting them during load.   For
now just cast things when they look like they have an integer use.

Reviewed By: colavitam

Differential Revision: D28389997

fbshipit-source-id: 64a4f753ad8e71c4ca1a70d55457c37b25e645fa
hphp/test/run.php