Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Release 3.0.0 #153

Merged
merged 215 commits into from
Nov 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
215 commits
Select commit Hold shift + click to select a range
67fc7ba
Removed database encryption
rimi-itk Aug 15, 2023
aa83d88
Removed server docker compose setup
rimi-itk Aug 15, 2023
7706c62
Added development documentation
rimi-itk Aug 15, 2023
7f8f703
Disabled CPR and CVR services
rimi-itk Aug 15, 2023
76e6163
Updated development documentation
rimi-itk Aug 15, 2023
958f41a
Added CPR mock (hack!)
rimi-itk Aug 15, 2023
88bbf73
Cleaned up composer.json
rimi-itk Aug 15, 2023
21ca8f7
Opdatering af PHP og Symfony
samilesma Aug 22, 2023
4f344a6
Symfony upgrade - WIP
ahma0942 Aug 23, 2023
cfe6007
Fejlrettelser
samilesma Aug 24, 2023
6a1141d
WIP
ahma0942 Aug 24, 2023
014748f
WIP - upgrading symfony and PHP
ahma0942 Aug 24, 2023
39a5386
WIP - Symfony & PHP upgrade
ahma0942 Aug 24, 2023
786249b
Refactoring
ahma0942 Aug 24, 2023
f4b6227
WIP - symfony upgrade
ahma0942 Aug 24, 2023
40097dd
WIP
ahma0942 Aug 24, 2023
c1b6aa0
Add vscode specific files to gitignore
ahma0942 Aug 27, 2023
cb0722b
WIP - removed itkdev image (no documentation on it, so we will use th…
ahma0942 Aug 27, 2023
3613e87
WIP - upgrade
ahma0942 Aug 28, 2023
bdd37cb
Symfony and PHP update WIP
samilesma Aug 30, 2023
7fbaf8e
WIP Update
samilesma Aug 30, 2023
38d7b73
Fix routing
ahma0942 Sep 2, 2023
d81794c
Added PHPMyAdmin
ahma0942 Sep 2, 2023
37f0984
WIP - fixed toolbar && new sag page
ahma0942 Sep 2, 2023
636ebf0
Update composer
ahma0942 Sep 5, 2023
3829194
Visitationsside.
samilesma Sep 7, 2023
e961a39
Call to API
samilesma Sep 8, 2023
f9f2c74
Fix visitationcontroller
ahma0942 Sep 8, 2023
7bcaf0d
Fix cpr param (remove dash if there is one)
ahma0942 Sep 8, 2023
66e45d7
Fix datafordeler service
ahma0942 Sep 8, 2023
ae5e867
Visitation twig tables created. WIP
samilesma Sep 8, 2023
497d4e9
Report fejlrettelse
samilesma Sep 8, 2023
435dcaf
fix arrays in results
ahma0942 Sep 11, 2023
fc523df
WIP- Results page design
samilesma Sep 12, 2023
ed40082
CVR Page
samilesma Sep 17, 2023
b04684b
WIP Design changes
samilesma Sep 17, 2023
fa60f56
Adressehistorik
samilesma Sep 17, 2023
b0390cd
CVR
samilesma Sep 18, 2023
579eaa8
WIP
samilesma Sep 18, 2023
6c36085
Design rettelser
samilesma Sep 26, 2023
fcc92d0
Migrations for visitation
samilesma Sep 28, 2023
19e29b2
Migrations and Logging
samilesma Sep 29, 2023
d94cd56
Rapport fejl rettelse
samilesma Sep 29, 2023
c6cbd34
Ændring i forhold til hvad der skal vises
samilesma Sep 29, 2023
b6b3c99
Fix endpoint
ahma0942 Oct 2, 2023
0434c24
WIP
samilesma Oct 2, 2023
45b6f66
Opret sag knap.
samilesma Oct 2, 2023
f5f9ea5
Renaming visitation-investigate
samilesma Oct 2, 2023
23b4d47
Request type fixed for search visitation
samilesma Oct 3, 2023
a6732c2
CPR reformatting
samilesma Oct 3, 2023
bc2d79e
Dependency inject httpclient (with certificate)
ahma0942 Oct 4, 2023
a247eab
Text fixed for no result for CPR table
samilesma Oct 5, 2023
b0046c8
Merge branch 'master' of github.com:ahma0942/tjek1
samilesma Oct 5, 2023
f00c7d5
update changelog
ahma0942 Oct 5, 2023
13e380e
Fix composer php version
ahma0942 Oct 5, 2023
355535a
Update composer.lock
ahma0942 Oct 5, 2023
2b13af2
Red text error when getting tables
samilesma Oct 5, 2023
d9ac7e1
Migration
samilesma Oct 9, 2023
ee9daea
Log entry fix
samilesma Oct 9, 2023
1a047a4
CVR fix
samilesma Oct 9, 2023
c35c589
Font awesome icons added to twig extension
samilesma Oct 9, 2023
8a37930
CVR Fejlrettelse
samilesma Oct 9, 2023
506d33f
Fix docker setup
ahma0942 Oct 10, 2023
e407698
CVR Number WIP
samilesma Oct 12, 2023
2ae4340
Merge branch 'master' of github.com:ahma0942/tjek1
samilesma Oct 12, 2023
2b8b187
Børn rettet
samilesma Oct 12, 2023
0ea444d
Civil status
samilesma Oct 12, 2023
b8aaa9f
Dato rettelser.
samilesma Oct 12, 2023
07d06ff
Barn link
samilesma Oct 12, 2023
11e09af
Finish Bopaelssamling
ahma0942 Oct 13, 2023
a8b1a83
Fix bopaelssamling
ahma0942 Oct 13, 2023
0daae08
Target blank
samilesma Oct 13, 2023
736748e
Fejlrettelser i CPR data
samilesma Oct 16, 2023
219a12c
Changes to the Icons
samilesma Oct 16, 2023
a0cfcbc
Changes to the icons Done
samilesma Oct 16, 2023
28c8275
Merge branch 'master' into feature/mjolner
ahma0942 Oct 19, 2023
5c36e04
PHPCsFixer
ahma0942 Oct 19, 2023
de1939e
Fix github workflow
ahma0942 Oct 19, 2023
5efcc92
Fix TwigCS Violations
ahma0942 Oct 19, 2023
4ed6c83
Opret sag- WIP
samilesma Oct 19, 2023
dad0acc
Twig exteinsion- Removed unused icons
samilesma Oct 19, 2023
c080f99
Merge branch 'master' of github.com:ahma0942/tjek1
samilesma Oct 19, 2023
f296003
Fix PHPCS & js coding standards
ahma0942 Oct 19, 2023
28c9697
Merge branch 'feature/mjolner'
ahma0942 Oct 19, 2023
9e8b91f
PHPCs
ahma0942 Oct 19, 2023
e6b5e95
PHPCS
ahma0942 Oct 19, 2023
1132e66
Fix tests (removed tests)
ahma0942 Oct 19, 2023
8ed35be
Doctrine fejlrettelser
samilesma Oct 19, 2023
1d1c9db
Date time changed after twig update
samilesma Oct 19, 2023
0c4569d
Fix translations && add docker-compose files that were previously rem…
ahma0942 Oct 24, 2023
510b7f9
Removed sensio_framework files that were not used
ahma0942 Oct 24, 2023
fa97e7d
Fix all comments on PR
ahma0942 Oct 24, 2023
bb2ef58
Fix PHPCS and PHP-CS-Fixer
ahma0942 Oct 24, 2023
78e4db4
Entity Manager fix in ProcessLog
samilesma Oct 24, 2023
dc6a906
WIP- Sagsstyringsside
samilesma Oct 24, 2023
9569626
Solved processID in processcontroller
samilesma Oct 24, 2023
3cc6321
Get persondata
samilesma Oct 24, 2023
5eb5076
Fix for error
ahma0942 Oct 24, 2023
7f1ea9a
Merge branch 'master' of github.com:ahma0942/tjek1
samilesma Oct 24, 2023
02d106f
Fullperson og fejlrettelse
samilesma Oct 24, 2023
04a1f26
translate fejlrettelser
samilesma Oct 24, 2023
35cfbfc
Metadata for process
samilesma Oct 24, 2023
ab00b98
DatafordelerService
samilesma Oct 24, 2023
54cb39f
Update config/packages/dev/routing.yaml
ahma0942 Oct 24, 2023
cfe6436
Added environment for default_uri
ahma0942 Oct 24, 2023
a37adcc
Fixed docker image name
rimi-itk Oct 24, 2023
41f72b7
WIP Process
samilesma Oct 24, 2023
32a2ce4
WIP Process show
samilesma Oct 24, 2023
327d7e4
WIP Process
samilesma Oct 24, 2023
37abc93
Remove profile and remove xdebug.start_on_request
ahma0942 Oct 25, 2023
cb43285
Merge branch 'feature/mjolner'
ahma0942 Oct 25, 2023
69f192f
remove 'Ny Sag' button
ahma0942 Oct 25, 2023
fa5abdb
Fix github actions errors
ahma0942 Oct 25, 2023
0e9c048
WIP Process
samilesma Oct 25, 2023
feb6dfd
Merge branch 'master' of github.com:ahma0942/tjek1
samilesma Oct 25, 2023
ca07a1d
Fejlrettelser
samilesma Oct 25, 2023
fa16972
Fix github actions
ahma0942 Oct 25, 2023
c9a37e3
Fix issues
ahma0942 Oct 25, 2023
cb584c1
Fix github actions
ahma0942 Oct 25, 2023
25efb3a
Merge branch 'master' into feature/mjolner
ahma0942 Oct 25, 2023
7bb2923
Redirect to Opret sag
samilesma Oct 25, 2023
9eb512d
Added client type
samilesma Oct 25, 2023
6aa08b4
Naming error handling
samilesma Oct 25, 2023
df04b2a
CVR rettelser
samilesma Oct 25, 2023
bec280e
Twig extension
samilesma Oct 25, 2023
477e75c
Em errors fixed
samilesma Oct 25, 2023
274db40
Fejlrettelser
samilesma Oct 25, 2023
2ed446c
Merge branch 'master' of github.com:ahma0942/tjek1
samilesma Oct 25, 2023
b2ecb53
Knapper rettelser
samilesma Oct 25, 2023
5fac0b9
Adressehistorik hentflere og log
samilesma Oct 25, 2023
f1f188f
Historik og logning er blevet implementeret
samilesma Oct 25, 2023
7e2f022
Form validation
samilesma Oct 25, 2023
8654a91
Key rettet
samilesma Oct 26, 2023
82a74f7
Call p-number from service
samilesma Oct 26, 2023
73ab6b4
From empty to is not defined.
samilesma Oct 26, 2023
e56d096
CVR search error fix
samilesma Oct 26, 2023
2c3bd6c
Error fixes
samilesma Oct 26, 2023
c8cd00f
Dash on CPR history
samilesma Oct 26, 2023
8cc00ae
On cvr search throw exception
samilesma Oct 26, 2023
7e46e06
CPR sidste 4 cifre
samilesma Oct 27, 2023
f141178
Show CVR and CPR from visitiaton to new process
samilesma Oct 27, 2023
bf5d6d2
Trigger status change on select
samilesma Oct 27, 2023
6387b82
Name error solved
samilesma Oct 27, 2023
3161f6e
Added BBR
ahma0942 Oct 31, 2023
2ff588d
upadte .env & development.md and fix saml and cleanup
ahma0942 Oct 31, 2023
b4a4577
P-Numre
samilesma Nov 1, 2023
fbd3c54
Merge branch 'master' of github.com:ahma0942/tjek1
samilesma Nov 1, 2023
1080787
Fix setup for deployment
ahma0942 Nov 2, 2023
1e9cad8
Fix test
ahma0942 Nov 2, 2023
08aabe4
Fix server compose file
ahma0942 Nov 2, 2023
8b6bdbb
Fix typo
ahma0942 Nov 2, 2023
c16bd66
Fix symfony project after upgrade
ahma0942 Nov 2, 2023
8809c4c
Fix server
ahma0942 Nov 2, 2023
56db5bc
Fix server
ahma0942 Nov 2, 2023
b79a9ff
Update server compose files
ahma0942 Nov 2, 2023
f66b08e
Fix webprofiler for test
ahma0942 Nov 2, 2023
84fac5d
Fix gitignore to allow both production and test certificates on server
ahma0942 Nov 2, 2023
5270fba
Add SSL
ahma0942 Nov 2, 2023
91feb28
Fix vhost
ahma0942 Nov 2, 2023
2a0ef29
Allow port 80
ahma0942 Nov 2, 2023
2b676eb
Force https && fix certificates
ahma0942 Nov 2, 2023
23a1af1
Antal ansætte
samilesma Nov 2, 2023
caa3505
Merge branch 'master' of github.com:ahma0942/tjek1
samilesma Nov 2, 2023
ee2ae17
Konklusion rettede
samilesma Nov 2, 2023
863778f
Påmindelser rettede
samilesma Nov 2, 2023
963bb9b
Redirect on empty search and result
samilesma Nov 3, 2023
e0aca11
Adressehistorik one word
samilesma Nov 3, 2023
b8d66c0
Rettelser
samilesma Nov 3, 2023
ba939da
Fix docker setup
ahma0942 Nov 3, 2023
e837767
Fix docker setup
ahma0942 Nov 3, 2023
e1d5f1d
Fix docker setup
ahma0942 Nov 3, 2023
f04d40b
Fix vhost
ahma0942 Nov 3, 2023
962961b
Fix vhost
ahma0942 Nov 3, 2023
6bbd062
Fix local docker setup with nginx
ahma0942 Nov 3, 2023
2c0c940
Bug fixed Andre sager
samilesma Nov 4, 2023
1382556
CPR-Historik desing rettelse
samilesma Nov 4, 2023
b4f832d
Navnehistorik
samilesma Nov 4, 2023
730bf29
Tekst rettelser
samilesma Nov 4, 2023
3e2d986
Possible fix for SAML
ahma0942 Nov 5, 2023
c954473
Sorted navne historik
samilesma Nov 5, 2023
0aca544
Merge branch 'master' of github.com:ahma0942/tjek1
samilesma Nov 5, 2023
10d80fa
Name rettet
samilesma Nov 5, 2023
842fe0f
Test fix
ahma0942 Nov 6, 2023
7630d45
TEST
ahma0942 Nov 6, 2023
cc9e3e5
TEST
ahma0942 Nov 6, 2023
fb8c9f0
Fix
ahma0942 Nov 6, 2023
7dfa304
Possible fix
ahma0942 Nov 6, 2023
3fd7a19
Fix debug
ahma0942 Nov 6, 2023
129918c
Fix
ahma0942 Nov 6, 2023
4e19f29
Fejlrettelser
samilesma Nov 7, 2023
9e1d55c
ERROR HANDLING REMOVED FOR CURRENT USE
samilesma Nov 7, 2023
8774297
Sortering rettede
samilesma Nov 7, 2023
0204028
WIP
ahma0942 Nov 7, 2023
8ff99bf
Fejl rettelser
samilesma Nov 7, 2023
781f23e
Merge branch 'master' of github.com:ahma0942/tjek1
samilesma Nov 7, 2023
cbbed43
Fix bolig
ahma0942 Nov 7, 2023
614f787
Økonomi fejl fikset
samilesma Nov 7, 2023
6ec4a45
Merge branch 'master' of github.com:ahma0942/tjek1
samilesma Nov 7, 2023
c036ebc
Fejlrettelser
samilesma Nov 7, 2023
b7b1709
Merge branch 'master' into feature/mjolner
ahma0942 Nov 7, 2023
1269beb
Possible fix for chanettes CPR nummer
ahma0942 Nov 7, 2023
09e5fd9
Merge branch 'master' into feature/mjolner
ahma0942 Nov 7, 2023
29f681c
Børn fejl fikset
samilesma Nov 7, 2023
89edb6a
Merge branch 'master' of github.com:ahma0942/tjek1
samilesma Nov 7, 2023
0f596ad
Fix PR errors
ahma0942 Nov 7, 2023
040a66d
Merge branch 'master' into feature/mjolner
ahma0942 Nov 7, 2023
e7e4019
Fix .env.test
ahma0942 Nov 7, 2023
1de05d1
Fix test
ahma0942 Nov 7, 2023
f5d864e
fix tests
ahma0942 Nov 7, 2023
eb03195
Merge branch 'master' into feature/mjolner
ahma0942 Nov 7, 2023
1d5b021
P numbers rettelser
samilesma Nov 8, 2023
387a75a
P Numbers
samilesma Nov 8, 2023
933ad68
CHANGELOG.md & UPGRADE.md updated
ahma0942 Nov 8, 2023
12922bf
Merge branch 'master' into feature/mjolner
ahma0942 Nov 8, 2023
eb0b212
update docker-compose
ahma0942 Nov 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 32 additions & 3 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration

COMPOSE_PROJECT_NAME=kontrolgruppen
COMPOSE_PROJECT_NAME=tjek1
COMPOSE_DOMAIN=kontrolgruppen.local.itkdev.dk

SITE_NAME=Tjek1
Expand Down Expand Up @@ -53,6 +53,19 @@ ROUTER_REQUEST_CONTEXT_SCHEME=http
# Optional (must start with a slash)
#ROUTER_REQUEST_CONTEXT_BASE_URL=/some-path

DEFAULT_URI=http://localhost/

# Datafordeler URL
DATAFORDELER_CPR_URL='http://host.docker.internal:9000/'
DATAFORDELER_CVR_URL='http://host.docker.internal:9000/'
DATAFORDELER_CPR_PRIVATE_KEY_FILE=''
DATAFORDELER_CPR_PUBLIC_KEY_FILE=''
DATAFORDELER_CPR_PUBLIC_KEY_PASSWORD=''
DATAFORDELER_CVR_PRIVATE_KEY_FILE=''
DATAFORDELER_CVR_PUBLIC_KEY_FILE=''
DATAFORDELER_CVR_PUBLIC_KEY_PASSWORD=''


SAML_SP_ENTITY_ID='https://kontrolgruppen.example.com'
SAML_IDP_CONFIG_FILE='%kernel.project_dir%/saml/idp/idp.xml'
# Optional
Expand All @@ -62,11 +75,27 @@ SAML_CONTACT_PERSON_TECHNICAL_GIVEN_NAME="ITK Development"
SAML_CONTACT_PERSON_TECHNICAL_EMAIL_ADDRESS="itkdev@mkb.aarhus.dk"
SAML_CONTACT_PERSON_SUPPORT_GIVEN_NAME="ITK Development"
SAML_CONTACT_PERSON_SUPPORT_EMAIL_ADDRESS="itkdev@mkb.aarhus.dk"
SAML_ORGANIZATION_NAME="Kontrolgruppen"
SAML_ORGANIZATION_DISPLAY_NAME="Kontrolgruppen"
SAML_ORGANIZATION_NAME="Mjølner Informatics"
SAML_ORGANIZATION_DISPLAY_NAME="Mjølner Informatics"
SAML_ORGANIZATION_URL="http://kontrolgruppen.local.computer"

EXPORT_DIRECTORY='%kernel.project_dir%/files/export'

# CPR Service
CPR_SERVICE_URL=http://borgerdata:8081



AZURE_TENANT_ID=''
AZURE_APPLICATION_ID=''
AZURE_CLIENT_SECRET=''
AZURE_KEY_VAULT_NAME=''
AZURE_KEY_VAULT_SECRET=''
AZURE_KEY_VAULT_SECRET_VERSION=''

SERVICEPLATFORMEN_CPR_SERVICE_AGREEMENT_UUID=''
SERVICEPLATFORMEN_CPR_USER_SYSTEM_UUID=''
SERVICEPLATFORMEN_CPR_USER_UUID=''
SERVICEPLATFORMEN_CPR_SERVICE_CONTRACT=''
SERVICEPLATFORMEN_CPR_SERVICE_ENDPOINT=''
SERVICEPLATFORMEN_CPR_SERVICE_UUID=''
262 changes: 131 additions & 131 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -1,142 +1,142 @@
on: pull_request
name: Review
jobs:
changelog:
runs-on: ubuntu-latest
name: Changelog should be updated
strategy:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 2
changelog:
runs-on: ubuntu-latest
name: Changelog should be updated
strategy:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 2

- name: Git fetch
run: git fetch
- name: Git fetch
run: git fetch

- name: Check that changelog has been updated.
run: git diff --exit-code origin/${{ github.base_ref }} -- CHANGELOG.md && exit 1 || exit 0
- name: Check that changelog has been updated.
run: git diff --exit-code origin/${{ github.base_ref }} -- CHANGELOG.md && exit 1 || exit 0

test-composer-files:
name: Validate composer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
extensions: ctype, dom, gd, iconv, json, soap, zip
coverage: none
tools: composer:v2
- name: Validate composer files
run: |
composer validate composer.json
test-composer-files:
name: Validate composer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
extensions: ctype, dom, gd, iconv, json, soap, zip
coverage: none
tools: composer:v2
- name: Validate composer files
run: |
composer validate composer.json

runner-phpcs:
name: runner-phpcs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
extensions: ctype, dom, gd, iconv, json, soap, zip
coverage: none
tools: composer:v2
- name: Install Reviewdog
run: |
wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh| sh -s -- -b $PWD/ v0.9.14
- name: Install Dependencies
run: |
composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
- name: PHPCS
run: |
composer actions/phpcs | ./reviewdog -f=checkstyle -name=PHPCS -reporter=github-pr-check
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
runner-phpcs:
name: runner-phpcs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
extensions: ctype, dom, gd, iconv, json, soap, zip
coverage: none
tools: composer:v2
- name: Install Reviewdog
run: |
wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh| sh -s -- -b $PWD/ v0.9.14
- name: Install Dependencies
run: |
composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
- name: PHPCS
run: |
composer actions/phpcs | ./reviewdog -f=checkstyle -name=PHPCS -reporter=github-pr-check
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}

phpcsfixer:
name: PHP-CS-FIXER
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
extensions: ctype, dom, gd, iconv, json, soap, zip
coverage: none
tools: composer:v2
- name: Install Dependencies
run: |
composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
- name: phpcsfixerr
run: |
composer actions/phpcsfixer
phpcsfixer:
name: PHP-CS-FIXER
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
extensions: ctype, dom, gd, iconv, json, soap, zip
coverage: none
tools: composer:v2
- name: Install Dependencies
run: |
composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
- name: phpcsfixerr
run: |
composer actions/phpcsfixer

twigcs:
name: TwigCS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
extensions: ctype, dom, gd, iconv, json, soap, zip
coverage: none
tools: composer:v2
- name: Install Dependencies
run: |
composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
- name: twigcs
run: |
composer actions/twigcs
twigcs:
name: TwigCS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
extensions: ctype, dom, gd, iconv, json, soap, zip
coverage: none
tools: composer:v2
- name: Install Dependencies
run: |
composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
- name: twigcs
run: |
composer actions/twigcs

js-coding-standards:
name: JS coding standards
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
extensions: ctype, dom, gd, iconv, json, soap, zip
coverage: none
tools: composer:v2
- name: Install Dependencies
run: |
composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
- uses: actions/setup-node@v1
with:
# Node LTS (cf. https://nodejs.org/en/about/releases/)
node-version: '16.x'
- name: install
run: |
yarn install
- name: JS coding standards
run: |
yarn check-coding-standards
js-coding-standards:
name: JS coding standards
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
extensions: ctype, dom, gd, iconv, json, soap, zip
coverage: none
tools: composer:v2
- name: Install Dependencies
run: |
composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
- uses: actions/setup-node@v1
with:
# Node LTS (cf. https://nodejs.org/en/about/releases/)
node-version: "16.x"
- name: install
run: |
yarn install
- name: JS coding standards
run: |
yarn check-coding-standards

tests:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
extensions: ctype, dom, gd, iconv, json, pdo, soap, sqlite3, zip
coverage: none
tools: composer:v2
- name: Install Dependencies
run: |
composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
- name: Tests
run: |
composer actions/tests
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
extensions: ctype, dom, gd, iconv, json, pdo, soap, sqlite3, zip
coverage: none
tools: composer:v2
- name: Install Dependencies
run: |
composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
- name: Tests
run: |
composer actions/tests
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@
/var/
/vendor/
/bundles/
/docker-compose.override.yml
###< symfony/framework-bundle ###

###> friendsofphp/php-cs-fixer ###
/.php_cs
/.php_cs.cache
/.php-cs-fixer.cache
###< friendsofphp/php-cs-fixer ###

###> squizlabs/php_codesniffer ###
Expand Down Expand Up @@ -44,3 +46,10 @@ yarn-error.log
/phpunit.xml
.phpunit.result.cache
###< phpunit/phpunit ###

# Ignore Certificates
/certs

###> vincentlanglet/twig-cs-fixer ###
/.twig-cs-fixer.cache
###< vincentlanglet/twig-cs-fixer ###
2 changes: 1 addition & 1 deletion .phan/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
return [
'backward_compatibility_checks' => false,
'target_php_version' => 7.4,
'target_php_version' => 8.2,
'dead_code_detection' => true,
'ignore_undeclared_functions_with_known_signatures' => false,
'whitelist_issue_types' => [
Expand Down
10 changes: 5 additions & 5 deletions .php_cs.dist → .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

$finder = PhpCsFixer\Finder::create()
->notPath('Kernel.php')
->notPath('bootstrap.php')
->in(__DIR__.'/{core,src,tests}')
->notPath('Kernel.php')
->notPath('bootstrap.php')
->in(__DIR__.'/{core,src,tests}')
;

$header =<<<'HEADER'
Expand All @@ -13,8 +13,8 @@

This source file is subject to the MIT license.
HEADER;

return PhpCsFixer\Config::create()
$config = new PhpCsFixer\Config();
return $config
->setRiskyAllowed(true)
->setRules([
'@Symfony' => true,
Expand Down
2 changes: 1 addition & 1 deletion .php-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.4
8.2
Loading
Loading