From d4586fc5659cdf23a6747cd60ff2fdddc616d4d6 Mon Sep 17 00:00:00 2001 From: Jawira Portugal Date: Thu, 16 Sep 2021 20:30:17 +0200 Subject: [PATCH] Upgrading filesize (#1644) --- UPGRADING.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/UPGRADING.md b/UPGRADING.md index bb60079627..d8b9249eab 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -65,3 +65,8 @@ that you might stumble across when upgrading from Phing 2 to 3. * ZendServerDevelopmentTools * The signature from `\Phing\Listener\DefaultLogger::formatTime` has been changed. Therefore, if you have written a logger that overrides this method, you will need to update its signature accordingly. +* The way how Phing handles file sizes has been normalized, this is explained in documentation. + * FileSizeTask: `unit` attribute can be an IEC or SI suffix. + * HasFreeSpace condition: `needed` attribute can include an IEC or SI suffix. + * Size selector: `units` attribute has been removed, `value` attribute can include an IEC or SI suffix. + * TruncateTask: `length` attribute can include an IEC or SI suffix.