Download the PHP package mi-schi/phpmd-symfony2 without Composer
On this page you can find all versions of the php package mi-schi/phpmd-symfony2. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mi-schi/phpmd-symfony2
More information about mi-schi/phpmd-symfony2
Files in mi-schi/phpmd-symfony2
Download mi-schi/phpmd-symfony2
More information about mi-schi/phpmd-symfony2
Files in mi-schi/phpmd-symfony2
Vendor mi-schi
Package phpmd-symfony2
Short Description Extended mess detection rules from phpmd for Symfony applications.
License MIT
Homepage https://github.com/mi-schi/phpmd-symfony2
Package phpmd-symfony2
Short Description Extended mess detection rules from phpmd for Symfony applications.
License MIT
Homepage https://github.com/mi-schi/phpmd-symfony2
Please rate this library. Is it a good library?
Informations about the package phpmd-symfony2
phpmd-symfony2
Features
Extends phpmd with rules for Symfony2. Also add extra rules from clean code.
- Clean Code
- Symfony2
- Tests
Installation
Composer is used for installation. Add the following lines to your file:
Usage
Create a file and import the basic rules from phpmd. The example below contains some useful changes. Afterwards you can extend the configuration with rules from this repository.
Basic Rules
Add extra rules
You can also customize the rules with own properties or use only specific rules. Just take a look in the xml files. It works as the basic ruleset logic.
ToDos
- [ ] Rule against Train Wreck (getFoo()->getBar()->getMuh()->getMeh())
- [ ] Rule for high cohesion (member variables are used by a lot of methods)
- [ ] Rule that a service should never call a controller
- [ ] Try to avoid "return $this->doSomething() && !$this->doOtherthings()"
All versions of phpmd-symfony2 with dependencies
PHP Build Version
Package Version
Requires
phpmd/phpmd Version
>=2.3.0
The package mi-schi/phpmd-symfony2 contains the following files
Loading the files please wait ....