Release v1.4.0 #146

Merged
myrmidex merged 71 commits from release/v1.4.0 into main 2026-08-15 00:36:54 +02:00
3 changed files with 14 additions and 5 deletions
Showing only changes of commit 90ecad22a7 - Show all commits

View file

@ -38,7 +38,7 @@ jobs:
run: vendor/bin/pint --test run: vendor/bin/pint --test
- name: Static analysis - name: Static analysis
run: vendor/bin/phpstan analyse run: vendor/bin/phpstan analyse --memory-limit=1G
- name: Tests - name: Tests
run: php artisan test --coverage-clover coverage.xml --coverage-text run: php artisan test --coverage-clover coverage.xml --coverage-text

View file

@ -1,5 +1,11 @@
parameters: parameters:
ignoreErrors: ignoreErrors:
-
message: '#^Instanceof between Illuminate\\Http\\Client\\Response and Exception will always evaluate to false\.$#'
identifier: instanceof.alwaysFalse
count: 1
path: app/Services/Http/HttpFetcher.php
- -
message: '#^Call to an undefined static method App\\Models\\Feed\:\:withTrashed\(\)\.$#' message: '#^Call to an undefined static method App\\Models\\Feed\:\:withTrashed\(\)\.$#'
identifier: staticMethod.notFound identifier: staticMethod.notFound

View file

@ -336,11 +336,14 @@ public function test_it_keys_the_chart_on_its_data_so_a_range_change_replaces_it
Livewire::test(Dashboard::class)->call('applyRange', '2026-08-01', '2026-08-31') Livewire::test(Dashboard::class)->call('applyRange', '2026-08-01', '2026-08-31')
); );
preg_match('/wire:key="(chart-[a-f0-9]+)"/', $july, $julyKey); if (preg_match('/wire:key="(chart-[a-f0-9]+)"/', $july, $julyKey) !== 1) {
preg_match('/wire:key="(chart-[a-f0-9]+)"/', $august, $augustKey); $this->fail('July fragments contained no chart key.');
}
if (preg_match('/wire:key="(chart-[a-f0-9]+)"/', $august, $augustKey) !== 1) {
$this->fail('August fragments contained no chart key.');
}
$this->assertNotEmpty($julyKey);
$this->assertNotEmpty($augustKey);
$this->assertNotSame($julyKey[1], $augustKey[1]); $this->assertNotSame($julyKey[1], $augustKey[1]);
} }