Skip to content

Commit

Permalink
Merge pull request #26 from phpbb/update/symfony_6.4
Browse files Browse the repository at this point in the history
Update for compatibility with PHP 8.1 & Symfony 6.4
  • Loading branch information
marc1706 authored May 15, 2024
2 parents 2864892 + 7421628 commit cf8663f
Show file tree
Hide file tree
Showing 10 changed files with 2,713 additions and 746 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Tests

on:
push:
branches:
- master
- update/symfony_6.4
pull_request:
branches:
- master

jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- php: '8.1'
- php: '8.2'
- php: '8.3'

name: PHP ${{ matrix.php }}

steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 100

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, intl, gd, exif, iconv
coverage: none

- name: Setup environment for dev-hooks
env:
PHP_VERSION: ${{ matrix.php }}
run: |
php composer.phar install --no-interaction
- name: Run unit tests
run: |
php vendor/bin/phpunit --verbose --stop-on-error
17 changes: 12 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,21 @@
}
},
"require": {
"php": ">=5.6.0",
"php": ">=8.1.0",
"ext-curl": "*",
"chobie/jira-api-restclient": "2.0.*@dev",
"knplabs/github-api": "^1.4",
"pimple/pimple": "^3.0"
"knplabs/github-api": "^3.13",
"pimple/pimple": "^3.5",
"guzzlehttp/guzzle": "^7.0.1",
"http-interop/http-factory-guzzle": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^4.7",
"squizlabs/php_codesniffer": "^2.3"
"phpunit/phpunit": "^9.6",
"squizlabs/php_codesniffer": "^3.7"
},
"config": {
"allow-plugins": {
"php-http/discovery": true
}
}
}
Loading

0 comments on commit cf8663f

Please sign in to comment.