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 **, match anything including /, to WildcardPattern #67

Merged
merged 21 commits into from
Feb 10, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix UPGRADE
  • Loading branch information
samdark committed Feb 10, 2021
commit cb8efe1a88ac885a765f711a85ed2bcecb935f50
7 changes: 2 additions & 5 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,5 @@ In a big application however there may be more things to consider, which are exp
Remove `withExactSlashes()` calls. Replace `*` with `**` in patterns if you need to match `/` as well.
If `withEnding()` was used, add `**` to the beginning of the pattern.

There are two method name adjustments:

- `\Yiisoft\Strings\WildcardPattern#withExactLeadingPeriod()` was renamed to `Yiisoft\Strings\WildcardPattern#exactLeadingPeriod()`.

Adjust methods usage accordingly.
`\Yiisoft\Strings\WildcardPattern#withExactLeadingPeriod()` was renamed to `Yiisoft\Strings\WildcardPattern#exactLeadingPeriod()`.
Adjust method usage accordingly.