You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changes
#13 Add missing tests: ZipTask and UnzipTask (options precedence and validation, missing or unreadable files, overwriting, open failures), bundle and DI extension.
Fixes
#15 Fix ZipTask and UnzipTask: resolve the options on every execution, so that each input is used (the options of the first input were reused for the following ones). Update documentation, add tests.
#16 Fix ZipTask: only remove the leading files_base_path from the file paths (every occurrence was removed), and read the files at the given path when files_base_path is empty (relative paths were resolved from the filesystem root). Update documentation, add tests.
#17 Fix ZipTask and UnzipTask: throw a \RuntimeException when the archive cannot be written (ZipTask) or extracted (UnzipTask), instead of outputting the path anyway; add the ZipArchive error code to the UnzipTask open failure message. Update documentation, add tests.
#18 Fix ZipTask and UnzipTask: throw an explicit \UnexpectedValueException on a non-array input (e.g. a string path) instead of an unrelated warning or TypeError. Update documentation, add tests.