Skip to content

Commit bcc0d63

Browse files
authored
Hunting deprecations (#26)
* chore: another lib update * chore: sentry recipes update * chore: install phpstan recipe * chore: install php http discovery recipe * chore: update github actions
1 parent 1bdfcb1 commit bcc0d63

13 files changed

+176
-901
lines changed

.github/workflows/pipeline.yml

+5-12
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,19 @@ jobs:
2121
- 8432:5432
2222
steps:
2323
- name: Checkout
24-
uses: actions/checkout@v2
24+
uses: actions/checkout@v4
2525

2626
- name: Setup PHP
2727
uses: shivammathur/setup-php@v2
2828
with:
2929
php-version: '8.4'
3030

31-
- name: Cache Vendors
32-
uses: actions/cache@v2
33-
id: cache-vendors
34-
with:
35-
path: vendor
36-
key: ${{ runner.os }}-vendor-${{ hashFiles('**/composer.lock')}}
31+
- name: Install Composer
32+
uses: "ramsey/composer-install@v3"
3733

3834
- name: Composer Validation
3935
run: composer validate --strict
4036

41-
- name: Install PHP Dependencies
42-
run: composer install --no-scripts
43-
4437
- name: Lint Yaml Files
4538
run: bin/console lint:yaml config --parse-tags
4639

@@ -57,7 +50,7 @@ jobs:
5750
run: PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix --dry-run
5851

5952
- name: Cache Node Modules
60-
uses: actions/cache@v2
53+
uses: actions/cache@v4
6154
id: cache-node-modules
6255
with:
6356
path: node_modules
@@ -82,7 +75,7 @@ jobs:
8275
run: vendor/bin/phpunit
8376

8477
- name: Archive Test Logs
85-
uses: actions/upload-artifact@v3
78+
uses: actions/upload-artifact@v4
8679
if: always()
8780
with:
8881
name: test-logs

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,7 @@ yarn-error.log
2828
infection.log
2929
http-client.env.json
3030
docker-compose.override.yml
31+
32+
###> phpstan/phpstan ###
33+
phpstan.neon
34+
###< phpstan/phpstan ###

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ cd decomplex
2525
composer install
2626
npm install
2727
npm run dev
28-
docker-compose up -d
28+
docker compose up -d
2929
symfony console doctrine:database:create
3030
symfony console doctrine:migration:migrate --no-interaction
3131
symfony console doctrine:database:create --env=test

composer.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
"ext-json": "*",
1111
"doctrine/doctrine-bundle": "^2.13",
1212
"doctrine/doctrine-migrations-bundle": "^3.4",
13-
"doctrine/orm": "^2.20",
13+
"doctrine/orm": "^3.3",
1414
"niels-de-blaauw/php-doc-check": "^0.4.0",
15-
"openai-php/symfony": "^0.8",
15+
"openai-php/symfony": "^0.10",
1616
"pugx/shortid-php": "^1.3",
17-
"sentry/sentry-symfony": "^4.14",
17+
"sentry/sentry-symfony": "^5.1",
1818
"symfony/asset": "^7.2",
1919
"symfony/console": "^7.2",
2020
"symfony/dotenv": "^7.2",
@@ -25,8 +25,8 @@
2525
"symfony/twig-bundle": "^7.2",
2626
"symfony/webpack-encore-bundle": "^2.2",
2727
"symfony/yaml": "^7.2",
28-
"twig/extra-bundle": "^3.18",
29-
"twig/twig": "^3.18"
28+
"twig/extra-bundle": "^3.19",
29+
"twig/twig": "^3.19"
3030
},
3131
"require-dev": {
3232
"deployer/deployer": "^7.5",

0 commit comments

Comments
 (0)