elliotchance/concise — pull request #135 by elliotchance (2014-08-13 07:58:00+00:00)
Title: Variables are not being escaped for with()

```php
$this->mock('MyClass')
->expect('myMethod')->with('a$b')
->done();
```

`$b` is not escaped so evaluating it will cause an error - fix:

```php
$args = str_replace('$', '\\$', addslashes(json_encode($rule['with'])));
```