@@ -36,16 +36,16 @@ If the bug is related to the Symfony Framework or if it's too complex to create
36
36
a PHP script, it's better to reproduce the bug by forking the Symfony Standard
37
37
edition. To do so:
38
38
39
- 1 . Go to https://github.com/symfony/symfony-standard and click on the **Fork **
39
+ # . Go to https://github.com/symfony/symfony-standard and click on the **Fork **
40
40
button to make a fork of that repository or go to your already forked copy.
41
- 2 . Clone the forked repository into your computer:
41
+ # . Clone the forked repository into your computer:
42
42
``git clone git://github.com/YOUR-GITHUB-USERNAME/symfony-standard.git ``
43
- 3 . Browse the project and create a new branch (e.g. ``issue_23567 ``,
43
+ # . Browse the project and create a new branch (e.g. ``issue_23567 ``,
44
44
``reproduce_23657 ``, etc.)
45
- 4 . Now you must add the minimum amount of code to reproduce the bug. This is the
45
+ # . Now you must add the minimum amount of code to reproduce the bug. This is the
46
46
trickiest part and it's explained a bit more later.
47
- 5 . Add, commit and push all your changes.
48
- 6 . Add a comment in your original issue report to share the URL of your forked
47
+ # . Add, commit and push all your changes.
48
+ # . Add a comment in your original issue report to share the URL of your forked
49
49
project (e.g. ``https://github.com/YOUR-GITHUB-USERNAME/symfony-standard/tree/issue_23567 ``)
50
50
and, if necessary, explain the steps to reproduce (e.g. "browse this URL",
51
51
"fill in this data in the form and submit it", etc.)
@@ -57,16 +57,16 @@ The key to create a bug reproducer is to solely focus on the feature that you
57
57
suspect is failing. For example, imagine that you suspect that the bug is related
58
58
to a route definition. Then, after forking the Symfony Standard Edition:
59
59
60
- 1 . Don't edit any of the default Symfony configuration options.
61
- 2 . Don't copy your original application code and don't use the same structure
60
+ # . Don't edit any of the default Symfony configuration options.
61
+ # . Don't copy your original application code and don't use the same structure
62
62
of bundles, controllers, actions, etc. as in your original application.
63
- 3 . Open the default controller class of the AppBundle and add your routing
63
+ # . Open the default controller class of the AppBundle and add your routing
64
64
definition using annotations.
65
- 4 . Don't create or modify any other file.
66
- 5 . Execute the ``server:run `` command and browse the previously defined route
65
+ # . Don't create or modify any other file.
66
+ # . Execute the ``server:run `` command and browse the previously defined route
67
67
to see if the bug appears or not.
68
- 6 . If you can see the bug, you're done and you can already share the code with us.
69
- 7 . If you can't see the bug, you must keep making small changes. For example, if
68
+ # . If you can see the bug, you're done and you can already share the code with us.
69
+ # . If you can't see the bug, you must keep making small changes. For example, if
70
70
your original route was defined using XML, forget about the previous route
71
71
annotation and define the route using XML instead. Or maybe your application
72
72
uses bundle inheritance and that's where the real bug is. Then, forget about
0 commit comments