I hereby claim:
- I am sbine on github.
- I am sbine (https://keybase.io/sbine) on keybase.
- I have a public key whose fingerprint is 496E 7B9E CD5D 6562 87AA 50E2 4C2E C775 A3B5 1BDC
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
folder='*' | |
exclude='--exclude-dir=vendor --exclude-dir=bower_components --exclude-dir=node_modules --exclude-dir=storage --exclude-dir=public' | |
statics=`grep -Eo $exclude "([A-Z][a-zA-Z0-9]+)::" $folder -R` | |
classes=`grep -Eo $exclude 'new ([A-Z][a-zA-Z0-9]+)' $folder -R | sed -n 's/new //p'` | |
exceptions=`grep -Eo $exclude 'catch \((([A-Z][a-zA-Z0-9]+)?Exception)' $folder -R | sed -n 's/catch (//p'` | |
combined=("${statics[@]}" "${classes[@]}" "${exceptions[@]}") |