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
4 changes: 1 addition & 3 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ jobs:
operating-system:
- ubuntu-latest
php-version:
- '8.0'
- '8.1'
- '8.2'
- '8.4'
steps:
- name: Checkout
uses: actions/checkout@v1
Expand Down
1 change: 1 addition & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
'phpdoc_summary' => false,
'yoda_style' => false,
'global_namespace_import' => true,
'new_with_parentheses' => false,
])
->setFinder($finder)
->setUsingCache(false)
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@
]
},
"require": {
"php": "^8.0"
"php": "^8.4"
},
"require-dev": {
"phpunit/phpunit": "^9.6",
"phpstan/phpstan": "^1.0",
"friendsofphp/php-cs-fixer": "^3.0"
"phpunit/phpunit": "^13.2",
"phpstan/phpstan": "^2.2",
"friendsofphp/php-cs-fixer": "^3.95"
}
}
4 changes: 2 additions & 2 deletions tests/MemoizationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Kalibora\Memoization;

use PHPUnit\Framework\Attributes\Depends;
use PHPUnit\Framework\TestCase;

/**
Expand Down Expand Up @@ -31,12 +32,11 @@ public function testInnerProcessIsCalledOnlyOnceWhenMultipleCalls(): array
}

/**
* @depends testInnerProcessIsCalledOnlyOnceWhenMultipleCalls
*
* @phpstan-param DependsData $data
*
* @phpstan-return DependsData
*/
#[Depends('testInnerProcessIsCalledOnlyOnceWhenMultipleCalls')]
public function testInnerProcessIsCalledOnlyOnceAgainAfterCleared(array $data): array
{
list($memo, $count, $func) = $data;
Expand Down
Loading