feat: add tests, chore: update readme

This commit is contained in:
Benjamin Nussbaum 2025-03-03 22:20:52 +01:00
parent 715e6a2562
commit e6a2bdb3bc
27 changed files with 1179 additions and 299 deletions

155
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "2820695c16f3a51b2464c1ed739338ba",
"content-hash": "a37113926b52744df508a5619719b4dc",
"packages": [
{
"name": "bnussbau/laravel-trmnl",
@ -87,16 +87,16 @@
},
{
"name": "brick/math",
"version": "0.12.2",
"version": "0.12.3",
"source": {
"type": "git",
"url": "https://github.com/brick/math.git",
"reference": "901eddb1e45a8e0f689302e40af871c181ecbe40"
"reference": "866551da34e9a618e64a819ee1e01c20d8a588ba"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/brick/math/zipball/901eddb1e45a8e0f689302e40af871c181ecbe40",
"reference": "901eddb1e45a8e0f689302e40af871c181ecbe40",
"url": "https://api.github.com/repos/brick/math/zipball/866551da34e9a618e64a819ee1e01c20d8a588ba",
"reference": "866551da34e9a618e64a819ee1e01c20d8a588ba",
"shasum": ""
},
"require": {
@ -135,7 +135,7 @@
],
"support": {
"issues": "https://github.com/brick/math/issues",
"source": "https://github.com/brick/math/tree/0.12.2"
"source": "https://github.com/brick/math/tree/0.12.3"
},
"funding": [
{
@ -143,7 +143,7 @@
"type": "github"
}
],
"time": "2025-02-26T10:21:45+00:00"
"time": "2025-02-28T13:11:00+00:00"
},
{
"name": "carbonphp/carbon-doctrine-types",
@ -1203,16 +1203,16 @@
},
{
"name": "intervention/image",
"version": "3.11.1",
"version": "3.11.2",
"source": {
"type": "git",
"url": "https://github.com/Intervention/image.git",
"reference": "0f87254688e480fbb521e2a1ac6c11c784ca41af"
"reference": "ebbb711871fb261c064cf4c422f5f3c124fe1842"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Intervention/image/zipball/0f87254688e480fbb521e2a1ac6c11c784ca41af",
"reference": "0f87254688e480fbb521e2a1ac6c11c784ca41af",
"url": "https://api.github.com/repos/Intervention/image/zipball/ebbb711871fb261c064cf4c422f5f3c124fe1842",
"reference": "ebbb711871fb261c064cf4c422f5f3c124fe1842",
"shasum": ""
},
"require": {
@ -1223,7 +1223,7 @@
"require-dev": {
"mockery/mockery": "^1.6",
"phpstan/phpstan": "^2.1",
"phpunit/phpunit": "^10.0 || ^11.0",
"phpunit/phpunit": "^10.0 || ^11.0 || ^12.0",
"slevomat/coding-standard": "~8.0",
"squizlabs/php_codesniffer": "^3.8"
},
@ -1259,7 +1259,7 @@
],
"support": {
"issues": "https://github.com/Intervention/image/issues",
"source": "https://github.com/Intervention/image/tree/3.11.1"
"source": "https://github.com/Intervention/image/tree/3.11.2"
},
"funding": [
{
@ -1275,7 +1275,7 @@
"type": "ko_fi"
}
],
"time": "2025-02-01T07:28:26+00:00"
"time": "2025-02-27T13:08:55+00:00"
},
{
"name": "laravel/framework",
@ -2295,16 +2295,16 @@
},
{
"name": "livewire/flux",
"version": "v2.0.3",
"version": "v2.0.4",
"source": {
"type": "git",
"url": "https://github.com/livewire/flux.git",
"reference": "dec010f09419cd9d9930abc4b304802c379be57e"
"reference": "6b0d59040715f072982bfc92fe71414b44d45a0c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/livewire/flux/zipball/dec010f09419cd9d9930abc4b304802c379be57e",
"reference": "dec010f09419cd9d9930abc4b304802c379be57e",
"url": "https://api.github.com/repos/livewire/flux/zipball/6b0d59040715f072982bfc92fe71414b44d45a0c",
"reference": "6b0d59040715f072982bfc92fe71414b44d45a0c",
"shasum": ""
},
"require": {
@ -2352,9 +2352,9 @@
],
"support": {
"issues": "https://github.com/livewire/flux/issues",
"source": "https://github.com/livewire/flux/tree/v2.0.3"
"source": "https://github.com/livewire/flux/tree/v2.0.4"
},
"time": "2025-02-26T00:29:58+00:00"
"time": "2025-02-28T16:35:28+00:00"
},
{
"name": "livewire/livewire",
@ -3618,16 +3618,16 @@
},
{
"name": "ramsey/collection",
"version": "2.0.0",
"version": "2.1.0",
"source": {
"type": "git",
"url": "https://github.com/ramsey/collection.git",
"reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5"
"reference": "3c5990b8a5e0b79cd1cf11c2dc1229e58e93f109"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/ramsey/collection/zipball/a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5",
"reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5",
"url": "https://api.github.com/repos/ramsey/collection/zipball/3c5990b8a5e0b79cd1cf11c2dc1229e58e93f109",
"reference": "3c5990b8a5e0b79cd1cf11c2dc1229e58e93f109",
"shasum": ""
},
"require": {
@ -3635,25 +3635,22 @@
},
"require-dev": {
"captainhook/plugin-composer": "^5.3",
"ergebnis/composer-normalize": "^2.28.3",
"fakerphp/faker": "^1.21",
"ergebnis/composer-normalize": "^2.45",
"fakerphp/faker": "^1.24",
"hamcrest/hamcrest-php": "^2.0",
"jangregor/phpstan-prophecy": "^1.0",
"mockery/mockery": "^1.5",
"jangregor/phpstan-prophecy": "^2.1",
"mockery/mockery": "^1.6",
"php-parallel-lint/php-console-highlighter": "^1.0",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpcsstandards/phpcsutils": "^1.0.0-rc1",
"phpspec/prophecy-phpunit": "^2.0",
"phpstan/extension-installer": "^1.2",
"phpstan/phpstan": "^1.9",
"phpstan/phpstan-mockery": "^1.1",
"phpstan/phpstan-phpunit": "^1.3",
"phpunit/phpunit": "^9.5",
"psalm/plugin-mockery": "^1.1",
"psalm/plugin-phpunit": "^0.18.4",
"ramsey/coding-standard": "^2.0.3",
"ramsey/conventional-commits": "^1.3",
"vimeo/psalm": "^5.4"
"php-parallel-lint/php-parallel-lint": "^1.4",
"phpspec/prophecy-phpunit": "^2.3",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-mockery": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpunit/phpunit": "^10.5",
"ramsey/coding-standard": "^2.3",
"ramsey/conventional-commits": "^1.6",
"roave/security-advisories": "dev-latest"
},
"type": "library",
"extra": {
@ -3691,19 +3688,9 @@
],
"support": {
"issues": "https://github.com/ramsey/collection/issues",
"source": "https://github.com/ramsey/collection/tree/2.0.0"
"source": "https://github.com/ramsey/collection/tree/2.1.0"
},
"funding": [
{
"url": "https://github.com/ramsey",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/ramsey/collection",
"type": "tidelift"
}
],
"time": "2022-12-31T21:50:55+00:00"
"time": "2025-03-02T04:48:29+00:00"
},
{
"name": "ramsey/uuid",
@ -3925,6 +3912,68 @@
],
"time": "2025-02-06T14:58:20+00:00"
},
{
"name": "spatie/pest-expectations",
"version": "1.3.0",
"source": {
"type": "git",
"url": "https://github.com/spatie/pest-expectations.git",
"reference": "e7e7be733f315157da97a44988099374edeffc23"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/spatie/pest-expectations/zipball/e7e7be733f315157da97a44988099374edeffc23",
"reference": "e7e7be733f315157da97a44988099374edeffc23",
"shasum": ""
},
"require": {
"php": "^8.1"
},
"require-dev": {
"illuminate/contracts": "^9.47|^10.0",
"laravel/pint": "^1.2",
"pestphp/pest": "^1.20|^2.0",
"spatie/ray": "^1.28"
},
"type": "library",
"autoload": {
"files": [
"src/PestExpectations.php",
"src/Helpers.php"
],
"psr-4": {
"Spatie\\PestExpectations\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Freek Van der Herten",
"email": "freek@spatie.be",
"role": "Developer"
}
],
"description": "A collection of handy custom Pest customisations",
"homepage": "https://github.com/spatie/pest-expectations",
"keywords": [
"pest-expectations",
"spatie"
],
"support": {
"issues": "https://github.com/spatie/pest-expectations/issues",
"source": "https://github.com/spatie/pest-expectations/tree/1.3.0"
},
"funding": [
{
"url": "https://github.com/spatie",
"type": "github"
}
],
"time": "2023-04-05T17:19:05+00:00"
},
{
"name": "spatie/temporary-directory",
"version": "2.3.0",