Text_Password static or non-static?
[email protected] (Michael Gauthier) Sat, 30 Jan 2016 18:28:59 -0400
| Newsgroups | php.pear.dev,php.pear.general |
|---|---|
| Message-ID | <[email protected]> |
I'm making a PR to update the Text_Password package to explicitly state static methods so it works properly in PHP 7. While updating, I noticed the documentation and internal code seems to be written assuming the API is entirely static but the unit tests are written assuming the API uses class instances. For example, the docs say to use: Text_Password::create(); but the unit tests use: $subject = new Text_Password(); $subject->create(); My question to the list is does anyone besides the unit tests use the non-static API for Text_Password? Cheers, Mike