-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Description
0ade769 breaks on PHP 5.2 since Composer autoload is not compatible with it.
$ if [[ "$PHPLINT" == "1" ]]; then vendor/bin/phpcs -v; fi
Notice: Use of undefined constant __DIR__ - assumed '__DIR__' in /tmp/wordpress/src/wp-content/plugins/wordpress-seo/vendor/autoload.php on line 5
Warning: require_once(__DIR__/composer/autoload_real.php): failed to open stream: No such file or directory in /tmp/wordpress/src/wp-content/plugins/wordpress-seo/vendor/autoload.php on line 5
Fatal error: require_once(): Failed opening required '__DIR__/composer/autoload_real.php' (include_path='.:/home/travis/.phpenv/versions/5.2.17/pear') in /tmp/wordpress/src/wp-content/plugins/wordpress-seo/vendor/autoload.php on line 5
The command "if [[ "$PHPLINT" == "1" ]]; then vendor/bin/phpcs -v; fi" exited with 255.