Skip to content
This repository was archived by the owner on Dec 9, 2023. It is now read-only.

Commit 26527cc

Browse files
committed
Merge branch '2.3' into 2.7
* 2.3: Updated all the README files [TwigBundle] Fix failing test on appveyor [FrameworkBundle] Fix a regression in handling absolute and namespaced template paths Allow to normalize \Traversable Remove _path from query parameters when fragment is a subrequest and request attributes are already set Added tests for _path removal in FragmentListener Simplified everything Added a test Fixed the problem in an easier way Fixed a syntax issue Improved the error message when a template is not found [CodingStandards] Conformed to coding standards [TwigBundle] fixed Include file locations in "Template could not be found" exception
2 parents e96f1ff + 9233292 commit 26527cc

File tree

1 file changed

+6
-35
lines changed

1 file changed

+6
-35
lines changed

README.md

Lines changed: 6 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,13 @@
11
Debug Component
22
===============
33

4-
Debug provides tools to make debugging easier.
5-
6-
Enabling all debug tools is as easy as calling the `enable()` method on the
7-
main `Debug` class:
8-
9-
```php
10-
use Symfony\Component\Debug\Debug;
11-
12-
Debug::enable();
13-
```
14-
15-
You can also use the tools individually:
16-
17-
```php
18-
use Symfony\Component\Debug\DebugClassLoader;
19-
use Symfony\Component\Debug\ErrorHandler;
20-
use Symfony\Component\Debug\ExceptionHandler;
21-
22-
if ('cli' !== php_sapi_name()) {
23-
ini_set('display_errors', 0);
24-
ExceptionHandler::register();
25-
} elseif (!ini_get('log_errors') || ini_get('error_log')) {
26-
ini_set('display_errors', 1);
27-
}
28-
ErrorHandler::register();
29-
DebugClassLoader::enable();
30-
```
31-
32-
This component can optionally take advantage of the features of the HttpKernel
33-
and HttpFoundation components.
4+
The Debug component provides tools to ease debugging PHP code.
345

356
Resources
367
---------
378

38-
You can run the unit tests with the following command:
39-
40-
$ cd path/to/Symfony/Component/Debug/
41-
$ composer install
42-
$ phpunit
9+
* [Documentation](https://symfony.com/doc/current/components/debug/index.html)
10+
* [Contributing](https://symfony.com/doc/current/contributing/index.html)
11+
* [Report issues](https://github.com/symfony/symfony/issues) and
12+
[send Pull Requests](https://github.com/symfony/symfony/pulls)
13+
in the [main Symfony repository](https://github.com/symfony/symfony)

0 commit comments

Comments
 (0)