View file vendor/robmorgan/phinx/src/composer_autoloader.php
<?php /** * Attempts to load Composer's autoload.php as either a dependency or a * stand-alone package. * * @return bool */ return function () { $files = [ __DIR__ . '/../../../autoload.php', // composer dependency __DIR__ . '/../vendor/autoload.php', // stand-alone package ]; foreach ($files as $file) { if (is_file($file)) { require_once $file; return true; } } return false; };