Skip to content
The Symfony PHP framework
PHP HTML Other
Branch: 4.4
Clone or download
fabpot feature #33308 [SecurityGuard] Deprecate returning non-boolean values…
… from checkCredentials() (derrabus)

This PR was merged into the 4.4 branch.

Discussion
----------

[SecurityGuard] Deprecate returning non-boolean values from checkCredentials()

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | prepares #33228
| License       | MIT
| Doc PR        | TODO

This PR suggests to deprecate implementations of `Symfony\Component\Security\Guard\AuthenticatorInterface::checkCredentials()` that return non-boolean values. This will allow us to add `bool` as return type declaration in the future.

nicolas-grekas#26 (comment)

/cc @nicolas-grekas @weaverryan

Commits
-------

a0ca3af Deprecate returning non-boolean values from checkCredentials().
Latest commit 610a4e9 Aug 25, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.composer Drop hirak/prestissimo May 12, 2016
.github add yceruto as code owner of the ErrorRenderer component Aug 6, 2019
src/Symfony feature #33308 [SecurityGuard] Deprecate returning non-boolean values… Aug 25, 2019
.appveyor.yml Merge branch '3.4' into 4.3 Aug 10, 2019
.editorconfig Update .editorconfig Sep 6, 2018
.gitignore Run the phpunit-bridge from a PR Aug 2, 2019
.php_cs.dist Merge branch '4.3' into 4.4 Aug 14, 2019
.travis.yml Merge branch '4.3' into 4.4 Aug 22, 2019
CHANGELOG-4.0.md Merge branch '3.4' into 4.1 Aug 1, 2018
CHANGELOG-4.1.md updated CHANGELOG for 4.1.10 Jan 6, 2019
CHANGELOG-4.2.md updated CHANGELOG for 4.2.10 Jun 26, 2019
CHANGELOG-4.3.md updated CHANGELOG for 4.3.3 Jul 28, 2019
CODE_OF_CONDUCT.md Added the Code of Conduct file Oct 10, 2018
CONTRIBUTING.md Mention the community review guide Dec 18, 2016
CONTRIBUTORS.md Fixed markdown file Aug 13, 2019
LICENSE update year in license files Jan 1, 2019
README.md Merge branch '2.8' into 3.4 May 25, 2018
UPGRADE-4.0.md Merge branch '3.4' into 4.2 Jun 6, 2019
UPGRADE-4.1.md Merge branch '4.0' into 4.1 May 31, 2018
UPGRADE-4.2.md [Validator] fix deprecation layer of ValidatorBuilder Jun 6, 2019
UPGRADE-4.3.md cs fix Aug 13, 2019
UPGRADE-4.4.md Deprecate returning non-boolean values from checkCredentials(). Aug 23, 2019
UPGRADE-5.0.md Deprecate returning non-boolean values from checkCredentials(). Aug 23, 2019
composer.json [WebLink] implement PSR-13 directly Aug 12, 2019
link Merge branch '3.4' into 4.2 May 20, 2019
phpunit Use PHPUnit 8.3 on Travis when possible Aug 9, 2019
phpunit.xml.dist [Cache] Add optimized FileSystem & Redis TagAware Adapters Apr 24, 2019

README.md

Symfony is a PHP framework for web applications and a set of reusable PHP components. Symfony is used by thousands of web applications (including BlaBlaCar.com and Spotify.com) and most of the popular PHP projects (including Drupal and Magento).

Installation

Documentation

Community

Contributing

Symfony is an Open Source, community-driven project with thousands of contributors. Join them contributing code or contributing documentation.

Security Issues

If you discover a security vulnerability within Symfony, please follow our disclosure procedure.

About Us

Symfony development is sponsored by SensioLabs, led by the Symfony Core Team and supported by Symfony contributors.

You can’t perform that action at this time.