Skip to content

Instantly share code, notes, and snippets.

View msaggiorato's full-sized avatar
🤖
Likely coding something

Matias Saggiorato msaggiorato

🤖
Likely coding something
  • SAU/CAL
  • Argentina
View GitHub Profile
@msaggiorato
msaggiorato / install-standards.sh
Last active September 17, 2019 14:31 — forked from nunomorgadinho/gist:b2d8e5b8f5fec5b0ed946b24fa288a91
PHPCS + WordPress Coding Standards
#!/bin/sh
## Move to home directory
cd $HOME
### Install Composer
EXPECTED_SIGNATURE="$(php -r "echo file_get_contents('https://composer.github.io/installer.sig');")"
php -r "copy('https://getcomposer.org/installer', '$EXPECTED_SIGNATURE.php');"
ACTUAL_SIGNATURE="$(php -r "echo hash_file('sha384', '$EXPECTED_SIGNATURE.php');")"