Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

PAReview.sh

Security covered Under active development

This project provides a fast Bash script for automatically reviewing Drupal code. It checks for coding standards, documentation, and syntax errors without requiring PHPUnit.

Simple Bash script is faster drupal-ci-local alternative (but without phpunit).

Features

  • eslint
  • phpcs
  • phpstan
  • stylelint
  • cspell
  • Check if README exists
  • Check README sections
  • Check if hook_help exists
  • Check *.info.yml syntax
  • And more small checks
  • Faster than drupal-ci-local. 1 sec VS 2:30 min for example

Installation (tested on Ubuntu 22.04)

  • Install nodejs 18 curl -s https://deb.nodesource.com/setup_18.x | sudo bash
  • sudo apt install git php8.1-cli php8.1-mbstring php8.1-simplexml php8.1-curl
  • Install composer globally
  • Download and extract pareviewsh. Go to pareviewsh folder
  • Run composer install

Usage

./pareview.sh GIT-URL [BRANCH]
./pareview.sh DIR-PATH

Examples:

./pareview.sh https://git.drupalcode.org/project/media_gallery.git
./pareview.sh https://git.drupalcode.org/project/media_gallery.git 2.0.x
./pareview.sh sites/all/modules/media_gallery
./pareview.sh web/modules/custom/media_gallery

Ask your assistant about PAReview.sh

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
8
Tracked since
Jul 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.10 Stable Mar 16, 2024
1.0.9 Stable Mar 16, 2024
1.0.8 Stable Dec 17, 2023
1.0.7 Stable Dec 17, 2023
1.0.6 Stable Dec 10, 2023
1.0.5 Stable Dec 9, 2023
1.0.4 Stable Jul 9, 2023
1.0.3 Stable Jul 5, 2023