Closed aldavigdis closed 5 years ago
circleci seems to fail here due to a configuration issue.
There's also a similar issue with the PHP 5.6 build in Travis. It seems to be failing due to a network glitch.
Works nicely with Atom 1.36.1. I had linter
package enabled together with atom-ide-diagnostics
which is conflicting, yet everything works smooth.
Attempting to trigger a new build by closing and re-opening.
Travis is green now, but ci/circleci: beta
and ci/circleci: stable
are red due to the same configuration issue as before:
#!/bin/bash -eo pipefail
composer global require "squizlabs/php_codesniffer ${PHPCS_VER}"
Changed current directory to /home/atom/.composer
[UnexpectedValueException]
Your github oauth token for github.com contains invalid characters: ""
require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...
Exited with code 1
@simison Just for your own information:
Both of those are consumers of the Linter API, so they aren't conflicting necessarily, but having both enabled does the same work twice so it's probably not the best of ideas 😉.
@Arcanemagus Yup, I'm aware. Just enabled the linter
package temporarily to test this PR since this package seemed to depend on it. :-) Thanks both!
:tada: This PR is included in version 1.7.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Some the most important projects that we work with at Automattic has executables such as
phpcs
inside of the./bin
directory as opposed to inside./vendor/bin/
, makinglinter-phpcs
fall back on a globalphpcs
executable.I'm certain having tools in the
./bin/
directory but not./vendor/bin/
is common in other legacy codebases as well.This PR adds
./bin
to the array of directories read byautoExecutableSearch
and fixes that issue.