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

[Insight] Deprecated class usage found - in src/Console/Progress/Export.php, line 32 #226

Open
peter-gribanov opened this issue Aug 12, 2016 · 0 comments

Comments

@peter-gribanov
Copy link
Member

in src/Console/Progress/Export.php, line 32

The Symfony\Component\Console\Helper\ProgressHelper class has been deprecated in Symfony 2.5. Use the Symfony\Component\Console\Helper\ProgressBar class instead.

    /**
     * @param ProgressHelper $progress
     * @param OutputInterface $output
     * @param string $filename
     */
    public function __construct(ProgressHelper $progress, OutputInterface $output, $filename)
    {
        $progress->setFormat(ProgressHelper::FORMAT_QUIET);
        $output = new ExportOutput($output, $filename, false);
        // reset old value
        $output->write('0%');

Posted from SensioLabsInsight

@peter-gribanov peter-gribanov added this to the Release 0.4.27 milestone Aug 12, 2016
@peter-gribanov peter-gribanov self-assigned this Aug 12, 2016
@peter-gribanov peter-gribanov removed this from the Release 0.4.27 milestone Aug 13, 2016
@peter-gribanov peter-gribanov removed their assignment Aug 13, 2016
@peter-gribanov peter-gribanov modified the milestone: Release 1.0.0 Aug 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant