Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SassTask] [core] - Fixed Filesystem::listContents for numeric filenames. #1511

Merged
merged 7 commits into from
Jan 26, 2021
Merged

[SassTask] [core] - Fixed Filesystem::listContents for numeric filenames. #1511

merged 7 commits into from
Jan 26, 2021

Conversation

malhusseiny
Copy link
Contributor

Fixed an issue that affects all filesystem manipulation tasks dealing with files and directories with all-numeric names and often causes build failures and/or infinite directory traversal loops. Added a simple test for the fix.

Fixed the FailOnError test bug.

@codecov
Copy link

codecov bot commented Jan 26, 2021

Codecov Report

Merging #1511 (72f4ebf) into master (9e21c49) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1511   +/-   ##
=========================================
  Coverage     53.09%   53.09%           
  Complexity     8582     8582           
=========================================
  Files           447      447           
  Lines         20792    20792           
=========================================
  Hits          11040    11040           
  Misses         9752     9752           
Impacted Files Coverage Δ Complexity Δ
src/Phing/Io/FileSystem.php 47.48% <100.00%> (ø) 100.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9e21c49...72f4ebf. Read the comment docs.

@siad007 siad007 added this to the 3.0.0-rc1 milestone Jan 26, 2021
Copy link
Member

@siad007 siad007 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution @malhusseiny - small change requests from my side :)

src/Phing/Io/FileSystem.php Outdated Show resolved Hide resolved
src/Phing/Io/FileSystem.php Outdated Show resolved Hide resolved
@siad007 siad007 changed the title Malhusseiny [SassTask] [core] - Fixed Filesystem::listContents for numeric filenames. Jan 26, 2021
@siad007 siad007 merged commit cb0b46e into phingofficial:master Jan 26, 2021
@siad007
Copy link
Member

siad007 commented Jan 26, 2021

@malhusseiny LGTM - thx

@malhusseiny malhusseiny deleted the malhusseiny branch January 27, 2021 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants