From b6bec366c5679480dda583a307d4064ba04cb323 Mon Sep 17 00:00:00 2001 From: don mbelembe Date: Wed, 12 Apr 2023 02:16:43 +0100 Subject: [PATCH] support for laravel 10 --- .DS_Store | Bin 0 -> 6148 bytes CHANGELOG.md | 2 +- composer.json | 20 ++++++++++---------- phpunit.xml.dist | 11 ++++------- tests/ArchTest.php | 5 +++++ 5 files changed, 20 insertions(+), 18 deletions(-) create mode 100644 .DS_Store create mode 100644 tests/ArchTest.php diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..4f2fc84139a9adefdd7dc6abc3b75a0504d20f48 GIT binary patch literal 6148 zcmeHKJ5B>J5S@V#twfWO3i%3Ys7XWziFIY<@s+=d7uMCGPwGyb4WkbRf`L8*=Qf?l{eOpFX0XWbhr}!x z2nPNc13aqd^$Z{7ck9vT$z7Y!?$JcVugCy`aqkg;iJT)>YBYP2G5oS)F_bK#*KlAw N1eB2If`Jn-@CoQvFGc_W literal 0 HcmV?d00001 diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ba896e..ddbe037 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,3 @@ # Changelog -All notable changes to `laravel-facebook-catalog` will be documented in this file. +- Add support for laravel 10.* diff --git a/composer.json b/composer.json index d6b03f3..b13490b 100644 --- a/composer.json +++ b/composer.json @@ -17,23 +17,23 @@ ], "require": { "php": "^8.1", - "spatie/laravel-package-tools": "^1.13.0", - "illuminate/contracts": "^9.0", - "spatie/array-to-xml": "2.8.*|3.*.*", - "illuminate/support": "5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|6.*.*|7.*.*|8.*.*|9.*.*" + "illuminate/contracts": "^10.0", + "spatie/array-to-xml": "^3.1", + "spatie/laravel-package-tools": "^1.14.0" }, "require-dev": { "laravel/pint": "^1.0", - "nunomaduro/collision": "^6.0", + "nunomaduro/collision": "^7.9", "nunomaduro/larastan": "^2.0.1", - "orchestra/testbench": "^7.0", - "pestphp/pest": "^1.21", - "pestphp/pest-plugin-laravel": "^1.1", + "orchestra/testbench": "^8.0", + "pestphp/pest": "^2.0", + "pestphp/pest-plugin-arch": "^2.0", + "pestphp/pest-plugin-laravel": "^2.0", "phpstan/extension-installer": "^1.1", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.0", - "phpunit/phpunit": "^9.5", - "spatie/pest-plugin-snapshots": "^1.1" + "spatie/laravel-ray": "^1.26", + "spatie/pest-plugin-snapshots": "^2.0" }, "autoload": { "psr-4": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 6a3ea36..0ebf661 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,14 +1,10 @@ - + tests diff --git a/tests/ArchTest.php b/tests/ArchTest.php new file mode 100644 index 0000000..ccc19b2 --- /dev/null +++ b/tests/ArchTest.php @@ -0,0 +1,5 @@ +expect(['dd', 'dump', 'ray']) + ->each->not->toBeUsed();