Chassis / phpcs

A Chassis extension to install PHP_CodeSniffer on your Chassis box
1 stars 5 forks source link

Update URL to wpcs repo #16

Closed pdewouters closed 4 years ago

pdewouters commented 4 years ago

I just edited the file directly on github - so it's untested. Feel free to close this and fix separately as I messed up the commit message

Fixes default: Error: 'git clone -b master https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git /vagrant/extensions/phpcs/wpcs && phpcs --config-set installed_paths /vagrant/extensions/phpcs/wpcs' returned 128 instead of one of [0] default: Error: /Stage[main]/Phpcs/Exec[wordpress cs install]/returns: change from 'notrun' to ['0'] failed: 'git clone -b master https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git /vagrant/extensions/phpcs/wpcs && phpcs --config-set installed_paths /vagrant/extensions/phpcs/wpcs' returned 128 instead of one of [0]

pdewouters commented 4 years ago

I still get this error: default: Notice: /Stage[main]/Phpcs/Exec[wordpress cs install]/returns: fatal: unable to access 'https://github.com/WordPress/WordPress-Coding-Standards.git/': Could not resolve host: github.com

pdewouters commented 4 years ago

is it because it's adding a trailing slash?

rmccue commented 4 years ago

No, that's a DNS resolution error, indicating there's something wrong with your machine's networking. You probably need to reboot the box.