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

Fix deprecations #2911

Closed
wants to merge 2 commits into from
Closed

Fix deprecations #2911

wants to merge 2 commits into from

Conversation

bendavies
Copy link
Contributor

@bendavies bendavies commented Jul 5, 2019

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #2896
License MIT
Doc PR

We can't use max[total]=0

The remaining ones are:

Remaining indirect deprecation notices (5)

  1x: The "FOS\UserBundle\Controller\SecurityController" class extends "Symfony\Bundle\FrameworkBundle\Controller\Controller" that is deprecated since Symfony 4.2, use "Symfony\Bundle\FrameworkBundle\Controller\AbstractController" instead.
    1x in BooleanFilterTest::setUp from ApiPlatform\Core\Tests\Bridge\Doctrine\Orm\Filter

  1x: The "FOS\UserBundle\Controller\ProfileController" class extends "Symfony\Bundle\FrameworkBundle\Controller\Controller" that is deprecated since Symfony 4.2, use "Symfony\Bundle\FrameworkBundle\Controller\AbstractController" instead.
    1x in BooleanFilterTest::setUp from ApiPlatform\Core\Tests\Bridge\Doctrine\Orm\Filter

  1x: The "FOS\UserBundle\Controller\RegistrationController" class extends "Symfony\Bundle\FrameworkBundle\Controller\Controller" that is deprecated since Symfony 4.2, use "Symfony\Bundle\FrameworkBundle\Controller\AbstractController" instead.
    1x in BooleanFilterTest::setUp from ApiPlatform\Core\Tests\Bridge\Doctrine\Orm\Filter

  1x: The "FOS\UserBundle\Controller\ChangePasswordController" class extends "Symfony\Bundle\FrameworkBundle\Controller\Controller" that is deprecated since Symfony 4.2, use "Symfony\Bundle\FrameworkBundle\Controller\AbstractController" instead.
    1x in BooleanFilterTest::setUp from ApiPlatform\Core\Tests\Bridge\Doctrine\Orm\Filter

  1x: The "FOS\UserBundle\Controller\ResettingController" class extends "Symfony\Bundle\FrameworkBundle\Controller\Controller" that is deprecated since Symfony 4.2, use "Symfony\Bundle\FrameworkBundle\Controller\AbstractController" instead.
    1x in BooleanFilterTest::setUp from ApiPlatform\Core\Tests\Bridge\Doctrine\Orm\Filter

What about all the legacy deprecations like this? Remove in 3.0? I think another PR is needed to standardise the deprecation messages.
https://github.com/api-platform/core/blob/master/src/Bridge/Doctrine/Orm/Filter/AbstractFilter.php#L49-L51

@dunglas
Copy link
Member

dunglas commented Jul 9, 2019

@bendavies can we close this one now that #2920 has been merged?

@bendavies
Copy link
Contributor Author

I don't think so? This targets 2.5 and symfony 4.3?

@teohhanhui
Copy link
Contributor

@bendavies With #2925 we could aim for full Symfony 4.3 compatibility in 2.4.

@bendavies
Copy link
Contributor Author

ah yes, i forgot only messenger 4.3 is not supported.

Anyway, i'm not sure about #2920 as it introduces the password algorithm deprecation that i am removing here. bcrypt is deprecated, and should be auto?

@bendavies bendavies closed this Sep 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants