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

Improvement of chapter "Výrazové prostředky" - updated version #1065

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
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
upgrading: added exception class change info (finder) [Closes #1051]
  • Loading branch information
Rixafy authored and dg committed Oct 23, 2024
commit 48401acc71cd2d76548a4186fb995f5f47fc52d8
2 changes: 2 additions & 0 deletions utils/cs/upgrading.texy
Original file line number Diff line number Diff line change
@@ -30,3 +30,5 @@ V předchozí verzi platilo, že metody `exclude()` a `filter()` fungovaly jinak
Finder již neimplementuje rozhraní Countable.

Řetězec začínající lomítkem ve `Finder::findFiles('/f*')` se nově považuje za absolutní cestu, je potřeba ho nahradit např. za `Finder::findFiles('./f*')`.

Pokud adresář, ve kterém hledáte, neexistuje, vyhodí se `Nette\InvalidStateException` (místo `UnexpectedValueException`).
2 changes: 2 additions & 0 deletions utils/en/upgrading.texy
Original file line number Diff line number Diff line change
@@ -30,3 +30,5 @@ In the previous version, the `exclude()` and `filter()` methods worked different
The Finder no longer implements the Countable interface.

A string starting with a slash in `Finder::findFiles('/f*')` is now considered an absolute path, it should be replaced with e.g. `Finder::findFiles('./f*')`.

When directory you are searching in does not exist, `Nette\InvalidStateException` is thrown (instead of `UnexpectedValueException`).
Loading