{"action":"closed","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/15540","labels_url":"https://api.github.com/repos/symfony/symfony/issues/15540/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/15540/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/15540/events","html_url":"https://github.com/symfony/symfony/issues/15540","id":100757793,"number":15540,"title":"[Filesystem] rename: not possible to change the case of filename in case-insensitive filesystems","user":{"login":"gharlan","id":330436,"avatar_url":"https://avatars.githubusercontent.com/u/330436?v=3","gravatar_id":"","url":"https://api.github.com/users/gharlan","html_url":"https://github.com/gharlan","followers_url":"https://api.github.com/users/gharlan/followers","following_url":"https://api.github.com/users/gharlan/following{/other_user}","gists_url":"https://api.github.com/users/gharlan/gists{/gist_id}","starred_url":"https://api.github.com/users/gharlan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gharlan/subscriptions","organizations_url":"https://api.github.com/users/gharlan/orgs","repos_url":"https://api.github.com/users/gharlan/repos","events_url":"https://api.github.com/users/gharlan/events{/privacy}","received_events_url":"https://api.github.com/users/gharlan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-13T12:33:23Z","updated_at":"2015-08-14T12:05:17Z","closed_at":"2015-08-14T12:05:17Z","body":"Example:\r\n\r\n```php\r\n$filesystem = new Filesystem();\r\n$filesystem->rename('foo.txt', 'Foo.txt');\r\n```\r\n\r\nOn my mac I get [this `IOException`](https://github.com/symfony/symfony/blob/7f745d72c004dc37572bb57cb772df1f2d8ac146/src/Symfony/Component/Filesystem/Filesystem.php#L272).\r\n\r\nWorkaround: Set `$overwrite` parameter to `true`."}}