8000 Update the multiple user providers article by javiereguiluz · Pull Request #8612 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Update the multiple user providers article #8612

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

Merged
merged 1 commit into from
Nov 12, 2017

Conversation

javiereguiluz
Copy link
Member

In Symfony 4.0 we can finally remove any reference to: "if you don't define a provider, the first one will be used".

@wouterj
Copy link
Member
wouterj commented Nov 12, 2017

Thanks Javier.

@wouterj wouterj merged commit 7fdde84 into symfony:master Nov 12, 2017
wouterj added a commit that referenced this pull request Nov 12, 2017
This PR was merged into the master branch.

Discussion
----------

Update the multiple user providers article

In Symfony 4.0 we can finally remove any reference to: *"if you don't define a provider, the first one will be used"*.

Commits
-------

7fdde84 Update the multiple user providers article
weaverryan added a commit that referenced this pull request Nov 12, 2017
… weaverryan)

This PR was merged into the master branch.

Discussion
----------

Removed deprecated features and notices

@xabbuh and @weaverryan to avoid a nightmare or rebases and problems, could we please give top priority to merging this PR? Thanks! It doesn't have to be perfect or 100% completed. We can do more fixes in another PR. Thanks!

-----

Some articles explain things that are removed. Instead of removing those articles entirely and to avoid user confusion, I propose to keep those articles but explain that those features no longer exist. For example, `security/acl.rst` now contains the following:

```rst
.. index::
   single: Security; Access Control Lists (ACLs)

How to Use Access Control Lists (ACLs)
======================================

.. caution::

    ACL support was removed in Symfony 4.0. Install the `Symfony ACL bundle`_
    and refer to its documentation if you want to keep using ACL.

.. _`Symfony ACL bundle`: https://github.com/symfony/acl-bundle
```

Articles like this one:

* security/acl.rst
* security/acl_advanced.rst
* components/event_dispatcher/container_aware_dispatcher.rst

We can remove all these deprecated articles in 4.1

-----

@iltar could you please create a PR to update the changes related to "controller arguments" in these two articles? Thanks!

* `components/http_kernel.rst`
* `create_framework/http_kernel_controller_resolver.rst`

I don't understand the changes well (`ControllerResolverInterface` removed `getArguments()`)

-----

@HeahDude could you please create a PR to update the changes needed about the deprecation of using `false` in `property_path` instead of `mapped` in `reference/forms/types/options/property_path.rst.inc`? Thanks!

-----

There is a pending deprecation message in `security/multiple_user_providers.rst` ... but that's fixed in the pending PR #8612.

-----

A final question: I've removed the explanation of the deprecated `kernel.root_dir` in `reference/configuration/kernel.rst` and kept only `kernel.project_dir`.  Would you instead prefer to keep a reference to the still heavily used `kernel.root_dir` to explain that it's deprecated?

Commits
-------

02c676a fixing old reference
eb53f14 Fixing test failure
47a224a Fixed ater Wouter's review
597b75b Removed more references about profiler.matcher option
0266046 Removed deprecated features and notices
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0