Skip to content

Commit

Permalink
Update to PHP 8.3, Symfony 7.0, PHPUnit 10.0 and more
Browse files Browse the repository at this point in the history
  • Loading branch information
chr-hertel committed Dec 30, 2023
1 parent 52f506b commit f274a58
Show file tree
Hide file tree
Showing 8 changed files with 1,483 additions and 1,616 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
php-version: '8.3'

- name: Deploy
uses: deployphp/action@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
php-version: '8.3'

- name: Cache Vendors
uses: actions/cache@v2
Expand Down
2 changes: 1 addition & 1 deletion .php-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.2
8.3
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Setup

**Requirements**

* PHP 8.2
* PHP 8.3
* NPM
* Composer
* Docker Compose
Expand Down
64 changes: 32 additions & 32 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,54 +3,53 @@
"description": "Slim web interface to diff complexity of code snippets",
"type": "project",
"license": "MIT",
"minimum-stability": "beta",
"require": {
"php": "^8.2",
"php": "^8.3",
"ext-ctype": "*",
"ext-iconv": "*",
"ext-json": "*",
"doctrine/doctrine-bundle": "^2.9",
"doctrine/doctrine-migrations-bundle": "^3.2",
"doctrine/orm": "^2.15",
"doctrine/doctrine-bundle": "^2.11",
"doctrine/doctrine-migrations-bundle": "^3.3",
"doctrine/orm": "^2.17",
"niels-de-blaauw/php-doc-check": "^0.2",
"openai-php/symfony": "^0.4.1",
"openai-php/symfony": "^0.8",
"pugx/shortid-php": "^1.1",
"sentry/sentry-symfony": "^4.8",
"symfony/asset": "^6.3",
"symfony/console": "^6.3",
"symfony/dotenv": "^6.3",
"symfony/flex": "^2.3",
"symfony/framework-bundle": "^6.3",
"symfony/monolog-bundle": "^3.8",
"symfony/runtime": "^6.3",
"symfony/twig-bundle": "^6.3",
"symfony/webpack-encore-bundle": "^1.17",
"symfony/yaml": "^6.3",
"twig/extra-bundle": "^3.6",
"twig/twig": "^3.6"
"sentry/sentry-symfony": "^4.13",
"symfony/asset": "^7.0",
"symfony/console": "^7.0",
"symfony/dotenv": "^7.0",
"symfony/flex": "^2.4",
"symfony/framework-bundle": "^7.0",
"symfony/monolog-bundle": "^3.10",
"symfony/runtime": "^7.0",
"symfony/twig-bundle": "^7.0",
"symfony/webpack-encore-bundle": "^2.0",
"symfony/yaml": "^7.0",
"twig/extra-bundle": "^3.8",
"twig/twig": "^3.8"
},
"require-dev": {
"deployer/deployer": "^7.3",
"friendsofphp/php-cs-fixer": "^3.17",
"friendsofphp/php-cs-fixer": "^3.45",
"infection/infection": "^0.27",
"pdepend/pdepend": "2.x-dev",
"phpmd/phpmd": "^2.13",
"phpmd/phpmd": "^2.15",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-phpunit": "^1.3",
"phpstan/phpstan-symfony": "^1.3",
"phpunit/phpunit": "^9.6",
"spatie/phpunit-snapshot-assertions": "^4.2",
"symfony/browser-kit": "^6.3",
"symfony/css-selector": "^6.3",
"symfony/debug-bundle": "^6.3",
"symfony/stopwatch": "^6.3",
"symfony/var-dumper": "^6.3",
"symfony/web-profiler-bundle": "^6.3",
"vimeo/psalm": "^5.12"
"phpunit/phpunit": "^10.1",
"spatie/phpunit-snapshot-assertions": "^5.1",
"symfony/browser-kit": "^7.0",
"symfony/css-selector": "^7.0",
"symfony/debug-bundle": "^7.0",
"symfony/stopwatch": "^7.0",
"symfony/var-dumper": "^7.0",
"symfony/web-profiler-bundle": "^7.0",
"vimeo/psalm": "^5.18"
},
"config": {
"platform": {
"php": "8.2.5"
"php": "8.3.1"
},
"preferred-install": {
"*": "dist"
Expand Down Expand Up @@ -78,6 +77,7 @@
"symfony/polyfill-ctype": "*",
"symfony/polyfill-iconv": "*",
"symfony/polyfill-mbstring": "*",
"symfony/polyfill-php83": "*",
"symfony/polyfill-php82": "*",
"symfony/polyfill-php81": "*",
"symfony/polyfill-php80": "*",
Expand Down Expand Up @@ -106,7 +106,7 @@
"extra": {
"symfony": {
"allow-contrib": false,
"require": "6.3.*",
"require": "7.0.*",
"docker": false
}
}
Expand Down
Loading

0 comments on commit f274a58

Please sign in to comment.