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

[Finder] Revert "Fix children condition in ExcludeDirectoryFilterIterator" #51178

Merged
merged 1 commit into from Jul 31, 2023

Conversation

derrabus
Copy link
Member

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #51162, revert #50885
License MIT
Doc PR not needed

This PR reverts #50885 because it did not fix a bug and instead introduced a regression described in #51162.

…eDirectoryFilterIterator (mvorisek)"

This reverts commit 9c1dedb, reversing
changes made to 9cbdfc6.
@derrabus derrabus changed the title [Finder] Revert "fix children cond" [Finder] Revert "minor symfony#50885 [Finder] Fix children condition in ExcludeDirectoryFilterIterator (mvorisek)" Jul 31, 2023
@derrabus derrabus changed the title [Finder] Revert "minor symfony#50885 [Finder] Fix children condition in ExcludeDirectoryFilterIterator (mvorisek)" [Finder] Revert "Fix children condition in ExcludeDirectoryFilterIterator" Jul 31, 2023
@mvorisek
Copy link
Contributor

A test with 1 symlink to file and 1 symlink to directory should be added and tested with these 6 combinations:

  • default
  • Finder::followSymlinks()

x

  • default
  • Finder::files()
  • Finder::directories()

@derrabus
Copy link
Member Author

A test with 1 symlink to file and 1 symlink to directory should be added

PR welcome for 5.4!

@fabpot
Copy link
Member

fabpot commented Jul 31, 2023

Thank you @derrabus.

@fabpot fabpot merged commit 3c24be3 into symfony:5.4 Jul 31, 2023
9 of 11 checks passed
@derrabus derrabus deleted the revert/50885 branch July 31, 2023 08:25
This was referenced Jul 31, 2023
renovate bot added a commit to ben-challis/sql-migrations that referenced this pull request Jul 31, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [amphp/file](https://togithub.com/amphp/file) | require | patch |
`3.0.0-beta.6` -> `3.0.1` |
| [symfony/finder](https://symfony.com)
([source](https://togithub.com/symfony/finder)) | require | patch |
`6.3.2` -> `6.3.3` |

---

### ⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the
Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>amphp/file (amphp/file)</summary>

### [`v3.0.1`](https://togithub.com/amphp/file/releases/tag/v3.0.1):
3.0.1

[Compare
Source](https://togithub.com/amphp/file/compare/v3.0.0...v3.0.1)

#### What's Changed

- Fix `touch()` on non-existent files in ext-uv and ext-eio by
[@&#8203;kelunik](https://togithub.com/kelunik)
([#&#8203;73](https://togithub.com/amphp/file/issues/73))
- Fix `write()` truncation with ext-uv and ext-eio by
[@&#8203;danog](https://togithub.com/danog) in
([#&#8203;76](https://togithub.com/amphp/file/issues/76))

**Full Changelog**:
amphp/file@v3.0.0...v3.0.1

### [`v3.0.0`](https://togithub.com/amphp/file/releases/tag/v3.0.0):
3.0.0

[Compare
Source](https://togithub.com/amphp/file/compare/v3.0.0-beta.6...v3.0.0)

Stable release compatible with AMPHP v3 and fibers! 🎉

As with other libraries compatible with AMPHP v3, most cases of
parameters or returns of `Promise<ResolutionType>` have been replaced
with `ResolutionType`.

-   Renamed `BlockingDriver` to `BlockingFilesystemDriver`
-   Renamed `EioDriver` to `EioFilesystemDriver`
-   Renamed `ParallelDriver` to `ParallelFilesystemDriver`
-   Renamed `StatusCachingDriver` to `StatusCachingFilesystemDriver`
-   Renamed `UvDriver` to `UvFilesystemDriver`
-   Renamed `Amp\File\Sync\AsyncFileMutex` to `Amp\File\FileMutex`
-   Added `?Cancellation` as first parameter of `File::read()`
-   Added `File::isSeekable()`
-   Removed `File::SEEK_SET`, `File::SEEK_CUR`, and `File::SEEK_END`
-   Added `Amp\File\Whence` for seeking instead

</details>

<details>
<summary>symfony/finder (symfony/finder)</summary>

### [`v6.3.3`](https://togithub.com/symfony/finder/releases/tag/v6.3.3)

[Compare
Source](https://togithub.com/symfony/finder/compare/v6.3.2...v6.3.3)

**Changelog**
(symfony/finder@v6.3.2...v6.3.3)

- bug
[symfony/symfony#51178](https://togithub.com/symfony/symfony/issues/51178)
\[Finder] Revert "Fix children condition in
ExcludeDirectoryFilterIterator"
([@&#8203;derrabus](https://togithub.com/derrabus))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ben-challis/sql-migrations).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNC4yIiwidXBkYXRlZEluVmVyIjoiMzYuMjQuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.

None yet

5 participants