Does CodeSniffer/ECS have the possibility to detect large methods/functions?

This page summarizes the projects mentioned and recommended in the original post on /r/PHP

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • cognitive-complexity

    PHPStan rules to measure cognitive complexity of your classes and methods

  • PHPStan package I made that implements it for classes and methods - https://github.com/TomasVotruba/cognitive-complexity

  • coding-standard

    Slevomat Coding Standard for PHP_CodeSniffer provides many useful sniffs

  • However, you can get cognitive complexity in phpcs with the slevomat ruleset. This ruleset is used as a base for the Doctrine coding standard.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts