Skip to content

Commit

Permalink
php 8.4 support
Browse files Browse the repository at this point in the history
- added php 8.4 support
- dropped usage of psalm due to lack of progress in their developments
  • Loading branch information
wickedOne committed Nov 22, 2024
1 parent 328d3a9 commit f9fc77a
Show file tree
Hide file tree
Showing 4 changed files with 144 additions and 1,384 deletions.
37 changes: 3 additions & 34 deletions .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
php-version:
- "8.2"
- "8.3"
- "8.4"
operating-system:
- "ubuntu-latest"
steps:
Expand Down Expand Up @@ -123,40 +124,6 @@ jobs:
- name: "phpstan"
run: "vendor/bin/phpstan analyse --memory-limit=-1 --error-format=checkstyle | cs2pr"

static-analysis-psalm:
name: "static analysis psalm"

runs-on: ${{ matrix.operating-system }}

strategy:
matrix:
dependencies:
- "locked"
php-version:
- "8.2"
- "8.3"
operating-system:
- "ubuntu-latest"

steps:
- name: "Checkout"
uses: "actions/checkout@v4"

- name: "Install PHP"
uses: "shivammathur/[email protected]"
with:
coverage: "none"
php-version: "${{ matrix.php-version }}"
ini-values: memory_limit=-1

- name: "Install dependencies"
uses: "ramsey/[email protected]"
with:
dependency-versions: "${{ matrix.dependencies }}"

- name: "psalm"
run: "vendor/bin/psalm --shepherd --stats --output-format=github"

coding-standards:
name: "php cs fixer"

Expand Down Expand Up @@ -189,4 +156,6 @@ jobs:
dependency-versions: "${{ matrix.dependencies }}"

- name: "php cs fixer dry run"
env:
PHP_CS_FIXER_IGNORE_ENV: 1
run: "php-cs-fixer fix --dry-run --format=checkstyle | cs2pr"
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ this might be especially usefull when you switched to using the [phrase translat

[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2FwickedOne%2Fphrase-tag-bundle%2Fmaster)](https://dashboard.stryker-mutator.io/reports/github.com/wickedOne/phrase-tag-bundle/master)
[![codecov](https://codecov.io/gh/wickedOne/phrase-tag-bundle/branch/master/graph/badge.svg?token=UHKAVGURP7)](https://codecov.io/gh/wickedOne/phrase-tag-bundle)
[![psalm](https://shepherd.dev/github/wickedOne/phrase-tag-bundle/coverage.svg)](https://shepherd.dev/github/wickedOne/phrase-tag-bundle)
[![Latest Stable Version](http://poser.pugx.org/wickedone/phrase-tag-bundle/v)](https://packagist.org/packages/wickedone/phrase-tag-bundle)
[![Total Downloads](http://poser.pugx.org/wickedone/phrase-tag-bundle/downloads)](https://packagist.org/packages/wickedone/phrase-tag-bundle)
[![License](http://poser.pugx.org/wickedone/phrase-tag-bundle/license)](https://packagist.org/packages/wickedone/phrase-tag-bundle)
Expand Down
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,10 @@
"phpstan/phpstan-deprecation-rules": "^2.0",
"phpstan/phpstan-phpunit": "^2.0.1",
"phpunit/phpunit": "^10.5.11 || ^11.0",
"roave/security-advisories": "dev-latest",
"vimeo/psalm": "dev-master"
"roave/security-advisories": "dev-latest"
},
"require": {
"php": "~8.2.0 || ~8.3.0",
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
"symfony/config": "^6.4 || ^7.0",
"symfony/console": "^6.4 || ^7.0",
"symfony/framework-bundle": "^6.4 || ^7.0",
Expand Down
Loading

0 comments on commit f9fc77a

Please sign in to comment.