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

Add ignore patterns for File size task #485

Merged

Conversation

Landerstraeten
Copy link
Contributor

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Documented? yes

$files = $context->getFiles()->size(sprintf('>%s', $maxSize));
$files = $context->getFiles()
->size(sprintf('>%s', $maxSize))
->notPaths($config['ignore_patterns']);
Copy link
Contributor

Choose a reason for hiding this comment

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

Beter to run notPaths() before size.

@Landerstraeten Landerstraeten force-pushed the ignore-patters-filesize-task branch 2 times, most recently from 299dfc0 to 6822aee Compare March 30, 2018 13:10
@veewee
Copy link
Contributor

veewee commented Apr 3, 2018

Can you rebase?

@Landerstraeten Landerstraeten force-pushed the ignore-patters-filesize-task branch from 6822aee to fbdd6a4 Compare April 3, 2018 10:05
@Landerstraeten Landerstraeten merged commit 16c3d50 into phpro:master Apr 3, 2018
@Landerstraeten Landerstraeten deleted the ignore-patters-filesize-task branch November 30, 2018 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants