Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 53 Next »

Features

Sonar PHP Plugin provides PHP language support to Sonar. The plugin enables all Sonar builtin features for PHP projects. It relies on well known analysis tools for PHP: PHP Unit, PHP Depend, PHPMD, PHPCPD and PHP_CodeSniffer to provide some additionnal metrics and to detect violations.

Sonar PHP Plugin

PHPUnit

phpcpd

PHP Depend

PHPMD

PHP_CodeSniffer

0.3

3.5.5

1.3.1

0.9.14

0.2.5

1.3.0RC1

0.4

3.5.5

1.3.1

0.9.14

0.2.5

1.3.0RC1

0.5

3.5.5

1.3.1

0.10.6

1.1.0

1.3.0RC1

0.6 (upcoming version)

3.5.5

1.3.3

0.10.6

1.1.0

1.3.1

Where to start?

Here are the main steps to get started:

  1. Install Sonar, the PHP plugin and everything that is needed to run analyses
  2. Then, choose how you want to run an analysis on your PHP project

Once you're familiar with the plugin, you can dig more into the documentation to discover advanced features (like adding your own PHP CodeSniffer or PHPMD rules into Sonar).

Known limitations

See open issues

Roadmap

  1. PHP 0.6 - very-short-term activity.
    1. Better handling of file with same name in different directories
    2. Better support of Ant
    3. Validate support of the Simple Runner
    4. Create a real "Sonar PHP Way" profile and clean up rules
    5. Inner improvements (improve PHPUnit & PHPDepend execution)
  2. PHP 0.7 - short-term activity
  3. PHP 1.0 - mid-term activity
    1. Tricky-but-important tickets
    2. If it turns out that those tickets are technically difficult/long to implement, then version 1.0 could be released earlier and those tickets bumped into a 1.x version

Changelog

Loading

Release 0.5 (${entries.size()} issues)

Type Key Summary Priority Status Resolution

Loading

Release 0.4 (${entries.size()} issues)

Type Key Summary Priority Status Resolution

Loading

Release 0.3 (${entries.size()} issues)

Type Key Summary Priority Status Resolution

Loading

Release 0.2 (${entries.size()} issues)

Type Key Summary Priority Status Resolution

  • No labels