zendframework/zf2-documentation — pull request #1147 by Iszak (2013-11-17 22:19:02+00:00)
Title: Renamed ZendPdf\Pdf to ZendPdf\PdfDocument

I am at it once again with my grep and piping it to perl, this time I've replaced ZendPdf\Pdf to ZendPdf\PdfDocument as per the issue https://github.com/zendframework/zf2-documentation/issues/1146

The command used was as follows;

grep -lriI "ZendPdf\\\Pdf" . | xargs perl -pi -e 's/ZendPdf\\Pdf(?!D)/ZendPdf\\PdfDocument/g'

This should prevent any existing ZendPdf\PdfDocument from being replaced. Let me know if there are any issues.