* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ use Symfony\Component\Filesystem\Filesystem; use Symfony\Component\Icu\IcuData; use Symfony\Component\Intl\Intl; require_once __DIR__ . '/common.php'; require_once __DIR__ . '/autoload.php'; if (1 !== $GLOBALS['argc']) { bailout(<<exists($sourceDir)) { bailout("The directory $sourceDir does not exist. Please run create-stubs.php first."); } $filesystem->remove($targetDir); echo "Copying files from $sourceDir to $targetDir...\n"; $filesystem->mirror($sourceDir, $targetDir); echo "Done.\n";