Upgrade PHPStan to version 1.0
[MAILPOET-3932]
This commit is contained in:
committed by
Veljko V
parent
5e5beb1402
commit
092f6ea9ff
@@ -13,7 +13,7 @@ foreach ($files as $file) {
|
||||
|
||||
// when string 'Doctrine' is prefixed by a whitespace, ', ", or ( plus zero or more \, and suffixed by
|
||||
// one or more \, prefix it with 'MailPoetDoctrine' + the number of trailing \ in the original string
|
||||
$data = preg_replace('/([\'"\s(]\\\\*)(Doctrine)(\\\\+)/', '$1MailPoetVendor$3$2$3', $data);
|
||||
$data = preg_replace('/([\'"\s(?]\\\\*)(Doctrine)(\\\\+)/', '$1MailPoetVendor$3$2$3', $data);
|
||||
file_put_contents($file, $data);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user