Try
```ruby
prefix.install Dir["PHP_CodeSniffer-#{version}/*"]
```
Other than that, looks good.