Skip to content

Commit 07bac81

Browse files
committed
phpDocumentor: update the configuration to v 3
* Update the configuration to the format used by phpDocumentor 3. Ref: https://docs.phpdoc.org/3.0/references/configuration.html * Rename the file from `phpdoc.xml.dist` to `phpdoc.dist.xml`. Turns out this project uses the reverse extension order compared to, for instance, PHPUnit and PHPCS. If no issue is open about this in phpDocumentor, I will open one in the near future.
1 parent 675e399 commit 07bac81

File tree

2 files changed

+27
-22
lines changed

2 files changed

+27
-22
lines changed

phpdoc.dist.xml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<phpdocumentor
3+
configVersion="3"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xmlns="https://www.phpdoc.org"
6+
xsi:noNamespaceSchemaLocation="https://docs.phpdoc.org/latest/phpdoc.xsd"
7+
>
8+
9+
<title>PHPCSUtils</title>
10+
11+
<paths>
12+
<output>docs/phpdoc/</output>
13+
<cache>build/docs/structure/</cache>
14+
</paths>
15+
16+
<version number="latest">
17+
<api format="php">
18+
<source dsn=".">
19+
<path>phpcsutils-autoload.php</path>
20+
<path>PHPCSUtils</path>
21+
</source>
22+
</api>
23+
</version>
24+
25+
<template name="default"/>
26+
27+
</phpdocumentor>

phpdoc.xml.dist

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)