php-image-optim
php-image-optim copied to clipboard
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 0.12.75 to 0.12.76. Release notes Sourced from phpstan/phpstan's releases. 0.12.76 Bugfixes 🐛 Support for break X and continue X (https://github.com/phpstan/phpstan-src/commit/31fcad649cce93f4ad20fa72136a3134fbbeb9f1), #4535, #4346, #2913, #2926, #2549, #2003, #1945,...
foreach ($this->chainedCommands as $chainedCommand) { $chainedCommand->determinePreOptimisedFileSize(); $chainedCommand->setImagePath($this->imagePath); $chainedCommand->optimise(); $chainedCommand->determinePostOptimisedFileSize(); } first must be setImagePath and only then determinePreOptimisedFileSize we get an error Unable to determine pre-optimized fileSize because $ this->...
- Extract functionality in such a way that we can do suitable mocks - Minimise complexity - etc
https://github.com/svg/svgo
https://github.com/google/zopfli
It would be very useful to skip writing files to disk where possible. Some of the tools (for instance jpegoptim) support reading from stdin and/or writing to stdout. It would...