Package: phing / 3.0.1-2

Metadata

Package Version Patches format
phing 3.0.1-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Fixed some PHP8.4 deprecations.patch | (download)

src/Phing/Io/FileUtils.php | 2 1 + 1 - 0 !
src/Phing/Parser/ElementHandler.php | 6 3 + 3 - 0 !
2 files changed, 4 insertions(+), 4 deletions(-)

 fixed some php8.4 deprecations

Co-authored-by: Juris Malinens <juris.malinens@co.inbox.lv>

Update tests for newer PHPUnit versions.patch | (download)

tests/Phing/Test/Io/AbstractWinFileSystemTestCase.php | 34 20 + 14 - 0 !
tests/Phing/Test/Io/FileParserFactoryTest.php | 3 2 + 1 - 0 !
tests/Phing/Test/Io/FileSystemTest.php | 3 2 + 1 - 0 !
tests/Phing/Test/Io/FileUtilsTest.php | 2 2 + 0 - 0 !
tests/Phing/Test/Io/IniFileParserTest.php | 5 3 + 2 - 0 !
tests/Phing/Test/Listener/DefaultLoggerTest.php | 7 6 + 1 - 0 !
tests/Phing/Test/Listener/DisguiseLoggerTest.php | 7 7 + 0 - 0 !
tests/Phing/Test/Listener/MonologListenerTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Listener/SilentLoggerTest.php | 2 2 + 0 - 0 !
tests/Phing/Test/Listener/StatisticsListenerTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Listener/TimestampedLoggerTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Parser/LocationTest.php | 6 4 + 2 - 0 !
tests/Phing/Test/TargetTest.php | 6 4 + 2 - 0 !
tests/Phing/Test/Task/Ext/Svn/SvnRevertTaskTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Task/Optional/WikiPublishTaskTest.php | 36 23 + 13 - 0 !
tests/Phing/Test/Task/System/FileSizeTaskTest.php | 3 2 + 1 - 0 !
tests/Phing/Test/Task/System/MkdirTaskTest.php | 14 8 + 6 - 0 !
tests/Phing/Test/Task/System/PropertyTaskTest.php | 5 3 + 2 - 0 !
tests/Phing/Test/Task/System/VersionTaskTest.php | 3 2 + 1 - 0 !
tests/Phing/Test/Type/DescriptionTest.php | 5 3 + 2 - 0 !
tests/Phing/Test/Type/Selector/PosixPermissionsSelectorTest.php | 9 7 + 2 - 0 !
tests/Phing/Test/Util/CharacterTest.php | 5 3 + 2 - 0 !
tests/Phing/Test/Util/SizeHelperTest.php | 12 8 + 4 - 0 !
tests/Phing/Test/Util/StringHelperTest.php | 38 26 + 12 - 0 !
tests/etc/tasks/ext/phpunit/tests/provider_failTest.php | 3 2 + 1 - 0 !
25 files changed, 143 insertions(+), 69 deletions(-)

 update tests for newer phpunit versions

Disable PHPUnit Tasks.patch | (download)

src/Phing/Task/Ext/PhpUnit/PHPUnitTask.php | 4 4 + 0 - 0 !
tests/Phing/Test/Task/Ext/PhpUnit/PHPUnitTaskTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Task/Optional/CoverageMergeTest.php | 1 1 + 0 - 0 !
3 files changed, 6 insertions(+)

 disable phpunit tasks

Fix PHP 8.4 new IntlDateFormatter.patch | (download)

src/Phing/Task/System/TstampTask.php | 6 5 + 1 - 0 !
1 file changed, 5 insertions(+), 1 deletion(-)

 fix php 8.4 new intldateformatter

8.4.0 	A ValueError is thrown if locale is invalid.

Adjust relative test dir.patch | (download)

tests/Phing/Test/Type/DirSetTest.php | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 adjust relative test dir

Skip tests that require not available libraries or PHP ex.patch | (download)

src/Phing/Listener/MonologListener.php | 7 7 + 0 - 0 !
src/Phing/Task/Ext/Hg/HgBaseTask.php | 15 15 + 0 - 0 !
tests/Phing/Test/Io/IniFileParserTest.php | 3 3 + 0 - 0 !
tests/Phing/Test/Listener/MonologListenerTest.php | 7 7 + 0 - 0 !
tests/Phing/Test/Task/Ext/Analyzer/PHPMDTaskTest.php | 3 3 + 0 - 0 !
tests/Phing/Test/Task/Ext/Analyzer/PhpDependTaskTest.php | 3 3 + 0 - 0 !
tests/Phing/Test/Task/Ext/Git/GitArchiveTaskTest.php | 3 3 + 0 - 0 !
tests/Phing/Test/Task/Ext/Git/GitBaseTest.php | 3 3 + 0 - 0 !
tests/Phing/Test/Task/Ext/Git/GitBranchTaskTest.php | 3 3 + 0 - 0 !
tests/Phing/Test/Task/Ext/Git/GitCheckoutTaskTest.php | 3 3 + 0 - 0 !
tests/Phing/Test/Task/Ext/Git/GitCloneTaskTest.php | 3 3 + 0 - 0 !
tests/Phing/Test/Task/Ext/Git/GitDescribeTaskTest.php | 3 3 + 0 - 0 !
tests/Phing/Test/Task/Ext/Git/GitFetchTaskTest.php | 3 3 + 0 - 0 !
tests/Phing/Test/Task/Ext/Git/GitGcTaskTest.php | 3 3 + 0 - 0 !
tests/Phing/Test/Task/Ext/Git/GitInitTaskTest.php | 3 3 + 0 - 0 !
tests/Phing/Test/Task/Ext/Git/GitLogTaskTest.php | 3 3 + 0 - 0 !
tests/Phing/Test/Task/Ext/Git/GitMergeTaskTest.php | 3 3 + 0 - 0 !
tests/Phing/Test/Task/Ext/Git/GitPullTaskTest.php | 3 3 + 0 - 0 !
tests/Phing/Test/Task/Ext/Git/GitPushTaskTest.php | 3 3 + 0 - 0 !
tests/Phing/Test/Task/Ext/Git/GitTagTaskTest.php | 3 3 + 0 - 0 !
tests/Phing/Test/Task/Ext/Hg/HgAddTaskTest.php | 4 4 + 0 - 0 !
tests/Phing/Test/Task/Ext/Hg/HgArchiveTaskTest.php | 4 4 + 0 - 0 !
tests/Phing/Test/Task/Ext/Hg/HgCloneTaskTest.php | 2 2 + 0 - 0 !
tests/Phing/Test/Task/Ext/Hg/HgCommitTaskTest.php | 4 4 + 0 - 0 !
tests/Phing/Test/Task/Ext/Hg/HgInitTaskTest.php | 2 2 + 0 - 0 !
tests/Phing/Test/Task/Ext/Hg/HgLogTaskTest.php | 4 4 + 0 - 0 !
tests/Phing/Test/Task/Ext/Hg/HgPullTaskTest.php | 2 2 + 0 - 0 !
tests/Phing/Test/Task/Ext/Hg/HgPushTaskTest.php | 2 2 + 0 - 0 !
tests/Phing/Test/Task/Ext/Hg/HgTagTaskTest.php | 2 2 + 0 - 0 !
tests/Phing/Test/Task/Ext/Hg/HgTaskTestSkip.php | 4 4 + 0 - 0 !
tests/Phing/Test/Task/Ext/Hg/HgUpdateTaskTest.php | 2 2 + 0 - 0 !
tests/Phing/Test/Task/Ext/Http/HttpGetTaskTest.php | 3 3 + 0 - 0 !
tests/Phing/Test/Task/Ext/Http/HttpRequestTaskTest.php | 3 3 + 0 - 0 !
tests/Phing/Test/Task/Ext/Smarty/SmartyTaskTest.php | 3 3 + 0 - 0 !
tests/Phing/Test/Task/Ext/Visualizer/VisualizerTaskTest.php | 3 3 + 0 - 0 !
tests/Phing/Test/Task/Optional/PDODelimitersTest.php | 4 4 + 0 - 0 !
tests/Phing/Test/Task/Optional/PDOTaskTest.php | 4 4 + 0 - 0 !
37 files changed, 132 insertions(+)

 skip tests that require not available libraries or php extensions

Fix PHP 8.4 deprecations.patch | (download)

src/Phing/Parser/ExpatParser.php | 1 0 + 1 - 0 !
src/Phing/Task/System/Condition/ConditionEnumeration.php | 5 5 + 0 - 0 !
src/Phing/Task/System/VersionTask.php | 2 1 + 1 - 0 !
src/Phing/Type/Selector/SelectorAware.php | 1 1 + 0 - 0 !
4 files changed, 7 insertions(+), 2 deletions(-)

 fix php 8.4 deprecations

Fix PHP 8 testing code.patch | (download)

tests/Phing/Test/Task/Optional/RSTTaskTest.php | 2 1 + 1 - 0 !
tests/Phing/Test/Task/System/Condition/HasFreeSpaceConditionTest.php | 12 11 + 1 - 0 !
tests/bootstrap.php | 2 1 + 1 - 0 !
3 files changed, 13 insertions(+), 3 deletions(-)

 fix php 8 testing code

Ref: https://github.com/sebastianbergmann/phpunit/issues/5062#issuecomment-1416362657

Fix phpcomposer crash on version parse.patch | (download)

composer.json | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix phpcomposer crash on version parse

Unable to parse version '2.0.x-dev'

Adjust phing executable endpoint.patch | (download)

bin/phing | 4 2 + 2 - 0 !
bin/phing.php | 8 2 + 6 - 0 !
2 files changed, 4 insertions(+), 8 deletions(-)

 adjust phing executable endpoint

PHPUnit 10 compatibility fixes.patch | (download)

src/Phing/Task/Ext/PhpUnit/PHPUnitTask.php | 7 5 + 2 - 0 !
tests/Phing/Test/Filter/StripPhpCommentsTest.php | 1 0 + 1 - 0 !
tests/Phing/Test/IntrospectionHelperTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Io/WindowsFileSystemTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Task/Ext/Analyzer/PhpDependTaskTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Task/Ext/Analyzer/SonarTaskTest.php | 1 0 + 1 - 0 !
tests/Phing/Test/Task/Ext/Git/GitArchiveTaskTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Task/Ext/Git/GitBaseTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Task/Ext/Git/GitBranchTaskTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Task/Ext/Git/GitCheckoutTaskTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Task/Ext/Git/GitCloneTaskTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Task/Ext/Git/GitDescribeTaskTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Task/Ext/Git/GitGcTaskTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Task/Ext/Git/GitInitTaskTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Task/Ext/Git/GitLogTaskTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Task/Ext/Git/GitMergeTaskTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Task/Ext/Git/GitPullTaskTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Task/Ext/Git/GitPushTaskTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Task/Ext/Git/GitTagTaskTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Task/Optional/CoverageMergeTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Task/System/AttribTaskTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Task/System/ExecTaskTest.php | 3 2 + 1 - 0 !
tests/Phing/Test/Task/System/SymlinkTaskTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Type/Selector/ExecutableTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Type/Selector/SymlinkSelectorTest.php | 1 1 + 0 - 0 !
25 files changed, 28 insertions(+), 5 deletions(-)

 phpunit 10+ compatibility fixes

Simplify ORed versions for dh_phpcomposer.patch | (download)

composer.json | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 simplify ored versions for dh_phpcomposer

Allow sebastian version v6.patch | (download)

composer.json | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 allow sebastian/version v6

Add missing requires php extension to tests.patch | (download)

tests/Phing/Test/Regression/ExcludeZipTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Task/Ext/Archive/ZipUnzipTaskTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Task/Ext/DbDeploy/DbDeployTaskTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Task/Optional/ComposerTaskTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Task/System/Condition/PDOSQLExecTaskConditionTest.php | 1 1 + 0 - 0 !
5 files changed, 5 insertions(+)

 add missing requires php extension to tests

Skip some tests on Debian and non test files.patch | (download)

tests/Phing/Test/Filter/StripPhpCommentsTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Io/AbstractWinFileSystemTestCase.php | 2 2 + 0 - 0 !
tests/Phing/Test/Io/FileOutputStreamTest.php | 5 4 + 1 - 0 !
tests/Phing/Test/TargetTest.php | 2 2 + 0 - 0 !
tests/Phing/Test/Task/Optional/ComposerTaskTest.php | 2 1 + 1 - 0 !
tests/Phing/Test/Task/Optional/OpenTaskTest.php | 2 2 + 0 - 0 !
tests/Phing/Test/Task/System/AttribTaskTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Task/System/AutoloaderTaskTest.php | 17 17 + 0 - 0 !
tests/Phing/Test/Task/System/Condition/PDOSQLExecTaskConditionTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Task/System/Condition/PhingVersionTest.php | 1 1 + 0 - 0 !
tests/Phing/Test/Task/System/TaskdefTaskTest.php | 2 2 + 0 - 0 !
tests/Phing/Test/Task/System/TypedefTaskTest.php | 2 2 + 0 - 0 !
tests/etc/tasks/system/FilesMatchTest.xml | 4 2 + 2 - 0 !
tests/etc/tasks/system/IsFileSelectedTest.xml | 4 2 + 2 - 0 !
tests/phpunit.xml | 6 5 + 1 - 0 !
15 files changed, 45 insertions(+), 7 deletions(-)

 skip and fix some tests on debian and non test files

Remove manual includes in the mail task.patch | (download)

src/Phing/Task/Ext/MailTask.php | 3 0 + 3 - 0 !
1 file changed, 3 deletions(-)

 remove manual includes in the mail task

Make the autoload and source path configurable.patch | (download)

tests/bootstrap.php | 39 30 + 9 - 0 !
1 file changed, 30 insertions(+), 9 deletions(-)

 make the autoload and source path configurable

Fix an undefined index error.patch | (download)

src/Phing/Task/Ext/Sass/SassCompiler.php | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix an undefined index error

Drop suggests not yet available in Debian.patch | (download)

composer.json | 15 0 + 15 - 0 !
1 file changed, 15 deletions(-)

 drop suggests not yet available in debian

Fix return type for 32 bit systems.patch | (download)

src/Phing/Util/SizeHelper.php | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 fix return type for 32 bit systems

Mark some tests as not 32 bit compatible.patch | (download)

tests/Phing/Test/Task/System/Condition/HasFreeSpaceConditionTest.php | 4 4 + 0 - 0 !
tests/Phing/Test/Task/System/FileSizeTaskTest.php | 2 2 + 0 - 0 !
tests/Phing/Test/Type/Selector/DateSelectorTest.php | 16 12 + 4 - 0 !
tests/Phing/Test/Util/SizeHelperTest.php | 4 4 + 0 - 0 !
4 files changed, 22 insertions(+), 4 deletions(-)

 mark some tests as not 32 bit compatible