oops - previously adjusted spacing breaks the grep
authordemeritcowboy <demeritcowboy@hotmail.com>
Sat, 30 Jul 2022 22:56:22 +0000 (18:56 -0400)
committerdemeritcowboy <demeritcowboy@hotmail.com>
Sat, 30 Jul 2022 22:56:22 +0000 (18:56 -0400)
tools/scripts/composer/guzzle-mockhandler-fix.sh

index 37290a4fbe97e147b01d8689066f17be4aaa9989..356880a3237b5b123c7c39bc48768c3bb5f217ea 100755 (executable)
@@ -16,6 +16,6 @@ function simple_replace() {
 
 
 # php 8.1 compatibility
-if ! grep -q ':int' vendor/guzzlehttp/guzzle/src/Handler/MockHandler.php; then
+if ! grep -q ': int' vendor/guzzlehttp/guzzle/src/Handler/MockHandler.php; then
   simple_replace vendor/guzzlehttp/guzzle/src/Handler/MockHandler.php '#public function count\(\)$#m' 'public function count(): int'
 fi