Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable repositories #1

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on: push
jobs:
phpunit:
runs-on: ubuntu-latest
env:
IS_CI_TEST: true
steps:
- uses: actions/checkout@v1
- uses: shivammathur/setup-php@v2
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
vendor
var
!var/tests/repo
!var/**/.gitkeep
.phpunit.result.cache
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# PHPCS Documentation Generator

Note: this currently works only with the PHPCompatibility standard.

## Usage

Copy the `generator.xml.dist` template to `generator.xml` and add your sources and standards.

```sh
bin/phpcsdocs generate
```
9 changes: 6 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@
"danielstjules/stringy": "^3.1",
"roave/better-reflection": "^4.12",
"phpdocumentor/reflection-docblock": "^5.2",
"ext-simplexml": "*",
"symfony/filesystem": "^5.2",
"symfony/process": "^5.2"
"symfony/process": "^5.2",
"nikic/php-parser": "4.6.*",
"ext-simplexml": "*",
"ext-dom": "*",
"ext-libxml": "*"
},
"autoload": {
"psr-4": {
Expand All @@ -17,6 +20,6 @@
}
},
"require-dev": {
"phpunit/phpunit": "^9.5"
"phpunit/phpunit": "^9.0"
}
}
Loading