Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/sloth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
id: check_release_please
if: github.event.pull_request.user.id == 41898282 # release-please[bot]
run: |
echo "skip=true" >> $GITHUB_OUTPUT
echo "Skipping Sloth check for release-please PR"
exit 0

- name: Run Sloth
if: ${{ always() && steps.check_release_please.outcome == 'skipped' }}
if: ${{ !steps.check_release_please.outputs.skip }}
uses: lendable/sloth@e1fd9a2df2549f6e64188f274bc5d3b39d7842ed # 0.2.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion src/MartinGeorgiev/Utils/ArrayDataTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static function transformPostgresTextArrayToPHPArray(string $postgresArra
return [];
}

if (\str_contains($trimmed, '},{') || \str_starts_with($trimmed, '{{')) {
if (\str_contains($trimmed, '},{') || \str_starts_with($trimmed, '{{1')) {
throw InvalidArrayFormatException::multiDimensionalArrayNotSupported();
}

Expand Down