Skip to content

Instantly share code, notes, and snippets.

@countless-integers
Created August 16, 2016 13:00
Show Gist options
  • Save countless-integers/23f2b83f11d9433ab64225b369116687 to your computer and use it in GitHub Desktop.
Save countless-integers/23f2b83f11d9433ab64225b369116687 to your computer and use it in GitHub Desktop.
remove whitespace from strict type declarations in php7
#!/bin/bash
ag -l 'strict_types = 1' src tests | xargs -I{} sed -i "" 's/strict_types = 1/strict_types=1/' {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment