Thanks to visit codestin.com
Credit goes to github.com

Skip to content

send the right type expected instead of a string #10506

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

Closed
wants to merge 236 commits into from
Closed

send the right type expected instead of a string #10506

wants to merge 236 commits into from

Conversation

greatalf
Copy link

No description provided.

fmata and others added 30 commits April 8, 2018 13:13
…ond)

This PR was merged into the master branch.

Discussion
----------

[DependencyInjection] Document ServiceSubscriberTrait

Documentation for symfony/symfony#27077

Commits
-------

b0ac3a4 document ServiceSubscriberTrait
* 4.1:
  Better explain render() and render_esi() functions
  Updated the embed controllers article
  Use <button> instead of <a> for JavaScript interactive buttons
* 4.1:
  add missing label
* 4.1:
  Update http_foundation.rst
  Use matching closing tag
…tark)

This PR was merged into the master branch.

Discussion
----------

use is_granted() instead of deprecated has_role()

using `has_role()` was deprecated in symfony/symfony#27305 since `4.2` by @nicolas-grekas

Commits
-------

5e6031b use is_granted() instead of deprecated has_role()
…od (AndreiIgna)

This PR was squashed before being merged into the master branch (closes #9898).

Discussion
----------

[HttpFoundation] Add info for getAcceptableFormats() method

Adds info for `Request::getAcceptableFormats()`

Should it add more info on docs page? Ex: `Request::getAcceptableContentTypes` returns the accepted content types which can be `text/html`, `application/json`, etc.
`Request::getAcceptableFormats` processes that and returns the formats based on those content types `html`, `json`

ref symfony/symfony#26486

Commits
-------

65d100e [HttpFoundation] Add info for getAcceptableFormats() method
This PR was merged into the master branch.

Discussion
----------

[OptionsResolver] Document setDeprecated method

Documenting feature symfony/symfony#27277.

Commits
-------

afa5e54 Document setDeprecated method from OptionsResolver component
* 4.1:
  Improved the front controller of the HttpCache
  Better docs about overriding third-party translations
  event constant mistake
  Updated the default values of some Cache config options
  add legacy labels
  Update Best Practices about service config format
  Update simple-example.rst to use const for jQuery
  Update shared-entry.rst to use Bootstrap 4's SCSS
  Removed an extra blank line
  Reword and added a note
  Link to proxy configuration docs from the routing scheme page
  Fixed typos
  Fixed security expression testing user
  Update messenger.rst
  Fix a configuration block in the Doctrine Associations page
  Fix numbering
  Mentioned Debian explicitly
* 4.1:
  Removed a short article about overriding bundle templates
  Fix configuration-block not working
  Change form.xxx_bind to form.xxx_submit
* 4.1:
  Removed a short article about overriding bundle templates
  Improved the front controller of the HttpCache
  Better docs about overriding third-party translations
  Change form.xxx_bind to form.xxx_submit
  add legacy labels
  Update Best Practices about service config format
  Fix a configuration block in the Doctrine Associations page
  Fix numbering
  add missing label
  Minor typo in csrf.rst
  Update setup.rst
* 4.1:
  Updated associations.rst
  Formatting: Apply PSR-2 formatting to code example
  Update conventions.rst
  Added a missing versionadded directive for 307/308 redirects
  Wrap long lines
  State Maker dependency for generating controllers
  Small grammar update in HttpFoundation
* 4.1:
  Fixed more occurrences of the wrong handler name
  bugfixes should be placed for the 2.8 branch
…uiluz)

This PR was merged into the master branch.

Discussion
----------

[Form] Ability to clear form errors

Documenting the new feature proposed in symfony/symfony#27580

Commits
-------

f07f536 Wrap long lines and add the versionadded directive
7a4465d Clarify that clearing errors makes the form valid
d4143f1 [Form] Ability to clear form errors
* 4.1:
  Removed the full config dumps from config reference articles
  Mention that the component implements both patterns
  Update event_dispatcher.rst
  Observer instead of Mediator pattern
  Recommend to use real env vars in production
  Update dotenv usage
* 4.1:
  Fix some namespaces
  Minor reword and fixes
  Add section about anonymous services
  Add iterable to the Type constraint
  Added a note about hidden questions, windows and tests
* 4.1:
  Use the ReadTheDocs theme as the default Sphinx theme
  Added the missing versionadded directive
  [ExpressionLanguage] Add missing argument in example code
  Explained some issues about command constructors and configure
  Install component for dev environment
  Fix not precise enough sentence
  Add new serializer empty_data feature doc
…Symfony 4.2 change (dmaicher, javiereguiluz)

This PR was merged into the master branch.

Discussion
----------

[DoctrineBridge] update doctrine event listeners doc for Symfony 4.2 change

See symfony/symfony#27675.

Doctrine entity listeners are always lazily instantiated as of Symfony 4.2.

Commits
-------

4409fd6 Explain that lazy listeners are mandatory, not default
b56ef9e Update event_listeners_subscribers.rst
d8bb849 Reworded and added the versionadded directive
601450e Update event_listeners_subscribers.rst
javiereguiluz and others added 18 commits October 10, 2018 16:00
* 4.1:
  Fix and improve JSON login docs
  [Configuration] Change the configuration to match framework.yaml/php
  [Serializer] Updated the list of loaded encoders
  [VarDumper] Enhance the ServerDumper documentation
* 4.1:
  [VarDumper] Add missing use statements
* 4.1:
  Fixed the ts-loader version
  Updated some config to follow the previous example
  Update routing.rst
…ute)

This PR was merged into the master branch.

Discussion
----------

[Security] - Document the port in access_control

Commits
-------

b142f57 Document the port in access_control
…re deprecation func (yceruto)

This PR was merged into the master branch.

Discussion
----------

[OptionsResolver] Documenting Options argument for closure deprecation func

See symfony/symfony#28738

Commits
-------

abb5189 Documenting Options argument for closure deprecation func
This PR was merged into the master branch.

Discussion
----------

Add deprecation notice for --env and --no-debug

Fix #10444.

- Add deprecation notice for `--env` and `--no-debug`.
- Update some command examples to use the `APP_ENV` & `APP_DEBUG` environment variables.

Commits
-------

77e3522 Add deprecation notice for --env and --no-debug
* 4.1:
  Improve is_granted documentation
  Fix phpunit command
  Replace extra ...
  [Messenger] Fix messenger.routing send_and_handle config
  Mentioned the 60 second timeout of processes
  fix #310430: DomCrawler component selectButton() docs update
* 4.1:
  Updated the command to run the Docker image
  [Doctrine Bridge] document priority for doctrine.event_listener tag
  Improved the docs of the instanceof config
  Add details on how the ClockMock::register works
  Add Dockerfile
  [Messenger] Register a handler for a specific bus
  Fix function name in expression
  [Routing] Fix path ressource
  Add missing semicolon in doc
This PR was merged into the master branch.

Discussion
----------

Add some lines of doc for waitUntil() (Process)

This adds some documentation for symfony/symfony#27742

Commits
-------

2814fea Add some lines of doc for waitUntil() (Process)
…lues (hiddewie)

This PR was squashed before being merged into the master branch (closes #10443).

Discussion
----------

Added docs for LDAP user provider with default (null) values

Fix #10336.

 - Add documentation for two fields of the LDAP user provider (UID key and filter).

Commits
-------

c19e78d Added docs for LDAP user provider with default (null) values
* 4.1:
  Add autoconfiguration note for MessageHandlers
  PhpFilesAdapter not invalidating cache
* 4.1:
  removing old reference
  Fixing missing link
  Tweaks based on feedback
  Reword
  Teak
  Fix some bugs, added missing note, removed dead code and revamping code
  Some punctuation stuff
  Many changes thanks for GREAT feedback from various people
  Overhauling the security section
  Update conditions.rst
  Update conditions.rst
  Update conditions.rst
  Update conditions.rst
@javiereguiluz
Copy link
Member

there was some problem when creating this pull request. But don't worry, this has happened to all of us (and to me, several times 😊).

Sometimes this is just because you created the changes in some branch, but selected a different branch on GitHub when creating the pull request. If that's the case, this could be solved just by changing the branch in this pull request using GitHub's interface.

Otherwise, and if you don't want to deal with Git issues, it's OK to close this and create a new pull request. Thanks!

mpiot and others added 7 commits October 18, 2018 12:59
This PR was squashed before being merged into the master branch (closes #10511).

Discussion
----------

[FormType] Add help_attr documentation

Add documentation about the new feature symfony/symfony#27043

Commits
-------

f6162bc [FormType] Add help_attr documentation
* 4.1:
  Mentioned the new file upload exception classes
  Fixing bad logic, caused by merge originally
  Update docs now that sessions are enabled automatically
  Mentioned user_checkers in the main security config reference
  If multiple guard authenticators have different providers, link to the details on chaining providers together.
* 4.1:
  Removed an unnecessary (and outdated) reference
  fix spacing
* 4.1:
  fixed use statement
@javiereguiluz
Copy link
Member

I'm closing here but you can open a new pull request with your proposed changes. Thanks.

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.