Upgrade PHPStan to version 1.0

[MAILPOET-3932]
This commit is contained in:
Oluwaseun Olorunsola
2022-01-11 15:57:27 +01:00
committed by Veljko V
parent 5e5beb1402
commit 092f6ea9ff
10 changed files with 6022 additions and 71 deletions

View File

@@ -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);
}
}