Re: [PHP-DEV] Refactoring run-tests.php

2020-06-07 Thread Derick Rethans
On Sun, 7 Jun 2020, Max Semenik wrote: > On Fri, Jun 5, 2020 at 8:04 PM Nikita Popov wrote: > > > Happy to accept run-tests refactorings in general (there is a lot of > > global state to eradicate!), but please keep it single-file. We > > definitely need it single-file for distribution purpose

Re: [PHP-DEV] Refactoring run-tests.php

2020-06-06 Thread Max Semenik
On Fri, Jun 5, 2020 at 7:52 PM Sara Golemon wrote: > This is a perennial topic and I don't want to discourage you,BUT... > run-tests.php has a disturbing number of modes and edgecases, and the > preference has traditionally been for small movements which are easily > understandable individually.

Re: [PHP-DEV] Refactoring run-tests.php

2020-06-05 Thread Nikita Popov
On Fri, Jun 5, 2020 at 5:42 PM Max Semenik wrote: > I was thinking about making some improvements to our venerable test runner, > however I wasn't feeling confident about improving the present code base. > Instead, I decided to attempt to refactor it. > > Here's my work in progress: https://gith

Re: [PHP-DEV] Refactoring run-tests.php

2020-06-05 Thread Sara Golemon
On Fri, Jun 5, 2020 at 10:42 AM Max Semenik wrote: > I was thinking about making some improvements to our venerable test runner, > however I wasn't feeling confident about improving the present code base. > Instead, I decided to attempt to refactor it. > > This is a perennial topic and I don't wa

[PHP-DEV] Refactoring run-tests.php

2020-06-05 Thread Max Semenik
I was thinking about making some improvements to our venerable test runner, however I wasn't feeling confident about improving the present code base. Instead, I decided to attempt to refactor it. Here's my work in progress: https://github.com/MaxSem/run-tests It requires Composer only for develo