This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Bundle/FrameworkBundle
Robin Chalas 9660103ff1 minor #27443 [DX] Improve exception message when AbstractController::getParameter fails (curry684)
This PR was squashed before being merged into the 4.1 branch (closes #27443).

Discussion
----------

[DX] Improve exception message when AbstractController::getParameter fails

| Q             | A
| ------------- | ---
| Branch?       | 4.1
| Bug fix?      | no (DX)
| New feature?  | no
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #27436
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->

Improve exception message for situations where the `parameter_bag` is not present in `AbstractController`. Also fixed the exception to the correct type.

Commits
-------

a8f4128 [DX] Improve exception message when AbstractController::getParameter fails
2018-06-04 11:10:04 +02:00
..
CacheWarmer Merge branch '4.0' 2018-04-20 13:04:56 +02:00
Command Merge branch '4.0' into 4.1 2018-05-23 15:33:23 +02:00
Console [DI][FrameworkBundle] Hide service ids that start with a dot 2018-04-20 15:14:43 +02:00
Controller [DX] Improve exception message when AbstractController::getParameter fails 2018-06-04 11:10:01 +02:00
DataCollector [Messenger] Move data collector & command into the component 2018-04-05 17:21:58 +02:00
DependencyInjection [FrameworkBundle] cleanup generated test container 2018-05-24 17:31:00 +02:00
EventListener Deprecate bundle:controller:action and service:method notation 2018-02-21 06:14:04 +01:00
HttpCache Revert "[FrameworkBundle] Partially revert HttpCache is not longer abstract (4d075da)" 2018-04-02 13:58:37 +02:00
Kernel Deprecate bundle:controller:action and service:method notation 2018-02-21 06:14:04 +01:00
Resources [FrameworkBundle][TwigBridge] Fix BC break from strong dependency on CSRF token storage 2018-05-31 18:59:04 +02:00
Routing Merge branch '4.0' 2018-02-26 18:04:28 +01:00
Templating Merge branch '4.0' 2018-04-20 13:04:56 +02:00
Test Remove reference to the test container after kernel shutdown 2018-05-23 12:38:43 +02:00
Tests [DX] Improve exception message when AbstractController::getParameter fails 2018-06-04 11:10:01 +02:00
Translation [Translator] Further postpone adding resource files 2018-04-26 14:20:27 +02:00
.gitignore Added missing files .gitignore 2013-07-21 14:12:18 +02:00
CHANGELOG.md [FrameworkBundle] feature: add the ability to search a route 2018-03-21 10:40:34 +01:00
Client.php [FrameworkBundle] Fix using test.service_container when Client is rebooted 2018-05-25 15:53:35 +02:00
composer.json Merge branch '2.8' into 3.4 2018-05-21 12:06:52 +02:00
FrameworkBundle.php Merge branch '4.0' into 4.1 2018-05-31 12:17:53 +02:00
LICENSE fixed years in copyright 2018-01-03 08:23:28 +01:00
phpunit.xml.dist Merge branch '3.2' 2017-04-12 07:14:56 -07:00
README.md add readme files where missing 2016-03-07 11:36:15 +01:00