nkoporec / pmd-php
A php adapter for pmd
Fund package maintenance!
nkoporec
Requires
- php: ^7.3|^8.0
- ext-curl: *
- ext-json: *
- symfony/yaml: ^3.0|^4.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- phpunit/phpunit: ^9.5
- vimeo/psalm: ^4.8
README
A PHP adapter for the PMD debugger.
Requirements
A working PMD server.
Installation
You can install the package via composer:
composer require nkoporec/pmd-php
Configuration
By default it will try to connect to 127.0.0.1:6969, if the PMD debugger is running on different port, then you can create a pmd.yaml
file in the project root directory and it should look something like this (this is an example of how to set it up if you use docker containers)
url: "host.docker.internal" port: "6969"
Usage
pmd("Hello world!");
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.