Automating code quality check using GrumPHP in Magento 2

This page summarizes the projects mentioned and recommended in the original post on dev.to

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • PHP Mess Detector

    PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD. PHPMD can be seen as an user friendly frontend application for the raw metrics stream measured by PHP Depend.

  • PHP Code Sniffer

    PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.

  • suppose we miss a space at the end of the file, and phpcs fails while running the automated pipelines on pull request merge.

  • 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
  • GrumPHP

    A PHP code-quality tool

  • grumphp can be configured to listen to git commit commands and will not allow until all quality checks passed.

  • magento-coding-standard

    Magento Coding Standard

  • PHP CS Fixer

    A tool to automatically fix PHP Coding Standards issues

  • PHPCS Fixer 2

  • PHPStan

    PHP Static Analysis Tool - discover bugs in your code without running it!

  • grumphp-swagger

    GrumPHP Swagger check

  • You can check out a small task created by me to validate swagger documentation before every commit. https://github.com/milindsingh/grumphp-swagger

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • PHP-Parallel-Lint

    This tool check syntax of PHP files faster than serial check with fancier output.

  • #### PHPLint

  • magento2-grumphp

    Ultimate GrumPHP configuration for Magento 2 automated code quality checks

  • Create a grumphp.yml file in magento-2-root and copy all content as below code.

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

  • Tools to analyse version-specific PHP code?

    2 projects | /r/PHPhelp | 29 Jan 2023
  • Php 8.1 on windows all xml functions stopped worked as undefined ?

    2 projects | /r/PHPhelp | 8 Dec 2022
  • change versions

    2 projects | /r/PHPhelp | 8 Dec 2022
  • PHP8 is pushing me over the edge ...

    2 projects | /r/PHP | 8 Jun 2022
  • Upgrading existing code

    2 projects | /r/PHPhelp | 1 May 2022