File tree Expand file tree Collapse file tree 8 files changed +8
-8
lines changed Expand file tree Collapse file tree 8 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ You can also ask and validate a hidden response::
156156
157157 $validator = function ($value) {
158158 if ('' === trim($value)) {
159- throw new \Exception('The password can not be empty');
159+ throw new \Exception('The password cannot be empty');
160160 }
161161
162162 return $value;
Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ You can also use a validator with a hidden question::
299299 $question = new Question('Please enter your password');
300300 $question->setValidator(function ($value) {
301301 if (trim($value) == '') {
302- throw new \Exception('The password can not be empty');
302+ throw new \Exception('The password cannot be empty');
303303 }
304304
305305 return $value;
Original file line number Diff line number Diff line change @@ -323,7 +323,7 @@ Use :method:`Symfony\\Component\\Process\\Process::disableOutput` and
323323
324324.. caution ::
325325
326- You can not enable or disable the output while the process is running.
326+ You cannot enable or disable the output while the process is running.
327327
328328 If you disable the output, you cannot access ``getOutput() ``,
329329 ``getIncrementalOutput() ``, ``getErrorOutput() `` or ``getIncrementalErrorOutput() ``.
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ of your application may just break it by e.g. sending HTTP headers or
9191corrupting your view, the bundle configures the ``dump() `` function so that
9292variables are dumped in the web debug toolbar.
9393
94- But if the toolbar can not be displayed because you e.g. called ``die ``/``exit ``
94+ But if the toolbar cannot be displayed because you e.g. called ``die ``/``exit ``
9595or a fatal error occurred, then dumps are written on the regular output.
9696
9797In a Twig template, two constructs are available for dumping a variable.
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ How to Create a SOAP Web Service in a Symfony Controller
88
99Setting up a controller to act as a SOAP server is simple with a couple
1010tools. You must, of course, have the `PHP SOAP `_ extension installed.
11- As the PHP SOAP extension can not currently generate a WSDL, you must either
11+ As the PHP SOAP extension cannot currently generate a WSDL, you must either
1212create one from scratch or use a 3rd party generator.
1313
1414.. note ::
Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ interface and have an event method for each event it subscribes to::
207207
208208.. tip ::
209209
210- Doctrine event subscribers can not return a flexible array of methods to
210+ Doctrine event subscribers cannot return a flexible array of methods to
211211 call for the events like the :ref: `Symfony event subscriber <event_dispatcher-using-event-subscribers >`
212212 can. Doctrine event subscribers must return a simple array of the event
213213 names they subscribe to. Doctrine will then expect methods on the subscriber
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ The following options are defined in the
2929:class: `Symfony\\ Component\\ Form\\ Extension\\ Core\\ Type\\ BaseType ` class.
3030The ``BaseType `` class is the parent class for both the ``button `` type
3131and the :doc: `form type </reference/forms/types/form >`, but it is not part
32- of the form type tree (i.e. it can not be used as a form type on its own).
32+ of the form type tree (i.e. it cannot be used as a form type on its own).
3333
3434.. include :: /reference/forms/types/options/button_attr.rst.inc
3535
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ The following options are defined in the
150150:class: `Symfony\\ Component\\ Form\\ Extension\\ Core\\ Type\\ BaseType ` class.
151151The ``BaseType `` class is the parent class for both the ``form `` type and
152152the :doc: `button type </reference/forms/types/button >`, but it is not part
153- of the form type tree (i.e. it can not be used as a form type on its own).
153+ of the form type tree (i.e. it cannot be used as a form type on its own).
154154
155155.. include :: /reference/forms/types/options/attr.rst.inc
156156
You can’t perform that action at this time.
0 commit comments