Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
max-parallel: 6
matrix:
operatingSystem: [ubuntu-latest, windows-latest]
phpVersion: ['8.1', '8.2', '8.3', '8.4']
phpVersion: ['8.1', '8.2', '8.3', '8.4', '8.5']
Comment thread
austinderrick marked this conversation as resolved.
fail-fast: false
runs-on: ${{ matrix.operatingSystem }}
name: ${{ matrix.operatingSystem }} / PHP ${{ matrix.phpVersion }}
Expand Down
2 changes: 1 addition & 1 deletion src/Config/Repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ protected function load($group, $namespace, $collection)
// If we've already loaded this collection, we will just bail out since we do
// not want to load it again. Once items are loaded a first time they will
// stay kept in memory within this class and not loaded from disk again.
if (isset($this->afterLoad[$namespace])) {
if ($namespace !== null && isset($this->afterLoad[$namespace])) {
$items = $this->callAfterLoad($namespace, $group, $items);
}

Expand Down
2 changes: 1 addition & 1 deletion src/Console/Traits/ProcessesQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ trait ProcessesQuery
* query by the provided chunkSize, running the callback on each record and
* limiting number of records processed to the provided limit
*/
public function processQuery(Builder $query, callable $callback, int $chunkSize = 100, int $limit = null): void
public function processQuery(Builder $query, callable $callback, int $chunkSize = 100, ?int $limit = null): void
{
$totalRecords = $query->count();

Expand Down
2 changes: 1 addition & 1 deletion src/Network/Http.php
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ public function send()
/*
* Close resources
*/
curl_close($curl);
unset($curl);

if ($this->streamFile) {
rewind($headerStream);
Expand Down
Loading