[php-src] PR #19940: tree-wide: Clean up interaction with `bool` values
| From: | TimWolla | Date: | Tue, 23 Sep 2025 21:43:02 +0000 |
| Subject: | [php-src] PR #19940: tree-wide: Clean up interaction with `bool` values | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33330@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19940
Author: TimWolla
As announced in https://github.com/php/php-src/pull/12652#discussion_r2271135318,
this PR replaces the use of
1 and 0 by true and
false respectively when dealing with bool.
All the changes have been made by a (series) of Coccinelle patches. Commits have been created for
each patch and extension. The commit messages include the Coccinelle patch in question. I'm
pretty confident that there are no false-positives, but it's quite possible that the patches
missed some locations where a replacement would have been possible.
This PR is not intended to be squashed to leave the commit history a little more useful.