doc-en
doc-en copied to clipboard
Update Imagick method synopses (#4118)
The argument names were wrong for a lot of methods.
I'm not entirely sure that I know what I'm doing, but the steps I took were:
- Clone
php/doc-en,php/doc-base,php/php-srcandImagick/imagick - Manually fix the stub signature for
Imagick::newImage()like in https://github.com/Imagick/imagick/pull/674 ./php-src/build/gen_stub.php --replace-methodsynopses ./imagick/*.stub.php ./doc-en/reference/imagick/
Resolves #4118.
I also had to do some manual cleanup of trailing white space.
Could you maybe do this class by class in different PRs? As the stub changes currently also impacts how Xincludes are down in the class synopsis, so you probably need to also run ./php-src/build/gen_stub.php --replace-classsynopses ./imagick/*.stub.php ./doc-en/reference/imagick/ :)
@Girgias I'm afraid that's more time than I have available to spend on this :(
I totally understand if you don't want to merge this massive PR. You can just close it if it's too much to handle.