web browser. There was always the global
Node.js has changed this assumption.
Sometimes it is necessary to compare a generated PDF file with a given one in PHP. Just to check with one PHPUnit test that your PDF generation works the expected way. But pretty often generated PDF files are equal, but there content isn't the same. For example if you use FPDF the following assertion can fail if the files have different meta data.
$pdfContent1 = file_get_contents('path_to_pdf1');
$pdfContent2 = file_get_contents('path_to_pdf2');
Lesti_Fpc has changed in the last month. Some of the changes are part of the code quality. Today I would like to present the tools, that I use to raise the quality of my Magento extension.
Using GitLab Continuous Integration is pretty cool for testing. You just need to edit the build script under Build settings and can run your tests. For example PHPUnit tests. Your tests will run and you will see if you get a success or a fail. All fine.