Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
uuf6429 committed Dec 10, 2024
1 parent 4e3ddcf commit 136afcf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: shivammathur/setup-php@v2
with:
coverage: none
php-version: '8.3'

- name: Install dependencies
run: composer update

- run: ./vendor/bin/php-cs-fixer fix --dry-run --diff --show-progress=dots

tests:
Expand Down
10 changes: 2 additions & 8 deletions src/Behat/Gherkin/Cache/MemoryCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,8 @@
*/
class MemoryCache implements CacheInterface
{
/**
* @var array<string, FeatureNode>
*/
private array $features = [];
/**
* @var array<string, int>
*/
private array $timestamps = [];
private $features = [];
private $timestamps = [];

/**
* Checks that cache for feature exists and is fresh.
Expand Down

0 comments on commit 136afcf

Please sign in to comment.