From 8aefb717dc5d32611752c06c937863a1b728d956 Mon Sep 17 00:00:00 2001 From: Jamison Valenta Date: Fri, 13 Jan 2023 12:07:48 -0700 Subject: [PATCH] v9.45.1 changes --- tests/Support/SupportLazyCollectionIsLazyTest.php | 2 +- upgrade.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Support/SupportLazyCollectionIsLazyTest.php b/tests/Support/SupportLazyCollectionIsLazyTest.php index 7e0da74..6d64315 100644 --- a/tests/Support/SupportLazyCollectionIsLazyTest.php +++ b/tests/Support/SupportLazyCollectionIsLazyTest.php @@ -1517,7 +1517,7 @@ public function testWhereInstanceOfIsLazy() $data = $this->make(['a' => 0])->concat( $this->make([['a' => 1], ['a' => 2], ['a' => 3], ['a' => 4]]) ->mapInto(stdClass::class) - ); + ); $this->assertDoesNotEnumerateCollection($data, function ($collection) { $collection->whereInstanceOf(stdClass::class); diff --git a/upgrade.sh b/upgrade.sh index 91003bb..015b5a4 100755 --- a/upgrade.sh +++ b/upgrade.sh @@ -381,7 +381,7 @@ function getCurrentVersionFromGitHub() echo Getting current version from $repository... if [ -z "$requestedVersion" ]; then - collectionVersion=$(git ls-remote $repository --tags v9.44\* | 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.45\* | 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