PHP code example of tresbientech / drupal-patch-check

1. Go to this page and download the library: Download tresbientech/drupal-patch-check library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

tresbientech / drupal-patch-check example snippets

json
{
  "decisions": [
    {"source": "patches/webform/fix.patch", "file": "src/Entity/Webform.php", "region": 0, "choice": "release"},
    {"source": "patches/webform/fix.patch", "file": "src/Entity/Webform.php", "region": 1, "text": "return $build;\n"}
  ]
}