Skip to content

Commit b28e091

Browse files
Merge pull request #58 from sumocoders/ilariaorlando-symfony-80
Ilariaorlando symfony 80
2 parents fdadc17 + 59554cd commit b28e091

8 files changed

Lines changed: 1640 additions & 1875 deletions

File tree

.gitlab-ci.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ cache: &global_cache
1818

1919
# Build section
2020
Install dependencies and build assets:
21-
image: sumocoders/cli-tools-php84:latest
21+
image: sumocoders/cli-tools-php85:latest
2222
script:
2323
- COMPOSER_MEMORY_LIMIT=-1 composer install --no-scripts --no-progress
2424
- COMPOSER_MEMORY_LIMIT=-1 composer run-script post-autoload-dump
@@ -34,7 +34,7 @@ Install dependencies and build assets:
3434

3535
# Code Quality section
3636
PHP_CodeSniffer - check code styling:
37-
image: sumocoders/cli-tools-php84:latest
37+
image: sumocoders/cli-tools-php85:latest
3838
script:
3939
- php vendor/bin/phpcs --report-full --report-\\Micheh\\PhpCodeSniffer\\Report\\Gitlab=phpcs-report.json
4040
artifacts:
@@ -47,7 +47,7 @@ PHP_CodeSniffer - check code styling:
4747
- docker
4848

4949
PHPStan - check for bugs:
50-
image: sumocoders/cli-tools-php84:latest
50+
image: sumocoders/cli-tools-php85:latest
5151
before_script:
5252
- php bin/console cache:warmup --env=dev
5353
script:
@@ -68,7 +68,7 @@ PHPStan - check for bugs:
6868
- docker
6969

7070
Twig-CS-Fixer - check code styling:
71-
image: sumocoders/cli-tools-php84:latest
71+
image: sumocoders/cli-tools-php85:latest
7272
script:
7373
- php vendor/bin/twig-cs-fixer lint templates/ --report=junit > twigcs-report.xml
7474
after_script:
@@ -123,7 +123,7 @@ StandardJS - check code styling:
123123

124124
# Dependency Scanning section
125125
NPM packages - check for vulnerabilities:
126-
image: sumocoders/cli-tools-php84:latest
126+
image: sumocoders/cli-tools-php85:latest
127127
script:
128128
- php bin/console importmap:audit --no-interaction --ansi
129129
stage: dependency scanning
@@ -133,7 +133,7 @@ NPM packages - check for vulnerabilities:
133133
allow_failure: true
134134

135135
PHP packages - composer audit:
136-
image: sumocoders/cli-tools-php84:latest
136+
image: sumocoders/cli-tools-php85:latest
137137
script:
138138
- composer audit --ansi --no-interaction
139139
stage: dependency scanning
@@ -145,7 +145,7 @@ PHP packages - composer audit:
145145

146146
# Outdated packages Scanning section
147147
NPM packages - check for outdated packages:
148-
image: sumocoders/cli-tools-php84:latest
148+
image: sumocoders/cli-tools-php85:latest
149149
script:
150150
- php bin/console importmap:outdated --no-interaction --ansi
151151
stage: outdated packages
@@ -155,7 +155,7 @@ NPM packages - check for outdated packages:
155155
allow_failure: true
156156

157157
PHP packages - composer outdated:
158-
image: sumocoders/cli-tools-php84:latest
158+
image: sumocoders/cli-tools-php85:latest
159159
script:
160160
- composer outdated --ansi --no-interaction
161161
stage: outdated packages
@@ -167,7 +167,7 @@ PHP packages - composer outdated:
167167

168168
# Test section
169169
PHPUnit - Run tests:
170-
image: sumocoders/framework-php84:latest
170+
image: sumocoders/framework-php85:latest
171171
services:
172172
- mysql:8.0
173173
before_script:
@@ -202,7 +202,7 @@ PHPUnit - Run tests:
202202

203203
# Deploy section
204204
Deploy - to staging:
205-
image: sumocoders/cli-tools-php84:latest
205+
image: sumocoders/cli-tools-php85:latest
206206
before_script:
207207
# Add the private SSH key to the CI environment
208208
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
@@ -216,7 +216,7 @@ Deploy - to staging:
216216
- php vendor/bin/dep deploy stage=staging
217217
environment:
218218
name: staging
219-
url: https://$project.$client.php84.sumocoders.eu
219+
url: https://$project.$client.php85.sumocoders.eu
220220
only:
221221
- staging
222222
stage: deploy

.php-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.4
1+
8.5

composer.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,49 +2,49 @@
22
"type": "project",
33
"license": "proprietary",
44
"require": {
5-
"php": "^8.4",
5+
"php": "^8.5",
66
"ext-ctype": "*",
77
"ext-iconv": "*",
88
"ext-sodium": "*",
99
"beberlei/doctrineextensions": "^1.5",
1010
"doctrine/doctrine-migrations-bundle": "^3.3",
1111
"nelmio/security-bundle": "^3.5",
1212
"sentry/sentry-symfony": "^5.1",
13-
"sumocoders/framework-core-bundle": "^14.0",
13+
"sumocoders/framework-core-bundle": "^17.0",
1414
"symfony/apache-pack": "^1.0.1",
15-
"symfony/asset-mapper": "^7.3",
16-
"symfony/debug-bundle": "^7.3",
17-
"symfony/dotenv": "^7.3",
18-
"symfony/expression-language": "^7.3",
15+
"symfony/asset-mapper": "^8.0",
16+
"symfony/debug-bundle": "^8.0",
17+
"symfony/dotenv": "^8.0",
18+
"symfony/expression-language": "^8.0",
1919
"symfony/flex": "^2.4",
20-
"symfony/http-client": "^7.3",
21-
"symfony/mailer": "^7.3",
22-
"symfony/messenger": "^7.3",
20+
"symfony/http-client": "^8.0",
21+
"symfony/mailer": "^8.0",
22+
"symfony/messenger": "^8.0",
2323
"symfony/monolog-bundle": "^3.10",
24-
"symfony/rate-limiter": "^7.3",
25-
"symfony/runtime": "^7.3",
26-
"symfony/security-bundle": "^7.3",
24+
"symfony/rate-limiter": "^8.0",
25+
"symfony/runtime": "^8.0",
26+
"symfony/security-bundle": "^8.0",
2727
"symfony/stimulus-bundle": "^2.22",
2828
"symfony/ux-turbo": "^2.22",
29-
"symfony/validator": "^7.3",
30-
"symfony/web-profiler-bundle": "^7.3",
31-
"symfony/yaml": "^7.3",
29+
"symfony/validator": "^8.0",
30+
"symfony/web-profiler-bundle": "^8.0",
31+
"symfony/yaml": "^8.0",
3232
"symfonycasts/sass-bundle": "^0.8",
3333
"twbs/bootstrap": "^5.3"
3434
},
3535
"require-dev": {
3636
"dama/doctrine-test-bundle": "^8.3",
37-
"doctrine/doctrine-fixtures-bundle": "^3.7",
37+
"doctrine/doctrine-fixtures-bundle": "^4.3",
3838
"micheh/phpcs-gitlab": "^1.1",
3939
"phpstan/phpstan-doctrine": "^2.0",
4040
"phpstan/phpstan-symfony": "^2.0",
4141
"phpunit/phpunit": "^12.2",
4242
"squizlabs/php_codesniffer": "^3.11",
43-
"symfony/browser-kit": "^7.3",
44-
"symfony/css-selector": "^7.3",
45-
"symfony/maker-bundle": "*",
46-
"symfony/stopwatch": "^7.3",
47-
"tijsverkoyen/deployer-sumo": "^4.1",
43+
"symfony/browser-kit": "^8.0",
44+
"symfony/css-selector": "^8.0",
45+
"symfony/maker-bundle": "^1.65",
46+
"symfony/stopwatch": "^8.0",
47+
"tijsverkoyen/deployer-sumo": "^4.3",
4848
"vincentlanglet/twig-cs-fixer": "*"
4949
},
5050
"config": {

0 commit comments

Comments
 (0)