Text_Password static or non-static?

From: Date: Sat, 30 Jan 2016 22:28:59 +0000
Subject: Text_Password static or non-static?
Groups: php.pear.dev php.pear.general 
Request: Send a blank email to pear-dev+get-55494@lists.php.net to get a copy of this message
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

« previous php.pear.dev (#55494) next »