{"action":"closed","issue":{"url":"https://api.github.com/repos/puli/puli/issues/22","labels_url":"https://api.github.com/repos/puli/puli/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/puli/puli/issues/22/comments","events_url":"https://api.github.com/repos/puli/puli/issues/22/events","html_url":"https://github.com/puli/puli/issues/22","id":53377138,"number":22,"title":"Error with composer update on windows","user":{"login":"temp","id":216128,"avatar_url":"https://avatars.githubusercontent.com/u/216128?v=3","gravatar_id":"","url":"https://api.github.com/users/temp","html_url":"https://github.com/temp","followers_url":"https://api.github.com/users/temp/followers","following_url":"https://api.github.com/users/temp/following{/other_user}","gists_url":"https://api.github.com/users/temp/gists{/gist_id}","starred_url":"https://api.github.com/users/temp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/temp/subscriptions","organizations_url":"https://api.github.com/users/temp/orgs","repos_url":"https://api.github.com/users/temp/repos","events_url":"https://api.github.com/users/temp/events{/privacy}","received_events_url":"https://api.github.com/users/temp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/puli/puli/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-05T09:15:42Z","updated_at":"2015-01-06T09:10:00Z","closed_at":"2015-01-06T09:10:00Z","body":"A colleague just checked out my puli-branch and did a composer update, on a windows machine.\r\n\r\nIt produced this error while calling \"composer update\", when trying to build the puli repository:\r\n\r\n```\r\n[ErrorException]  \r\nUninitialized string offset: 0\r\n\r\nException trace:\r\n() at C:\\Users\\xxx\\Projects\\myproject\\vendor\\webmozart\\path-util\\src\\Path.php:567\r\nComposer\\Util\\ErrorHandler::handle() at C:\\Users\\xxx\\Projects\\myproject\\vendor\\webmozart\\path-util\\src\\Path.php:567\r\nWebmozart\\PathUtil\\Path::split() at C:\\Users\\xxx\\Projects\\myproject\\vendor\\webmozart\\path-util\\src\\Path.php:355\r\nWebmozart\\PathUtil\\Path::makeRelative() at C:\\Users\\xxx\\Projects\\myproject\\vendor\\puli\\composer-plugin\\src\\PuliPlugin.php:116\r\nPuli\\Extension\\Composer\\PuliPlugin->installNewPackages() at C:\\Users\\xxx\\Projects\\myproject\\vendor\\puli\\composer-plugin\\src\\PuliPlugin.php:85\r\nPuli\\Extension\\Composer\\PuliPlugin->postInstall() at n/a:n/a                                                                                                                                                                                   \r\ncall_user_func() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/EventDispatcher/EventDispatcher.php:158\r\nComposer\\EventDispatcher\\EventDispatcher->doDispatch() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/EventDispatcher/EventDispatcher.php:120\r\nComposer\\EventDispatcher\\EventDispatcher->dispatchCommandEvent() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Installer.php:330Composer\\Installer->run() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Command/InstallCommand.php:125\r\nComposer\\Command\\InstallCommand->execute() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:252\r\nSymfony\\Component\\Console\\Command\\Command->run() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:874\r\nSymfony\\Component\\Console\\Application->doRunCommand() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:195\r\nSymfony\\Component\\Console\\Application->doRun() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:146Composer\\Console\\Application->doRun() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:126\r\nSymfony\\Component\\Console\\Application->run() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:83                                                                                                  \r\nComposer\\Console\\Application->run() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:43\r\nrequire() at C:\\ProgramData\\ComposerSetup\\bin\\composer.phar:24\r\n```\r\n\r\n\"bin/puli build\" worked fine, nevertheless."}}