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
After upgrading a working build to ^3, I now get this error:
BUILD FAILED
Phing\Type\PatternSet::setExcludesFile(): Argument #1 ($excludesFile) must be of type Phing\Io\File, string given,
called in /Users/linc/code/porter/vendor/phing/phing/src/Phing/Type/AbstractFileSet.php on line 324
I run Phing from the repo root as ../vendor/bin/phing.
This is the top of my build.xml:
<?xml version="1.0" encoding="UTF-8"?>
<project name="nitro-porter" basedir="." default="main">
<!-- Name the package folder. -->
<property name="package" value="nitro-porter" override="true" />
<!-- Parent directory of this file should be the root. -->
<resolvepath file=".." propertyName="repo_root" />
<!-- Define what's in the bundles. -->
<fileset id="files" dir="${repo_root}" includesfile="file-allowlist.txt" excludesfile="file-denylist.txt" />
Both referenced text files are in the same folder as build.xml.
Deleting excludesfile="file-denylist.txt" from the fileset element allows the build to continue, which suggests this is specifically an exclusion problem, given the includes file works.
Leaving excludesfile="file-denylist.txt" and instead deleting the contents of file-denylist.txt yields the same error as above.
The text was updated successfully, but these errors were encountered:
jawira
added a commit
to jawira/fork-phing
that referenced
this issue
Dec 31, 2024
* ComposerTask: update code & doc #1163
* fix: Add type to $excl parameter to fix type error
This fixes#1890
---------
Co-authored-by: Siad Ardroumli <siad.ardroumli@gmail.com>
After upgrading a working build to
^3
, I now get this error:I run Phing from the repo root as
../vendor/bin/phing
.This is the top of my
build.xml
:Both referenced text files are in the same folder as
build.xml
.Deleting
excludesfile="file-denylist.txt"
from thefileset
element allows the build to continue, which suggests this is specifically an exclusion problem, given the includes file works.Leaving
excludesfile="file-denylist.txt"
and instead deleting the contents offile-denylist.txt
yields the same error as above.The text was updated successfully, but these errors were encountered: