Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Commit

Permalink
Merge pull request #326 from tighten/v9.33.0-changes
Browse files Browse the repository at this point in the history
v9.33.0 changes
  • Loading branch information
jamisonvalenta authored Sep 30, 2022
2 parents eb2326c + 4d648c8 commit 306135c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions tests/files/Support/Stringable.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,22 +168,24 @@ public function camel()
* Determine if a given string contains a given substring.
*
* @param string|iterable<string> $needles
* @param bool $ignoreCase
* @return bool
*/
public function contains($needles)
public function contains($needles, $ignoreCase = false)
{
return Str::contains($this->value, $needles);
return Str::contains($this->value, $needles, $ignoreCase);
}

/**
* Determine if a given string contains all array values.
*
* @param iterable<string> $needles
* @param bool $ignoreCase
* @return bool
*/
public function containsAll($needles)
public function containsAll($needles, $ignoreCase = false)
{
return Str::containsAll($this->value, $needles);
return Str::containsAll($this->value, $needles, $ignoreCase);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ function getCurrentVersionFromGitHub()
echo Getting current version from $repository...

if [ -z "$requestedVersion" ]; then
collectionVersion=$(git ls-remote $repository --tags v9.32\* | grep tags/ | grep -v {} | cut -d \/ -f 3 | cut -d v -f 2 | grep -v RC | grep -vi beta | sort -t. -k 1,1n -k 2,2n -k 3,3n| tail -1)
collectionVersion=$(git ls-remote $repository --tags v9.33\* | grep tags/ | grep -v {} | cut -d \/ -f 3 | cut -d v -f 2 | grep -v RC | grep -vi beta | sort -t. -k 1,1n -k 2,2n -k 3,3n| tail -1)
else
collectionVersion=$requestedVersion
fi
Expand Down

0 comments on commit 306135c

Please sign in to comment.