Skip to content

Commit

Permalink
Remove psalm (will replace with phpstan)
Browse files Browse the repository at this point in the history
Also bump required PHP version to 8.3
  • Loading branch information
christeredvartsen committed Jan 6, 2025
1 parent a60b71d commit 91b3f35
Show file tree
Hide file tree
Showing 6 changed files with 781 additions and 1,992 deletions.
4 changes: 0 additions & 4 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ After this has been started you can execute the test suites by running:
./vendor/bin/behat --strict
./vendor/bin/phpunit

Psalm is used for static code analysis:

vendor/bin/psalm

## Documentation

The extension uses [Sphinx](http://www.sphinx-doc.org/en/stable/) for documentation, and all end-user documentation resides in the `docs` directory. To generate the current documentation after checking out your fork simply run the `docs` composer script:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.1', '8.2']
php: ['8.3']
name: Validate and test on PHP ${{ matrix.php }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -50,9 +50,6 @@ jobs:
- name: Run integration tests
run: vendor/bin/behat --strict

- name: Run static code analysis
run: vendor/bin/psalm

- name: Check coding standard
run: php-cs-fixer fix --dry-run --diff

Expand Down
10 changes: 3 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,20 @@
"issues": "https://github.com/imbo/behat-api-extension/issues"
},
"require": {
"php": ">=8.1",
"php": ">=8.3",
"ext-json": "*",
"beberlei/assert": "^3.3",
"behat/behat": "^3.8",
"firebase/php-jwt": "^6.4",
"guzzlehttp/guzzle": "^7.3"
},
"require-dev": {
"alexeyshockov/guzzle-psalm-plugin": "^1.0",
"imbo/imbo-coding-standard": "^2.0",
"phpunit/phpunit": "^10.0",
"psalm/plugin-phpunit": "^0.18.4",
"slim/psr7": "^1.3",
"slim/slim": "^4.7",
"symfony/process": "^6.2",
"tuupola/slim-basic-auth": "^3.3",
"vimeo/psalm": "^5.8"
"symfony/process": "^7.2",
"tuupola/slim-basic-auth": "^3.3"
},
"autoload": {
"psr-4": {
Expand All @@ -61,7 +58,6 @@
"phpunit": "vendor/bin/phpunit",
"phpunit:coverage": "vendor/bin/phpunit --coverage-html build/coverage",
"behat": "vendor/bin/behat --strict",
"sa": "vendor/bin/psalm",
"cs": "php-cs-fixer fix --dry-run --diff",
"dev": "php -S localhost:8080 -t ./features/bootstrap > server.log 2>&1",
"docs": "cd docs; make html"
Expand Down
Loading

0 comments on commit 91b3f35

Please sign in to comment.