File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ order. Start by creating this custom event class and documenting it::
262
262
*/
263
263
class OrderPlacedEvent extends Event
264
264
{
265
- const NAME = 'order.placed';
265
+ public const NAME = 'order.placed';
266
266
267
267
protected $order;
268
268
Original file line number Diff line number Diff line change @@ -109,13 +109,13 @@ You can also limit a test run to a directory or a specific test file:
109
109
.. code-block :: terminal
110
110
111
111
# run all tests of the application
112
- $ ./ bin/phpunit
112
+ $ php bin/phpunit
113
113
114
114
# run all tests in the Util/ directory
115
- $ ./ bin/phpunit tests/Util
115
+ $ php bin/phpunit tests/Util
116
116
117
117
# run tests for the Calculator class
118
- $ ./ bin/phpunit tests/Util/CalculatorTest.php
118
+ $ php bin/phpunit tests/Util/CalculatorTest.php
119
119
120
120
.. index ::
121
121
single: Tests; Functional tests
You can’t perform that action at this time.
0 commit comments