-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
edfa293
commit 9276fba
Showing
2 changed files
with
79 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,11 +10,15 @@ development and low-volume web sites using PEAR2 packages. | |
|
||
To use: | ||
|
||
<?php | ||
require '/path/to/PEAR2/Autoload.php'; | ||
// now use class names from installed PEAR2 | ||
// packages at will | ||
?></description> | ||
<?php | ||
require '/path/to/PEAR2/Autoload.php'; | ||
// Now use class names from installed PEAR2 packages at will | ||
|
||
// You can also inclue other PEAR2 registries | ||
// require '/other/pear2/repo/PEAR2/Autoload.php'; | ||
// or manually | ||
// PEAR2\Autoload::initialize('/other/pear2/repo'); | ||
?></description> | ||
<lead> | ||
<name>Gregory Beaver</name> | ||
<user>cellog</user> | ||
|
@@ -27,26 +31,50 @@ require '/path/to/PEAR2/Autoload.php'; | |
<email>[email protected]</email> | ||
<active>yes</active> | ||
</lead> | ||
<date>2011-01-08</date> | ||
<time>14:03:05</time> | ||
<contributor> | ||
<name>Clay Loveless</name> | ||
<user>clay</user> | ||
<email>[email protected]</email> | ||
<active>yes</active> | ||
</contributor> | ||
<date>2011-08-08</date> | ||
<time>13:56:45</time> | ||
<version> | ||
<release>0.2.3</release> | ||
<release>0.2.4</release> | ||
<api>0.1.0</api> | ||
</version> | ||
<stability> | ||
<release>alpha</release> | ||
<api>alpha</api> | ||
</stability> | ||
<license uri="http://www.opensource.org/licenses/bsd-license.php">New BSD License</license> | ||
<notes>Minor Bugfixes: | ||
<notes>- Add optional dynamically-generated class map so full file paths can be | ||
used when loading class files. | ||
|
||
- Added a few test cases, along with non-Pyrus .phpt runner to keep us from | ||
trying to load PEAR2\Autoload twice! | ||
|
||
- Remove use of @fopen hack [saltybeagle] | ||
- Improve error messages [saltybeagle] | ||
- Removed PEAR2\ prefix requirement for loaded classes. Now psr-0 compliant. | ||
</notes> | ||
<contents> | ||
<dir name="/"> | ||
<dir name="src" baseinstalldir="PEAR2"> | ||
<file role="php" name="Autoload.php"/> | ||
<dir name="src" baseinstalldir="/"> | ||
<dir name="PEAR2"> | ||
<file role="php" name="Autoload.php"/> | ||
</dir> | ||
</dir> | ||
<dir name="tests" baseinstalldir="/"> | ||
<dir name="_files"> | ||
<dir name="testDir1"> | ||
<file role="test" name="Foo.php"/> | ||
</dir> | ||
</dir> | ||
<file role="test" name="initialize_basic001.phpt"/> | ||
<file role="test" name="initialize_basic002.phpt"/> | ||
<file role="test" name="initialize_basic003.phpt"/> | ||
<file role="test" name="initialize_basic004.phpt"/> | ||
<file role="test" name="initialize_basic005.phpt"/> | ||
<file role="test" name="run-tests.php.inc"/> | ||
</dir> | ||
</dir> | ||
</contents> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,11 +10,15 @@ development and low-volume web sites using PEAR2 packages. | |
|
||
To use: | ||
|
||
<?php | ||
require '/path/to/PEAR2/Autoload.php'; | ||
// now use class names from installed PEAR2 | ||
// packages at will | ||
?></description> | ||
<?php | ||
require '/path/to/PEAR2/Autoload.php'; | ||
// Now use class names from installed PEAR2 packages at will | ||
|
||
// You can also inclue other PEAR2 registries | ||
// require '/other/pear2/repo/PEAR2/Autoload.php'; | ||
// or manually | ||
// PEAR2\Autoload::initialize('/other/pear2/repo'); | ||
?></description> | ||
<lead> | ||
<name>Gregory Beaver</name> | ||
<user>cellog</user> | ||
|
@@ -27,24 +31,40 @@ require '/path/to/PEAR2/Autoload.php'; | |
<email>[email protected]</email> | ||
<active>yes</active> | ||
</lead> | ||
<date>2011-01-08</date> | ||
<time>14:03:05</time> | ||
<contributor> | ||
<name>Clay Loveless</name> | ||
<user>clay</user> | ||
<email>[email protected]</email> | ||
<active>yes</active> | ||
</contributor> | ||
<date>2011-08-08</date> | ||
<time>13:56:45</time> | ||
<version> | ||
<release>0.2.3</release> | ||
<release>0.2.4</release> | ||
<api>0.1.0</api> | ||
</version> | ||
<stability> | ||
<release>alpha</release> | ||
<api>alpha</api> | ||
</stability> | ||
<license uri="http://www.opensource.org/licenses/bsd-license.php">New BSD License</license> | ||
<notes>Minor Bugfixes: | ||
<notes>- Add optional dynamically-generated class map so full file paths can be | ||
used when loading class files. | ||
|
||
- Added a few test cases, along with non-Pyrus .phpt runner to keep us from | ||
trying to load PEAR2\Autoload twice! | ||
|
||
- Remove use of @fopen hack [saltybeagle] | ||
- Improve error messages [saltybeagle] | ||
- Removed PEAR2\ prefix requirement for loaded classes. Now psr-0 compliant. | ||
</notes> | ||
<contents> | ||
<dir name="/"> | ||
<file role="test" name="test/pear2.php.net/PEAR2_Autoload/_files/testDir1/_files/testDir1/Foo.php"/> | ||
<file role="test" name="test/pear2.php.net/PEAR2_Autoload/run-tests.php.inc"/> | ||
<file role="test" name="test/pear2.php.net/PEAR2_Autoload/initialize_basic005.phpt"/> | ||
<file role="test" name="test/pear2.php.net/PEAR2_Autoload/initialize_basic004.phpt"/> | ||
<file role="test" name="test/pear2.php.net/PEAR2_Autoload/initialize_basic003.phpt"/> | ||
<file role="test" name="test/pear2.php.net/PEAR2_Autoload/initialize_basic002.phpt"/> | ||
<file role="test" name="test/pear2.php.net/PEAR2_Autoload/initialize_basic001.phpt"/> | ||
<file role="php" name="php/PEAR2/Autoload.php"/> | ||
</dir> | ||
</contents> | ||
|
@@ -61,6 +81,13 @@ require '/path/to/PEAR2/Autoload.php'; | |
<phprelease> | ||
<filelist> | ||
<install name="php/PEAR2/Autoload.php" as="PEAR2/Autoload.php"/> | ||
<install name="test/pear2.php.net/PEAR2_Autoload/initialize_basic001.phpt" as="PEAR2_Autoload/initialize_basic001.phpt"/> | ||
<install name="test/pear2.php.net/PEAR2_Autoload/initialize_basic002.phpt" as="PEAR2_Autoload/initialize_basic002.phpt"/> | ||
<install name="test/pear2.php.net/PEAR2_Autoload/initialize_basic003.phpt" as="PEAR2_Autoload/initialize_basic003.phpt"/> | ||
<install name="test/pear2.php.net/PEAR2_Autoload/initialize_basic004.phpt" as="PEAR2_Autoload/initialize_basic004.phpt"/> | ||
<install name="test/pear2.php.net/PEAR2_Autoload/initialize_basic005.phpt" as="PEAR2_Autoload/initialize_basic005.phpt"/> | ||
<install name="test/pear2.php.net/PEAR2_Autoload/run-tests.php.inc" as="PEAR2_Autoload/run-tests.php.inc"/> | ||
<install name="test/pear2.php.net/PEAR2_Autoload/_files/testDir1/_files/testDir1/Foo.php" as="PEAR2_Autoload/_files/testDir1/_files/testDir1/Foo.php"/> | ||
</filelist> | ||
</phprelease> | ||
</package> |