Skip to content

Commit

Permalink
Test on PHP 8.4, fix code style (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmai authored Dec 6, 2024
1 parent c216753 commit cf51645
Show file tree
Hide file tree
Showing 17 changed files with 25 additions and 5 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ['7.4', '8.0', '8.1', '8.2', '8.3']
php-version:
- '7.4'
- '8.0'
- '8.1'
- '8.2'
- '8.3'
- '8.4'
coverage: ['pcov']

name: Test with PHP ${{ matrix.php-version }}
Expand Down Expand Up @@ -63,7 +69,7 @@ jobs:
runs-on: ubuntu-latest

env:
PHP_VERSION: '8.2'
PHP_VERSION: '8.3'

steps:
- name: Checkout code
Expand Down Expand Up @@ -110,8 +116,8 @@ jobs:
runs-on: ubuntu-latest

env:
PHP_VERSION: '8.2'
PHP_CS_FIXER_VERSION: 'v3.35.1'
PHP_VERSION: '8.3'
PHP_CS_FIXER_VERSION: 'v3.65.0'

steps:
- name: Checkout
Expand Down
1 change: 1 addition & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Copyright 2020 Alexey Kopytko <[email protected]>
*
Expand Down
1 change: 0 additions & 1 deletion .phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
parameters:
checkGenericClassInNonGenericObjectType: false
inferPrivatePropertyTypeFromConstructor: true
level: max
paths:
Expand Down
1 change: 1 addition & 0 deletions src/Deferred.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Copyright 2020 Alexey Kopytko <[email protected]>
*
Expand Down
1 change: 1 addition & 0 deletions src/Immediate.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Copyright 2020 Alexey Kopytko <[email protected]>
*
Expand Down
1 change: 1 addition & 0 deletions src/Interfaces/Deferred.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Copyright 2020 Alexey Kopytko <[email protected]>
*
Expand Down
1 change: 1 addition & 0 deletions src/functions.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Copyright 2020 Alexey Kopytko <[email protected]>
*
Expand Down
1 change: 1 addition & 0 deletions tests/DeferredTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Copyright 2020 Alexey Kopytko <[email protected]>
*
Expand Down
1 change: 1 addition & 0 deletions tests/Examples/Calculator.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Copyright 2020 Alexey Kopytko <[email protected]>
*
Expand Down
1 change: 1 addition & 0 deletions tests/Examples/DeepThought.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Copyright 2020 Alexey Kopytko <[email protected]>
*
Expand Down
1 change: 1 addition & 0 deletions tests/Examples/HyperIntelligentMice.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Copyright 2020 Alexey Kopytko <[email protected]>
*
Expand Down
1 change: 1 addition & 0 deletions tests/ExamplesTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Copyright 2020 Alexey Kopytko <[email protected]>
*
Expand Down
1 change: 1 addition & 0 deletions tests/ImmediateTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Copyright 2020 Alexey Kopytko <[email protected]>
*
Expand Down
1 change: 1 addition & 0 deletions tests/LaterTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Copyright 2020 Alexey Kopytko <[email protected]>
*
Expand Down
1 change: 1 addition & 0 deletions tests/LazyTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Copyright 2020 Alexey Kopytko <[email protected]>
*
Expand Down
1 change: 1 addition & 0 deletions tests/NowTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Copyright 2020 Alexey Kopytko <[email protected]>
*
Expand Down
1 change: 1 addition & 0 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Copyright 2020 Alexey Kopytko <[email protected]>
*
Expand Down

0 comments on commit cf51645

Please sign in to comment.