Skip to content

add php 8.4 compat #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 15, 2024
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
23 changes: 2 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
php:
- 8.2
- 8.3
- 8.4

steps:
- name: Set up PHP
Expand All @@ -28,7 +29,7 @@ jobs:
ini-values: zend.assertions=1

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Validate composer.json and composer.lock
run: composer validate --strict
Expand All @@ -47,23 +48,3 @@ jobs:

- name: Run tests
run: composer test

psalm:
name: Psalm
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: bcmath, gmp, intl, dom, mbstring

- name: Download dependencies
run: composer install --classmap-authoritative

- name: Psalm
run: vendor/bin/psalm
17 changes: 6 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,19 @@
],
"require": {
"php": ">=8.2",
"symfony/framework-bundle": "^7.1",
"symfony/property-access": "^7.1",
"symfony/serializer": "^7.1",
"symfony/validator": "^7.1",
"symfony/framework-bundle": "^7.0",
"symfony/property-access": "^7.0",
"symfony/serializer": "^7.0",
"symfony/validator": "^7.0",
"zircote/swagger-php": "^4.7",
"symfony/expression-language": "^7.1"
"symfony/expression-language": "^7.0"
},
"require-dev": {
"roave/security-advisories": "dev-latest",
"vimeo/psalm": "^5.0",
"phpunit/phpunit": "^10.0",
"psalm/plugin-phpunit": "^0.18",
"symfony/browser-kit": "^7.1",
"symfony/browser-kit": "^7.0",
"friendsofphp/php-cs-fixer": "^3.54"
},
"conflict": {
"zircote/swagger-php": "=4.8.7"
},
"autoload": {
"psr-4": {
"OpenSolid\\OpenApiBundle\\": "src/"
Expand Down
56 changes: 0 additions & 56 deletions psalm.xml

This file was deleted.

Loading