Skip to content

Commit

Permalink
Fix mockery dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvanassche committed Dec 21, 2023
1 parent c00e45b commit 9ee1b25
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
35 changes: 18 additions & 17 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,24 @@
"spatie/php-structure-discoverer": "^2.0"
},
"require-dev" : {
"fakerphp/faker" : "^1.14",
"friendsofphp/php-cs-fixer" : "^3.0",
"inertiajs/inertia-laravel" : "^0.6.3",
"nesbot/carbon" : "^2.63",
"nette/php-generator" : "^3.5",
"nunomaduro/larastan" : "^2.0",
"orchestra/testbench" : "^7.6|^8.0",
"pestphp/pest" : "^1.22",
"pestphp/pest-plugin-laravel" : "^1.3",
"phpbench/phpbench" : "^1.2",
"phpstan/extension-installer" : "^1.1",
"phpunit/phpunit" : "^9.3",
"spatie/invade" : "^1.0",
"spatie/laravel-typescript-transformer" : "^2.1.6",
"spatie/pest-plugin-snapshots" : "^1.1",
"spatie/phpunit-snapshot-assertions" : "^4.2",
"spatie/test-time" : "^1.2"
"fakerphp/faker": "^1.14",
"friendsofphp/php-cs-fixer": "^3.0",
"inertiajs/inertia-laravel": "^0.6.3",
"mockery/mockery": "^1.6",
"nesbot/carbon": "^2.63",
"nette/php-generator": "^3.5",
"nunomaduro/larastan": "^2.0",
"orchestra/testbench": "^7.6|^8.0",
"pestphp/pest": "^1.22",
"pestphp/pest-plugin-laravel": "^1.3",
"phpbench/phpbench": "^1.2",
"phpstan/extension-installer": "^1.1",
"phpunit/phpunit": "^9.3",
"spatie/invade": "^1.0",
"spatie/laravel-typescript-transformer": "^2.1.6",
"spatie/pest-plugin-snapshots": "^1.1",
"spatie/phpunit-snapshot-assertions": "^4.2",
"spatie/test-time": "^1.2"
},
"autoload" : {
"psr-4" : {
Expand Down
2 changes: 1 addition & 1 deletion tests/Support/Caching/CachedDataConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
it('will load cached data classes', function () {
$dataClass = DataClass::create(new ReflectionClass(SimpleData::class));

$mock = mock(
$mock = Mockery::mock(
new DataStructureCache(config('data.structure_caching.cache')),
function (MockInterface $spy) use ($dataClass) {
$spy
Expand Down

0 comments on commit 9ee1b25

Please sign in to comment.