This repository was archived by the owner on Oct 6, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,8 +15,7 @@ echo -e "\e[46m§ Trying to execute tests under PHPUnit ${PHPUNIT}.\e[0m"
1515rm -f composer.lock
1616
1717echo -e " \n\e[46m§ Installing deps...\e[0m"
18- composer require -q --dev --no-update phpunit/phpunit:${PHPUNIT}
19- composer update -q $DEFAULT_COMPOSER_FLAGS && INSTALLED=1 || INSTALLED=0
18+ composer require -q --dev --no-update phpunit/phpunit:${PHPUNIT} && composer update -q $DEFAULT_COMPOSER_FLAGS && INSTALLED=1 || INSTALLED=0
2019git checkout composer.json
2120
2221if [ $INSTALLED == 0 ]
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ public static function useHeader($use)
5757 public static function report ($ issue )
5858 {
5959 if (self ::$ useHeader ) {
60- $ issue = "PHPUnit good practice has been abused . \n$ issue " ;
60+ $ issue = "PHPUnit good practice has been violated . \n$ issue " ;
6161 }
6262
6363 $ reporter = self ::$ customReporter ? self ::$ customReporter : self ::getDefaultReporter ();
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public function tearDown()
3232
3333 public function testReportWithDefaults ()
3434 {
35- $ expectedMessage = "PHPUnit good practice has been abused . \nFoo. " ;
35+ $ expectedMessage = "PHPUnit good practice has been violated . \nFoo. " ;
3636
3737 if (is_callable ([$ this , 'expectException ' ])) {
3838 $ this ->expectException (Warning::class);
You can’t perform that action at this time.
0 commit comments