Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7d39b03

Browse filesBrowse files
committed
bug #4079 Fixed typo in filesystem component (kohkimakimoto)
This PR was merged into the 2.3 branch. Discussion ---------- Fixed typo in filesystem component The `makePathRelative` method returns a path with a slash at end. See this [test case](https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Filesystem/Tests/FilesystemTest.php#L793). Commits ------- 82d2903 Fixed typo in filesystem component
2 parents f0bde03 + 82d2903 commit 7d39b03
Copy full SHA for 7d39b03

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎components/filesystem.rst

Copy file name to clipboardExpand all lines: components/filesystem.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ the relative path of a directory given another one::
207207
'/var/lib/symfony/src/Symfony/',
208208
'/var/lib/symfony/src/Symfony/Component'
209209
);
210-
// returns 'videos'
210+
// returns 'videos/'
211211
$fs->makePathRelative('/tmp/videos', '/tmp')
212212

213213
mirror

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.