Skip to content

Commit cd8810e

Browse files
committed
Stub tweaks and package.xml regeneration.
1 parent 4ec9ff2 commit cd8810e

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

package.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,16 @@
22
<package version="2.1" xmlns="http://pear.php.net/dtd/package-2.1" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.1 http://pear.php.net/dtd/package-2.1.xsd">
33
<name>PEAR2_Cache_SHM</name>
44
<channel>pear2.php.net</channel>
5-
<summary>Wrapper for shared memory and locking functionality across different extensions.
6-
</summary>
5+
<summary>Wrapper for shared memory and locking functionality across different extensions.</summary>
76
<description>Allows you to share data across requests as long as the PHP process is running. One of APC or WinCache is required to accomplish this, with other extensions being potentially pluggable as adapters.</description>
87
<lead>
98
<name>Vasil Rangelov</name>
109
<user>boen_robot</user>
1110
<email>[email protected]</email>
1211
<active>yes</active>
1312
</lead>
14-
<date>2014-06-14</date>
15-
<time>00:41:37</time>
13+
<date>2014-11-02</date>
14+
<time>06:53:24</time>
1615
<version>
1716
<release>0.1.3</release>
1817
<api>0.1.0</api>

stub.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
try {
4646
$phar = new Phar(__FILE__);
4747
$sig = $phar->getSignature();
48-
echo "{$sig['hash_type']} hash: {$sig['hash']}\n";
48+
echo "{$sig['hash_type']} hash: {$sig['hash']}\n\n";
4949
} catch (Exception $e) {
5050
echo <<<HEREDOC
5151
@@ -78,7 +78,7 @@
7878
echo "You should be able to use it under this SAPI (", PHP_SAPI,
7979
").\n";
8080
} else {
81-
echo "WARNING: You can't use it under this SAPI (", PHP_SAPI,
81+
echo "\nWARNING: You can't use it under this SAPI (", PHP_SAPI,
8282
").\n";
8383
}
8484
echo "\n";
@@ -103,7 +103,7 @@
103103
echo "You should be able to use it under this SAPI (", PHP_SAPI,
104104
").\n";
105105
} else {
106-
echo "WARNING: You can't use it under this SAPI (", PHP_SAPI,
106+
echo "\nWARNING: You can't use it under this SAPI (", PHP_SAPI,
107107
").\n";
108108
}
109109
echo "\n";
@@ -124,7 +124,7 @@
124124
WARNING: You don't have any compatible extensions for this SAPI.
125125
Install one of APC (>= 3.0.13) or WinCache (>= 1.1.0).
126126
HEREDOC;
127-
echo ' (The current SAPI is "', PHP_SAPI, ").\n\n";
127+
echo ' (The current SAPI is "', PHP_SAPI, ").\n\n";
128128
}
129129
} else {
130130
echo "You should be able to use the Placebo adapter under this SAPI (",

0 commit comments

Comments
 (0)