PhpMetrics icon indicating copy to clipboard operation
PhpMetrics copied to clipboard

Beautiful and understandable static analysis tool for PHP

Results 40 PhpMetrics issues
Sort by recently updated
recently updated
newest added

Hi, Thank You for a great tool! I've installed PhpMetrics 2.3.2 with composer. When I run this command: `vendor/bin/phpmetrics src --report-xml=build/phpmetrics.xml` I get this output: I get no output XML...

enhancement

PhpMetrics provides a lot of useful metrics. However: - It's hard to remember the meaning of all the metrics, having a glossary page with a brief explanation and a link...

documentation

Hello everyone, This message is not an issue but a discussion. I started the PhpMetrics project [10 years ago on December 12, 2013](https://github.com/phpmetrics/PhpMetrics/commit/1f1c1195b6530dd63ec30dd74a312c7d5c9686ae). Nearly 1000 commits later, we've had dozens...

# Bug report - **phpmetrics v3.0.0rc3**. - **PHP 8.2.7** Hi, When i run `--report-violations` with PHP 8.2.7, I get `Uncaught TypeError`. Here is the full exception I have : ```...

bug
waiting for feedback

# Feature request Is it possible to add Response for a class (RFC) measure?

I'm currently using PhpMetrics 2.8.2 (as a dependency of edgedesign/phpqa 1.26.2). When I launch PHPQA, I get these 'deprecated' messages: ``` PHP Deprecated: abs(): Passing null to parameter #1 ($num)...

# SmoothOperationofLaw Irrevocable Trust ## Estate Planning, Asset Protection, and More ### June 2024 ### Introduction SmoothOperationofLaw Irrevocable Trust, established in 2018, is backed by Trustees with over ten years...

# Bug report Running PhpMetrics against the newest PHP versions (PHP 8.3) gives a lot of deprecation warnings: - Creation of dynamic property xxx is deprecated - Deprecated: abs(): Passing...

# Bug report PhpMetrics 3.0.0rc6 If I understand correctly, Instability counts incorrectly for abstract classes with inheritors. Since the classes are abstract, we get `Affererent Coupling = 0`, even though...

# Bug report PhpMetrics v3.0.0-rc6 Composer version 2.8.1 2024-10-04 11:31:01 PHP version 8.1.29 I created directory `PhpMetricsDemo` with single class `Hello` inside: ```

Cannot reproduce