Check modules in app/code and vendor for PHP 8 compatibility status - PHP_CodeSniffer & php-compatibility standard

Last update: Aug 8, 2022

M2 PHP version compatibility check

How To use

Requires PHP 7.3+ | PHP 8

This app will run PHP_CodeSniffer with phpcompatibility/php-compatibility on the M2 doc root

  • Clone this repository OR download the compiled audit file to a location where it can access a Magento 2 installation OR
  • wget https://github.com/willtran/magento2-php-8-compatibility-check/raw/main/audit and chmod u+x audit
  • adjust --threads option for faster result
  • Notes: does not work with symlinks
Description:
  Check all module in an m2 application for PHP8 compatibility

Usage:
  check:all [options] [--] <root-dir>

Arguments:
  root-dir

Options:
      --php-version[=PHP-VERSION]   [default: "8.1"]
      --threads[=THREADS]           [default: "4"]

Sample: ./audit check:all /var/projects/magento2 --threads=16

Alt text

+---------------------------------+----------------------------------------------------------+---------------+
| Module Name                     | Module Dir                                               | Compatiblity  |
+---------------------------------+----------------------------------------------------------+---------------+
| 'Justuno_Core'                  | vendor/justuno.com/core                                  | OK            |
| 'MSP_TwoFactorAuth'             | vendor/msp/twofactorauth                                 | OK            |
| 'MagePal_Reindex'               | vendor/magepal/magento2-reindex                          | OK            |
| 'Vertex_AddressValidationApi'   | vendor/vertexinc/module-address-validation-api           | OK            |
...
| vendor/snowdog/theme-blank-sass | vendor/snowdog/theme-blank-sass                          | OK            |
| 'Justuno_M2'                    | vendor/justuno.com/m2                                    | General error |
+---------------------------------+----------------------------------------------------------+---------------+

GitHub

https://github.com/willtran/magento2-php-8-compatibility-check
You might also like...

This composer installer plugin allows for easy installation of PHP_CodeSniffer coding standards

PHP_CodeSniffer Standards Composer Installer Plugin This composer installer plugin allows for easy installation of PHP_CodeSniffer coding standards (r

Feb 25, 2022

ExtDN PHP_CodeSniffer rules for Magento 2

ExtDN PHP_CodeSniffer rules for Magento 2 Introduction There are already many PHP CodeSniffer rules out there to aid in Magento 2 development: Magento

May 24, 2022

Easily create and read Corona Warn App Check-In URLs

bauer-kirch/cwa-event-registration-url This PHP library allows generating Check-In URLs for the Corona Warn App which can then be used to generate a Q

Dec 30, 2021

Silverstripe-sspy - Python based SSPAK export with higher reliability and cross-platform compatibility

SSPY - Python Stand-alone SSPAK solution © Simon Firesphere Erkelens; Moss Mossman Cantwell Usage: sspy [create|load|extract] (db|assets) --file=my.

Jun 29, 2021

PHP 7 Compatibility Checker

PHP 7 Compatibility Checker(php7cc) Project status The project is no longer supported. Please consider using one of the following alternatives: phan p

Jul 27, 2022

The tool converts different error reporting standards for deep compatibility with popular CI systems (TeamCity, IntelliJ IDEA, GitHub Actions, etc).

The tool converts different error reporting standards for deep compatibility with popular CI systems (TeamCity, IntelliJ IDEA, GitHub Actions, etc).

JBZoo / CI-Report-Converter Why? Installing Using as GitHub Action Example GitHub Action workflow Available Directions Help description in terminal Co

Jun 16, 2022

This module adds a command to easily generate "modules" in Laravel and install them using composer.

Laravel Module Create This module adds a command to easily generate "modules" in Laravel and install them using composer Installation Simply install t

Feb 18, 2022

Simple library that abstracts different metrics collectors. I find this necessary to have a consistent and simple metrics (functional) API that doesn't cause vendor lock-in.

Metrics Simple library that abstracts different metrics collectors. I find this necessary to have a consistent and simple metrics API that doesn't cau

Aug 2, 2022

This composer plugin removes unnecessary development files and directories from vendor directory

Composer Vendor Cleaner This composer plugin removes unnecessary development files and directories from vendor directory. Installation Local installat

Jan 1, 2022
Coding-standard - Magento PHP CodeSniffer Coding Standard

ECG Magento Code Sniffer Coding Standard ECG Magento Code Sniffer Coding Standard is a set of rules and sniffs for PHP_CodeSniffer tool. It allows aut

Jul 13, 2022
Library for check dependency between modules inside projects

PHP Dependency analyzer PHP DA is tool for check and support dependencies inside your project clear. For example: You have project with 3 root namespa

Jul 17, 2022
PHP Parallel Lint - This tool check syntax of PHP files faster than serial check with fancier output
PHP Parallel Lint - This tool check syntax of PHP files faster than serial check with fancier output

PHP Parallel Lint This application checks syntax of PHP files in parallel. It can output in plain text, colored text, json and checksyntax formats. Ad

Apr 24, 2022
This tool check syntax of PHP files faster than serial check with fancier output.
This tool check syntax of PHP files faster than serial check with fancier output.

PHP Parallel Lint This application checks syntax of PHP files in parallel. It can output in plain text, colored text, json and checksyntax formats. Ad

Aug 4, 2022
Test essentials for writing testable code that interacts with Magento core modules

Essentials for testing Magento 2 modules Using mocking frameworks for testing Magento 2 modules is counterproductive as you replicate line by line you

Sep 29, 2021
The Easiest way to start using PHP CS Fixer and PHP_CodeSniffer with 0-knowledge
The Easiest way to start using PHP CS Fixer and PHP_CodeSniffer with 0-knowledge

The Easiest Way to Use Any Coding Standard Features Blazing fast Parallel run Use PHP_CodeSniffer || PHP-CS-Fixer - anything you like 2nd run under fe

Aug 4, 2022
PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.

PHP_CodeSniffer is a set of two PHP scripts; the main phpcs script that tokenizes PHP, JavaScript and CSS files to detect violations of a defined coding standard, and a second phpcbf script to automatically correct coding standard violations. PHP_CodeSniffer is an essential development tool that ensures your code remains clean and consistent.

Aug 15, 2022
Set of rules for PHP_CodeSniffer and PHP-CS-Fixer used by Symplify projects.

20+ Coding Standard checkers for PHP projects with focus on Clean Architecture

Aug 9, 2022
This project backports features found in the latest PHP versions and provides compatibility layers for some extensions and functions

This project backports features found in the latest PHP versions and provides compatibility layers for some extensions and functions. It is intended to be used when portability across PHP versions and extensions is desired.

Aug 8, 2022
Composer installer for PHP_CodeSniffer coding standards

PHP_CodeSniffer Standards Composer Installer Plugin This composer installer plugin allows for easy installation of PHP_CodeSniffer coding standards (r

Jul 27, 2022