pear:faq
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
pear:faq [2010/08/17 02:34] – clockwerx | pear:faq [2010/08/17 03:57] – clockwerx | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== FAQ ====== | ====== FAQ ====== | ||
.. and other mailing list answers. | .. and other mailing list answers. | ||
+ | |||
+ | This page is meant to be a quick and easy scratchpad of good answers and ideas - candidates to be polished and migrated into the proper FAQs. | ||
+ | |||
+ | ===== Where' | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
+ | ===== How do I become a PEAR developer? ===== | ||
+ | http:// | ||
===== Non-PEAR, PHP package deployment through official PEAR channel? ===== | ===== Non-PEAR, PHP package deployment through official PEAR channel? ===== | ||
Line 25: | Line 34: | ||
Fixing a unit test / E_DEPRECATED problem: Let's take for example, [[pear: | Fixing a unit test / E_DEPRECATED problem: Let's take for example, [[pear: | ||
- | < | + | < |
# Check the open bugs to see if there is one already | # Check the open bugs to see if there is one already | ||
# http:// | # http:// | ||
Line 57: | Line 66: | ||
The first - the constructor of Net_DNS_RR_TXT has: | The first - the constructor of Net_DNS_RR_TXT has: | ||
- | < | + | < |
ereg(' | ereg(' | ||
</ | </ | ||
It's probably best to start with a unit test that shows the error up: | It's probably best to start with a unit test that shows the error up: | ||
- | < | + | < |
function Net_DNS_RR_TXT(& | function Net_DNS_RR_TXT(& | ||
... snip ... | ... snip ... | ||
Line 83: | Line 92: | ||
Would be something like: | Would be something like: | ||
- | < | + | < |
class Net_DNS_RR_TXTTest extends PHPUnit_Framework_TestCase { | class Net_DNS_RR_TXTTest extends PHPUnit_Framework_TestCase { | ||
Line 94: | Line 103: | ||
</ | </ | ||
Run it to check it fails: | Run it to check it fails: | ||
- | < | + | < |
$ php tests/ | $ php tests/ | ||
</ | </ | ||
Line 103: | Line 112: | ||
Make yourself a universal diff: | Make yourself a universal diff: | ||
- | < | + | < |
... and upload it to a bug report / pastebin. | ... and upload it to a bug report / pastebin. | ||
+ | |||
+ | ===== How do I edit this freakin' | ||
+ | Login with your SVN credentials. | ||
+ | |||
pear/faq.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1