Skip to content
This repository was archived by the owner on Apr 12, 2018. It is now read-only.

Commit 05bffa8

Browse files
Do not advertise PEAR as an installation method
1 parent 8cda28f commit 05bffa8

File tree

3 files changed

+18
-147
lines changed

3 files changed

+18
-147
lines changed

src/4.0/en/installation.xml

Lines changed: 6 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -69,34 +69,6 @@
6969
</para>
7070
</section>
7171

72-
<section id="installation.pear">
73-
<title>PEAR</title>
74-
75-
<para>
76-
The following two commands (which you may have to run as
77-
<literal>root</literal>) are all that is required to install PHPUnit using
78-
the <ulink url="http://pear.php.net/manual/en/guide.users.commandline.cli.php">PEAR Installer</ulink>:
79-
</para>
80-
81-
<screen><userinput>pear config-set auto_discover 1</userinput>
82-
<userinput>pear install pear.phpunit.de/PHPUnit</userinput></screen>
83-
84-
<caution>
85-
<para>
86-
Depending on your OS distribution and/or your PHP environment, you may
87-
need to install PEAR or update your existing PEAR installation before
88-
you can proceed with the instructions in this section.
89-
</para>
90-
91-
<para>
92-
<userinput>sudo pear upgrade PEAR</userinput> usually suffices to
93-
upgrade an existing PEAR installation. The <ulink
94-
url="http://pear.php.net/manual/en/installation.getting.php">PEAR Manual</ulink>
95-
explains how to perform a fresh installation of PEAR.
96-
</para>
97-
</caution>
98-
</section>
99-
10072
<section id="installation.optional-packages">
10173
<title>Optional packages</title>
10274

@@ -117,13 +89,8 @@
11789
</para>
11890

11991
<para>
120-
This package can be installed using the following command:
121-
</para>
122-
123-
<screen><userinput>pear install phpunit/PHP_Invoker</userinput></screen>
124-
125-
<para>
126-
This package can be installed via Composer by adding the following
92+
This package is included in the PHAR distribution of PHPUnit. It can
93+
be installed via Composer by adding the following
12794
<literal>"require-dev"</literal> dependency:
12895
</para>
12996

@@ -142,13 +109,8 @@
142109
</para>
143110

144111
<para>
145-
This package can be installed via PEAR using the following command:
146-
</para>
147-
148-
<screen><userinput>pear install phpunit/DbUnit</userinput></screen>
149-
150-
<para>
151-
This package can be installed via Composer by adding the following
112+
This package is included in the PHAR distribution of PHPUnit. It can
113+
be installed via Composer by adding the following
152114
<literal>"require-dev"</literal> dependency:
153115
</para>
154116

@@ -167,13 +129,8 @@
167129
</para>
168130

169131
<para>
170-
This package can be installed via PEAR using the following command:
171-
</para>
172-
173-
<screen><userinput>pear install phpunit/PHPUnit_Selenium</userinput></screen>
174-
175-
<para>
176-
This package can be installed via Composer by adding the following
132+
This package is included in the PHAR distribution of PHPUnit. It can
133+
be installed via Composer by adding the following
177134
<literal>"require-dev"</literal> dependency:
178135
</para>
179136

src/4.1/en/installation.xml

Lines changed: 6 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -69,34 +69,6 @@
6969
</para>
7070
</section>
7171

72-
<section id="installation.pear">
73-
<title>PEAR</title>
74-
75-
<para>
76-
The following two commands (which you may have to run as
77-
<literal>root</literal>) are all that is required to install PHPUnit using
78-
the <ulink url="http://pear.php.net/manual/en/guide.users.commandline.cli.php">PEAR Installer</ulink>:
79-
</para>
80-
81-
<screen><userinput>pear config-set auto_discover 1</userinput>
82-
<userinput>pear install pear.phpunit.de/PHPUnit</userinput></screen>
83-
84-
<caution>
85-
<para>
86-
Depending on your OS distribution and/or your PHP environment, you may
87-
need to install PEAR or update your existing PEAR installation before
88-
you can proceed with the instructions in this section.
89-
</para>
90-
91-
<para>
92-
<userinput>sudo pear upgrade PEAR</userinput> usually suffices to
93-
upgrade an existing PEAR installation. The <ulink
94-
url="http://pear.php.net/manual/en/installation.getting.php">PEAR Manual</ulink>
95-
explains how to perform a fresh installation of PEAR.
96-
</para>
97-
</caution>
98-
</section>
99-
10072
<section id="installation.optional-packages">
10173
<title>Optional packages</title>
10274

@@ -117,13 +89,8 @@
11789
</para>
11890

11991
<para>
120-
This package can be installed using the following command:
121-
</para>
122-
123-
<screen><userinput>pear install phpunit/PHP_Invoker</userinput></screen>
124-
125-
<para>
126-
This package can be installed via Composer by adding the following
92+
This package is included in the PHAR distribution of PHPUnit. It can
93+
be installed via Composer by adding the following
12794
<literal>"require-dev"</literal> dependency:
12895
</para>
12996

@@ -142,13 +109,8 @@
142109
</para>
143110

144111
<para>
145-
This package can be installed via PEAR using the following command:
146-
</para>
147-
148-
<screen><userinput>pear install phpunit/DbUnit</userinput></screen>
149-
150-
<para>
151-
This package can be installed via Composer by adding the following
112+
This package is included in the PHAR distribution of PHPUnit. It can
113+
be installed via Composer by adding the following
152114
<literal>"require-dev"</literal> dependency:
153115
</para>
154116

@@ -167,13 +129,8 @@
167129
</para>
168130

169131
<para>
170-
This package can be installed via PEAR using the following command:
171-
</para>
172-
173-
<screen><userinput>pear install phpunit/PHPUnit_Selenium</userinput></screen>
174-
175-
<para>
176-
This package can be installed via Composer by adding the following
132+
This package is included in the PHAR distribution of PHPUnit. It can
133+
be installed via Composer by adding the following
177134
<literal>"require-dev"</literal> dependency:
178135
</para>
179136

src/4.2/en/installation.xml

Lines changed: 6 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -69,34 +69,6 @@
6969
</para>
7070
</section>
7171

72-
<section id="installation.pear">
73-
<title>PEAR</title>
74-
75-
<para>
76-
The following two commands (which you may have to run as
77-
<literal>root</literal>) are all that is required to install PHPUnit using
78-
the <ulink url="http://pear.php.net/manual/en/guide.users.commandline.cli.php">PEAR Installer</ulink>:
79-
</para>
80-
81-
<screen><userinput>pear config-set auto_discover 1</userinput>
82-
<userinput>pear install pear.phpunit.de/PHPUnit</userinput></screen>
83-
84-
<caution>
85-
<para>
86-
Depending on your OS distribution and/or your PHP environment, you may
87-
need to install PEAR or update your existing PEAR installation before
88-
you can proceed with the instructions in this section.
89-
</para>
90-
91-
<para>
92-
<userinput>sudo pear upgrade PEAR</userinput> usually suffices to
93-
upgrade an existing PEAR installation. The <ulink
94-
url="http://pear.php.net/manual/en/installation.getting.php">PEAR Manual</ulink>
95-
explains how to perform a fresh installation of PEAR.
96-
</para>
97-
</caution>
98-
</section>
99-
10072
<section id="installation.optional-packages">
10173
<title>Optional packages</title>
10274

@@ -117,13 +89,8 @@
11789
</para>
11890

11991
<para>
120-
This package can be installed using the following command:
121-
</para>
122-
123-
<screen><userinput>pear install phpunit/PHP_Invoker</userinput></screen>
124-
125-
<para>
126-
This package can be installed via Composer by adding the following
92+
This package is included in the PHAR distribution of PHPUnit. It can
93+
be installed via Composer by adding the following
12794
<literal>"require-dev"</literal> dependency:
12895
</para>
12996

@@ -142,13 +109,8 @@
142109
</para>
143110

144111
<para>
145-
This package can be installed via PEAR using the following command:
146-
</para>
147-
148-
<screen><userinput>pear install phpunit/DbUnit</userinput></screen>
149-
150-
<para>
151-
This package can be installed via Composer by adding the following
112+
This package is included in the PHAR distribution of PHPUnit. It can
113+
be installed via Composer by adding the following
152114
<literal>"require-dev"</literal> dependency:
153115
</para>
154116

@@ -167,13 +129,8 @@
167129
</para>
168130

169131
<para>
170-
This package can be installed via PEAR using the following command:
171-
</para>
172-
173-
<screen><userinput>pear install phpunit/PHPUnit_Selenium</userinput></screen>
174-
175-
<para>
176-
This package can be installed via Composer by adding the following
132+
This package is included in the PHAR distribution of PHPUnit. It can
133+
be installed via Composer by adding the following
177134
<literal>"require-dev"</literal> dependency:
178135
</para>
179136

0 commit comments

Comments
 (0)