Skip to content

Commit

Permalink
#14 add support for PHP 8.3 (#15)
Browse files Browse the repository at this point in the history
* #14 add support for PHP 8.3

* #14 add dependencies updates

* #14 add new PHP unit format

* #14 add remove deprecated rules

* #14 fix code modernization issues

* #14 fix deprecated command name
  • Loading branch information
khalyomede authored Nov 28, 2023
1 parent 1bdfe59 commit 3b2a6d5
Show file tree
Hide file tree
Showing 12 changed files with 1,368 additions and 870 deletions.
28 changes: 27 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
workflow_dispatch:

jobs:
build:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -33,3 +33,29 @@ jobs:

- name: Check updates
run: docker-compose run composer run updates

test_82:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install dependencies
run: docker-compose run composer82 install

- name: Test
run: docker-compose run composer82 run test

- name: Analyse
run: docker-compose run composer82 run analyse

- name: Lint
run: docker-compose run composer82 run lint

- name: Audit
run: docker-compose run composer82 run check

- name: Check modern code
run: docker-compose run composer82 run scan

- name: Check updates
run: docker-compose run composer82 run updates
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- Support for PHP 8.3 ([#14](https://github.com/khalyomede/php-typo/issues/14)).

## [0.3.0] - 2022-12-10

### Added
Expand Down
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"minimum-stability": "stable",
"require": {
"php": ">=8.2.0",
"nikic/php-parser": "4.15.2",
"symfony/console": "6.2.3",
"nikic/php-parser": "4.17.1",
"symfony/console": "6.3.8",
"aminnairi/string-extra": "0.1.0"
},
"bin": [
Expand All @@ -38,15 +38,15 @@
"all": "composer run test && composer run analyse && composer run lint && composer run check && composer run scan && composer run updates"
},
"require-dev": {
"phpstan/phpstan": "1.9.11",
"pestphp/pest": "1.22.3",
"friendsofphp/php-cs-fixer": "3.13.2",
"phpstan/phpstan-strict-rules": "1.4.5",
"rector/rector": "0.15.7"
"phpstan/phpstan": "1.10.46",
"pestphp/pest": "2.25.0",
"friendsofphp/php-cs-fixer": "3.40.0",
"phpstan/phpstan-strict-rules": "1.5.2",
"rector/rector": "0.18.11"
},
"config": {
"allow-plugins": {
"pestphp/pest-plugin": true
}
}
}
}
Loading

0 comments on commit 3b2a6d5

Please sign in to comment.