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::
262262 */
263263 class OrderPlacedEvent extends Event
264264 {
265- const NAME = 'order.placed';
265+ public const NAME = 'order.placed';
266266
267267 protected $order;
268268
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:
109109.. code-block :: terminal
110110
111111 # run all tests of the application
112- $ ./ bin/phpunit
112+ $ php bin/phpunit
113113
114114 # run all tests in the Util/ directory
115- $ ./ bin/phpunit tests/Util
115+ $ php bin/phpunit tests/Util
116116
117117 # run tests for the Calculator class
118- $ ./ bin/phpunit tests/Util/CalculatorTest.php
118+ $ php bin/phpunit tests/Util/CalculatorTest.php
119119
120120 .. index ::
121121 single: Tests; Functional tests
You can’t perform that action at this time.
0 commit comments