Describe the bug
It appears zend.assertions is set to 0 or -1 by default with setup-php.
As you can see on this build I messed up because I didn't have assertions enabled locally so I didn't realize I had broken assertions, and when I pushed only some builds failed, which was even weirder.
Per https://www.php.net/manual/en/function.assert.php you can see the recommended development value is 1.
Version
Runners
Operating systems
ALL
PHP versions
7+
To Reproduce
<?php assert(false);
Expected behavior
It should throw but it doesn't on php7+
Screenshots/Logs
https://github.com/Seldaek/jsonlint/runs/5788312601
Additional context
Are you willing to submit a PR?
Describe the bug
It appears zend.assertions is set to 0 or -1 by default with setup-php.
As you can see on this build I messed up because I didn't have assertions enabled locally so I didn't realize I had broken assertions, and when I pushed only some builds failed, which was even weirder.
Per https://www.php.net/manual/en/function.assert.php you can see the recommended development value is
1.Version
v1orv2.v2v1Runners
Operating systems
ALL
PHP versions
7+
To Reproduce
<?php assert(false);Expected behavior
It should throw but it doesn't on php7+
Screenshots/Logs
https://github.com/Seldaek/jsonlint/runs/5788312601
Additional context
Are you willing to submit a PR?