Skip to content

Commit

Permalink
Upgrade PHP version and update dependencies (#153)
Browse files Browse the repository at this point in the history
Updated the required PHP version to 8.2 for compatibility and enhanced
performance characteristics. Updated Symfony packages and elevated
giggsey/libphonenumber-for-php-lite library to the latest version. These
changes ensure that the application is using the latest and safest
versions of its dependencies, reducing potential security risks, and
enchancing stability, performance, and interoperability.
  • Loading branch information
SmetDenis authored Apr 8, 2024
1 parent 12e8fdf commit ff5c876
Show file tree
Hide file tree
Showing 7 changed files with 296 additions and 292 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.2
coverage: none
extensions: ast

Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [ 8.1, 8.3 ]
php-version: [ 8.2, 8.3 ]
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -232,6 +232,11 @@ jobs:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ You can find launch examples in the [workflow demo](https://github.com/JBZoo/Csv
# Add flag `--profile` if you want to see profiling info. Add details with `-vvv`.
# Add flag `--debug` if you want to see more really deep details.
# Add flag `--dump-schema` if you want to see the final schema after all includes and inheritance.
# Default value: 'options: --ansi -vv'
# Default value: 'options: --ansi -v'
# You can skip it.
extra: 'options: --ansi -vv'
extra: 'options: --ansi -v'
```
<!-- auto-update:/github-actions-yml -->
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ inputs:
Add flag `--profile` if you want to see profiling info. Add details with `-vvv`.
Add flag `--debug` if you want to see more really deep details.
Add flag `--dump-schema` if you want to see the final schema after all includes and inheritance.
default: 'options: --ansi -vv'
default: 'options: --ansi -v'

runs:
using: 'docker'
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"prefer-stable" : true,

"require" : {
"php" : "^8.1",
"php" : "^8.2",
"ext-mbstring" : "*",

"league/csv" : "^9.15.0",
Expand All @@ -36,12 +36,12 @@
"jbzoo/utils" : "^7.2.1",
"jbzoo/ci-report-converter" : "^7.2.1",

"symfony/yaml" : ">=6.4.3",
"symfony/filesystem" : ">=6.4.3",
"symfony/finder" : ">=6.4.0",
"symfony/yaml" : "^7.0.3",
"symfony/filesystem" : "^7.0.6",
"symfony/finder" : "^7.0.0",
"markrogoyski/math-php" : "^2.9.0",
"respect/validation" : "^2.3.6",
"giggsey/libphonenumber-for-php-lite" : "^8.13.33",
"giggsey/libphonenumber-for-php-lite" : "^8.13.34",
"giggsey/locale" : "^2.5",
"symfony/polyfill-mbstring" : "^1.29.0"
},
Expand Down
Loading

0 comments on commit ff5c876

Please sign in to comment.