Skip to content

Commit bc6c09c

Browse files
committed
Remove Private Methods/Properties From Online Doc
Documenting public and protected methods is useful; I don't believe it is useful to document private methods. If people really need them, they can clone the project and run PhpDocumentor against it. As long as I'm at it, we are several releases behind in PhpDocumentor. Use the latest (3.8.1 replacing 3.5.0). I have confirmed that this works locally on my machine. There's no real way to verify the change until the next PhpSpreadsheet release. Hope it works.
1 parent 7d1562a commit bc6c09c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/github-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323

2424
- name: Build API documentation
2525
run: |
26-
curl -LO https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.5.0/phpDocumentor.phar
27-
php phpDocumentor.phar --directory src/ --target docs/api
26+
curl -LO https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.8.1/phpDocumentor.phar
27+
php phpDocumentor.phar --directory src/ --target docs/api --visibility=public,protected
2828
2929
- name: Deploy to GithHub Pages
3030
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)