Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
153 commits
Select commit Hold shift + click to select a range
e8156f4
Merge branch 'develop'
rimi-itk Dec 5, 2022
1b1cc1e
Merge branch 'os2loop:main' into main
rimi-itk Dec 5, 2022
528ac2e
SUPP0RT-763: Added paragraph title in search index
rimi-itk Dec 5, 2022
213a9fa
SUPP0RT-763: Updated processor fields
rimi-itk Dec 5, 2022
514e6f5
SUPP0RT-763: Added missing bundle boosts
rimi-itk Dec 5, 2022
0f1dc4a
SUPP0RT-775: Added check for node view permission
rimi-itk Dec 5, 2022
5b0ff77
SUPP0RT-764: Prevented focused headings from being hidden
rimi-itk Dec 6, 2022
5c51298
SUPP0RT-775: Added alert on unpublished document collection document
rimi-itk Dec 5, 2022
0e19185
SUPP0RT-775: Applied patch
rimi-itk Dec 6, 2022
4ae84b4
SUPP0RT-775: Added missing translation
rimi-itk Dec 6, 2022
d46d59a
SUPP0RT-775: Updated pre-commit hook implementation
rimi-itk Dec 6, 2022
0e6a33e
Merge pull request #332 from itk-dev/hotfix/SUPP0RT-775-unpublished-n…
rimi-itk Dec 6, 2022
2f40d46
Merge branch 'develop' into hotfix/SUPP0RT-764-toc
rimi-itk Dec 6, 2022
c3eb1f2
Merge branch 'develop' into hotfix/SUPP0RT-763-index-paragraph-title
rimi-itk Dec 6, 2022
8b6d9d6
Merge pull request #331 from itk-dev/hotfix/SUPP0RT-763-index-paragra…
rimi-itk Dec 6, 2022
734e8a4
Merge branch 'develop' into hotfix/SUPP0RT-764-toc
rimi-itk Dec 6, 2022
49304e6
Merge pull request #333 from itk-dev/hotfix/SUPP0RT-764-toc
rimi-itk Dec 6, 2022
e5d4304
Merge branch 'hotfix/SUPP0RT-775-unpublished-node-access' into develop
rimi-itk Dec 6, 2022
2894d9e
SUPP0RT-704: Allowed manager to do anything with content
rimi-itk Jan 2, 2023
086a5a4
SUPP0RT-704: Allowed select roles to publish content
rimi-itk Jan 2, 2023
74fc4d5
Merge pull request #334 from itk-dev/feature/SUPP0RT-704-throwing-in-…
rimi-itk Jan 3, 2023
c4c4752
SUPP0RT-821: Fixed handling of default login method
rimi-itk Jan 3, 2023
3d13b69
Merge pull request #335 from itk-dev/hotfix/SUPP0RT-821-user-login
martinyde Jan 4, 2023
b07e936
LOOP-1261: Updated drupal/paragraphs_edit
rimi-itk Jan 10, 2023
ef8476f
Merge pull request #336 from itk-dev/hotfix/LOOP-1261
rimi-itk Jan 10, 2023
5b69ca8
SUPP0RT-859: Updated config related to masquarade and url_redirect
martinyde Mar 1, 2023
0ccdb03
SUPP0RT-859: Added cke_show_border class to table filter
martinyde Mar 1, 2023
4a072db
Merge branch 'develop' into hotfix/ckeditor-missing-table-borders
rimi-itk Mar 1, 2023
56aff6d
SUPP0RT-857: Add os2loop_documents_tbl_cont field to search
martinyde Mar 1, 2023
a2992ed
Merge branch 'develop' into hotfix/add-tbl-content-to-search
martinyde Mar 1, 2023
134d671
Merge pull request #338 from itk-dev/hotfix/add-tbl-content-to-search
martinyde Mar 1, 2023
36fd5ae
Merge pull request #337 from itk-dev/hotfix/ckeditor-missing-table-bo…
martinyde Mar 1, 2023
46863c0
SUPP0RT-821: Disabled userlogin form cache
rimi-itk Mar 1, 2023
5577790
Merge pull request #339 from itk-dev/hotfix/SUPP0RT-821-userlogin-form
rimi-itk Mar 2, 2023
2bda093
Applied coding analysis
martinyde Jul 11, 2023
5c29438
Added modified config
martinyde Jul 11, 2023
d6f8555
Changed config
martinyde Jul 11, 2023
45f0808
Updated changelog
martinyde Jul 11, 2023
7675492
Removed pre commit hook
martinyde Jul 12, 2023
2251e73
SUPP0RT-1100: Updated docker compose setup
rimi-itk Aug 14, 2023
d6fd1b1
SUPP0RT-1100: Used class FQCN as services names
rimi-itk Aug 14, 2023
710fc45
SUPP0RT-1100: Created “collection changed” message when document is c…
rimi-itk Aug 14, 2023
71283c5
SUPP0RT-1100: Fixed typo
rimi-itk Aug 14, 2023
42ff3d3
SUPP0RT-1100: Cleaned up
rimi-itk Aug 14, 2023
5ddc875
SUPP0RT-1100: Updated change log
rimi-itk Aug 14, 2023
4db41fc
Merge pull request #341 from itk-dev/feature/SUPP0RT-1100-collection-…
rimi-itk Aug 15, 2023
94fa97b
Applied coding analysis
martinyde Jul 11, 2023
a8f86a3
Added modified config
martinyde Jul 11, 2023
2f1c604
Changed config
martinyde Jul 11, 2023
fcbd4d2
Updated changelog
martinyde Jul 11, 2023
a1806ac
Removed pre commit hook
martinyde Jul 12, 2023
41705c6
LOOP-1273: Updated readme
cableman Aug 18, 2023
7a2c8ad
LOOP-1273: Docker mail setup
cableman Aug 18, 2023
97b5330
LOOP-1273: Fixed code style
cableman Aug 18, 2023
7d6b1b8
LOOP-1273: Updated actions node install verison
cableman Aug 18, 2023
f9e5de0
LOOP-1273: Updated actions maraidb verison
cableman Aug 18, 2023
610d1eb
Merge pull request #340 from itk-dev/feature/update-drupal-and-php
cableman Aug 18, 2023
fddf3c4
Changed stuff to support dompdf
martinyde Aug 25, 2023
87d3f37
Merge branch 'develop' into feature/switch-dompdf
martinyde Aug 25, 2023
7086178
Changed stuff after code review
martinyde Sep 15, 2023
32093dd
Changed styles
martinyde Sep 15, 2023
96a78fc
Changed styles
martinyde Sep 15, 2023
31d4098
Changed styles
martinyde Sep 15, 2023
20c7824
Merge pull request #344 from itk-dev/feature/switch-dompdf
martinyde Sep 15, 2023
065762c
Merge branch 'os2loop:main' into develop
rimi-itk Oct 24, 2023
8045255
Prepare drupal config for d-10
martinyde Sep 15, 2023
e21c2c8
Prepare profile for d10
martinyde Sep 15, 2023
7178253
Prepare contrib modules for d10
martinyde Sep 15, 2023
58e6cec
Modified config to match d10
martinyde Sep 15, 2023
188bc8e
Disabled modules
martinyde Sep 15, 2023
db510be
Replace jquery once with javascript once
martinyde Sep 15, 2023
5c5bd46
Disable field_ui
martinyde Sep 18, 2023
a90da44
hanged danish strings in config to english
martinyde Sep 18, 2023
baee803
Removed config for field_ui
martinyde Sep 18, 2023
7f676da
CHanged samlauth
martinyde Sep 18, 2023
1349eb4
CHanged samlauth
martinyde Sep 18, 2023
f46e160
CHanged samlauth
martinyde Sep 18, 2023
cab00fc
Disale samlauth
martinyde Sep 18, 2023
d951cee
Add once library
martinyde Sep 18, 2023
5fba6ee
Add once library
martinyde Sep 18, 2023
fc26641
composer update
rimi-itk Oct 10, 2023
21a175a
Cleaned up
rimi-itk Oct 10, 2023
af0a3aa
Drupal 10 and friends
rimi-itk Oct 10, 2023
80d777a
Composer patches
rimi-itk Oct 10, 2023
32d51a4
Composer dev packages
rimi-itk Oct 10, 2023
2bcce73
Yarn stuff
rimi-itk Oct 10, 2023
4c6a732
PHP 8.2
rimi-itk Oct 10, 2023
84c0b02
Added missing modules
rimi-itk Oct 10, 2023
61e76ea
Cleaned up
rimi-itk Oct 10, 2023
0d470e5
Updated theme_switcher rules
rimi-itk Oct 10, 2023
9b7ca8f
Updated block visibility
rimi-itk Oct 10, 2023
2f73a23
Updated config (export, import, export)
rimi-itk Oct 10, 2023
93cb6d8
Cleaned up
rimi-itk Oct 10, 2023
de2331c
core_version_requirement: ^10
rimi-itk Oct 10, 2023
ee44808
Cleaned up
rimi-itk Oct 10, 2023
c0de619
Disabled access check explicitly
rimi-itk Oct 10, 2023
0922282
Handled access checks
rimi-itk Oct 10, 2023
c148116
Cleaned up
rimi-itk Oct 10, 2023
f2979ad
Added informaation on upgrade to Drupal 10
rimi-itk Oct 11, 2023
f6e9226
Updated docker compose setup
rimi-itk Nov 15, 2023
6cfd643
Updated git ignore
rimi-itk Nov 20, 2023
61b126f
Added Task
rimi-itk Nov 20, 2023
552fe6a
Update README.md
rimi-itk Nov 20, 2023
6df20e7
Added visibility update hook
rimi-itk Nov 20, 2023
6734bfc
Fixed issue with adding document to empty collection
rimi-itk Dec 8, 2023
b1b4fca
Fixed issue with uploading files
rimi-itk Dec 11, 2023
fa3c2e0
Fixed display of post comment media
rimi-itk Dec 12, 2023
fa95914
Fixed injection of CKEditor stylesheet
rimi-itk Jan 30, 2024
4ade840
Fixed display of search field on search page
rimi-itk Feb 2, 2024
2491f9b
Fixed display of node view search form
rimi-itk Feb 2, 2024
9ab11f4
Cleaned up role permissions
rimi-itk Feb 21, 2024
c9d58e8
SAML cleanup
rimi-itk Feb 22, 2024
c25ca13
Removed `core` key form module info
rimi-itk Feb 22, 2024
9d1700a
PHP 8.2
rimi-itk Feb 26, 2024
fc9bccc
Merge pull request #346 from itk-dev/feature/d-10
rimi-itk Feb 26, 2024
295dd06
Use site default language for notification messages
rimi-itk Feb 26, 2024
89b9720
Merge pull request #349 from itk-dev/feature/notification-mail-language
rimi-itk Feb 27, 2024
4665a44
Allowed users to access media usage
rimi-itk Feb 26, 2024
6cf89a0
Allowed users to delete and edit media
rimi-itk Feb 26, 2024
d9995e8
Merge pull request #348 from itk-dev/feature/delete-media
rimi-itk Mar 21, 2024
8363b83
Updated docker compose setup
rimi-itk Apr 3, 2024
da0b27d
Updated nginx configuration
rimi-itk Apr 3, 2024
3e8f286
Merge pull request #350 from itk-dev/feature/docker-compose-update
rimi-itk Apr 3, 2024
aa03989
Updated tasks
rimi-itk Apr 5, 2024
dc322a6
Merge pull request #351 from itk-dev/hotfix/tasks
rimi-itk Apr 5, 2024
db95d05
1124: Fix spacing
yepzdk Apr 5, 2024
dede5fc
1124: Update changelog
yepzdk Apr 5, 2024
9470de3
Merge pull request #352 from itk-dev/fix/SUPP0RT-1467-and-SUPP0RT-147…
rimi-itk Apr 5, 2024
57e0186
1322: Updated docker compose setup
rimi-itk May 15, 2024
186639a
1322: Updated composer packages
rimi-itk May 15, 2024
d2f5585
1322: Applied coding standards
rimi-itk May 15, 2024
eec413c
1322: Applied Twig coding standards
rimi-itk May 15, 2024
3223ff0
1322: Cleaned up
rimi-itk May 15, 2024
ac59fda
Merge pull request #353 from itk-dev/feature/1322-security-update
rimi-itk May 15, 2024
e734505
1712: Added “Expand all steps” link on step by step
rimi-itk Jun 26, 2024
a01a0aa
1712: Added “Collapse all steps” link on step by step
rimi-itk Jul 5, 2024
f6f0365
1712; Fixed caching issue
rimi-itk Jul 5, 2024
1dd17ad
Merge pull request #354 from itk-dev/feature/1712-step-by-step
martinyde Jul 8, 2024
c52b39b
Updated drupal core
martinyde Jul 8, 2024
47f3943
Merge branch 'develop' into feature/upgrade-drupal-core-10.3.1
martinyde Jul 8, 2024
ad0c115
Change os2loop fixtures in composer
martinyde Jul 8, 2024
5dd074c
Modified changelog
martinyde Jul 8, 2024
50a4d88
Merge pull request #355 from itk-dev/feature/upgrade-drupal-core-10.3.1
martinyde Jul 9, 2024
024d065
Merge branch 'develop'
martinyde Jul 9, 2024
710755e
Modified changelog
martinyde Jul 9, 2024
e9e2294
Merge branch 'main' into develop
martinyde Jul 9, 2024
b4ed3ac
Update config to mach drupal version
martinyde Jul 9, 2024
ca0fe3f
Update changelog
martinyde Jul 9, 2024
ceee2f6
Merge pull request #356 from itk-dev/hotfix/config-update-d-10-3-1
martinyde Jul 10, 2024
ee974d0
first few modules
Mr-Martin-Kristiansen Aug 20, 2024
da18b3c
added the last modules, Paragraph creation skould be create with sepa…
Mr-Martin-Kristiansen Aug 20, 2024
cbb71b2
updated readme with a helpfull command to find machinename, without g…
Mr-Martin-Kristiansen Aug 20, 2024
44c4e65
added coding standard fixes
Mr-Martin-Kristiansen Aug 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .docker/data/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore
!Readme.md
26 changes: 26 additions & 0 deletions .docker/data/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# .docker/data

Please map persistent volumes to this directory on the servers.

If a container needs to persist data between restarts you can map the relevant files in the container to ``docker/data/<container-name>`.

## RabbitMQ example
If you are using RabbitMQ running in a container as a message broker you need to configure a persistent volume for RabbitMQs data directory to avoid losing message on container restarts.

```yaml
# docker-compose.server.override.yml

services:
rabbit:
image: rabbitmq:3.9-management-alpine
hostname: "${COMPOSE_PROJECT_NAME}"
networks:
- app
- frontend
environment:
- "RABBITMQ_DEFAULT_USER=${RABBITMQ_USER}"
- "RABBITMQ_DEFAULT_PASS=${RABBITMQ_PASSWORD}"
- "RABBITMQ_ERLANG_COOKIE=${RABBITMQ_ERLANG_COOKIE}"
volumes:
- ".docker/data/rabbitmq:/var/lib/rabbitmq/mnesia/"
```
37 changes: 37 additions & 0 deletions .docker/nginx.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
worker_processes auto;

error_log /dev/stderr notice;
pid /tmp/nginx.pid;

events {
worker_connections 1024;
}


http {
proxy_temp_path /tmp/proxy_temp;
client_body_temp_path /tmp/client_temp;
fastcgi_temp_path /tmp/fastcgi_temp;
uwsgi_temp_path /tmp/uwsgi_temp;
scgi_temp_path /tmp/scgi_temp;

include /etc/nginx/mime.types;
default_type application/octet-stream;

set_real_ip_from 172.16.0.0/8;
real_ip_recursive on;
real_ip_header X-Forwarded-For;

log_format main '$http_x_real_ip - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';

access_log /dev/stdout main;

sendfile on;
keepalive_timeout 65;

gzip on;

include /etc/nginx/conf.d/*.conf;
}
98 changes: 98 additions & 0 deletions .docker/templates/default.conf.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
server {
listen ${NGINX_PORT};
server_name localhost;

root ${NGINX_WEB_ROOT};

client_max_body_size ${NGINX_MAX_BODY_SIZE};

location = /favicon.ico {
log_not_found off;
access_log off;
}

location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}

location ~* \.(txt|log)$ {
deny all;
}

location ~ \..*/.*\.php$ {
return 403;
}

location ~ ^/sites/.*/private/ {
return 403;
}

# Block access to scripts in site files directory
location ~ ^/sites/[^/]+/files/.*\.php$ {
deny all;
}

# Block access to "hidden" files and directories whose names begin with a
# period.
location ~ (^|/)\. {
return 403;
}

location / {
try_files $uri /index.php?$query_string;
}

location @rewrite {
rewrite ^ /index.php;
}

# Don't allow direct access to PHP files in the vendor directory.
location ~ /vendor/.*\.php$ {
deny all;
return 404;
}

# Protect files and directories from prying eyes.
location ~* \.(engine|inc|install|make|module|profile|po|sh|.*sql|.tar|.gz|.bz2|theme|twig|tpl(\.php)?|xtmpl|yml)(~|\.sw[op]|\.bak|\.orig|\.save)?$|^(\.(?!well-known).*|Entries.*|Repository|Root|Tag|Template|composer\.(json|lock)|web\.config)$|^#.*#$|\.php(~|\.sw[op]|\.bak|\.orig|\.save)$ {
deny all;
return 404;
}

location ~ '\.php$|^/update.php' {
include fastcgi_params;

fastcgi_buffers 16 32k;
fastcgi_buffer_size 64k;
fastcgi_busy_buffers_size 64k;

fastcgi_split_path_info ^(.+?\.php)(|/.*)$;

# Ensure the php file exists. Mitigates CVE-2019-11043
try_files $fastcgi_script_name =404;

fastcgi_param HTTP_PROXY "";
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param QUERY_STRING $query_string;

fastcgi_intercept_errors on;
fastcgi_pass ${NGINX_FPM_SERVICE};

# @TODO Can we fall back to the default value here if NGINX_FASTCGI_READ_TIMEOUT is not defined?
# Cf. https://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_read_timeout
fastcgi_read_timeout ${NGINX_FASTCGI_READ_TIMEOUT};
}

# Enforce clean URLs
#
# Removes index.php from urls like www.example.com/index.php/my-page --> www.example.com/my-page
# Could be done with 301 for permanent or other redirect codes.
if ($request_uri ~* "^(.*/)index\.php/(.*)") {
return 307 $1$2;
}

error_log /dev/stderr;
access_log /dev/stdout main;
}
74 changes: 29 additions & 45 deletions .docker/vhost.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# @see https://www.nginx.com/resources/wiki/start/topics/recipes/drupal/
server {
listen 80;
listen 8080;
server_name localhost;

root /app/web;
Expand All @@ -16,9 +15,7 @@ server {
access_log off;
}

# Very rarely should these ever be accessed outside of your lan
location ~* \.(txt|log)$ {
allow 192.168.0.0/16;
deny all;
}

Expand All @@ -35,25 +32,18 @@ server {
deny all;
}

# Allow "Well-Known URIs" as per RFC 5785
location ~* ^/.well-known/ {
allow all;
}

# Block access to "hidden" files and directories whose names begin with a
# period. This includes directories used by version control systems such
# as Subversion or Git to store control files.
# period.
location ~ (^|/)\. {
return 403;
}

location / {
# try_files $uri @rewrite; # For Drupal <= 6
try_files $uri /index.php?$query_string; # For Drupal >= 7
try_files $uri /index.php?$query_string;
}

location @rewrite {
rewrite ^/(.*)$ /index.php?q=$1;
rewrite ^ /index.php;
}

# Don't allow direct access to PHP files in the vendor directory.
Expand All @@ -62,47 +52,41 @@ server {
return 404;
}

# In Drupal 8, we must also match new paths where the '.php' appears in
# the middle, such as update.php/selection. The rule we use is strict,
# and only allows this pattern with the update.php front controller.
# This allows legacy path aliases in the form of
# blog/index.php/legacy-path to continue to route to Drupal nodes. If
# you do not have any paths like that, then you might prefer to use a
# laxer rule, such as:
# location ~ \.php(/|$) {
# The laxer rule will continue to work if Drupal uses this new URL
# pattern with front controllers other than update.php in a future
# release.
# Protect files and directories from prying eyes.
location ~* \.(engine|inc|install|make|module|profile|po|sh|.*sql|.tar|.gz|.bz2|theme|twig|tpl(\.php)?|xtmpl|yml)(~|\.sw[op]|\.bak|\.orig|\.save)?$|^(\.(?!well-known).*|Entries.*|Repository|Root|Tag|Template|composer\.(json|lock)|web\.config)$|^#.*#$|\.php(~|\.sw[op]|\.bak|\.orig|\.save)$ {
deny all;
return 404;
}

location ~ '\.php$|^/update.php' {
fastcgi_split_path_info ^(.+?\.php)(|/.*)$;
# Security note: If you're running a version of PHP older than the
# latest 5.3, you should have "cgi.fix_pathinfo = 0;" in php.ini.
# See http://serverfault.com/q/627903/94922 for details.
include fastcgi_params;
# Block httpoxy attacks. See https://httpoxy.org/.

fastcgi_buffers 16 32k;
fastcgi_buffer_size 64k;
fastcgi_busy_buffers_size 64k;

fastcgi_split_path_info ^(.+?\.php)(|/.*)$;

# Ensure the php file exists. Mitigates CVE-2019-11043
try_files $fastcgi_script_name =404;

fastcgi_param HTTP_PROXY "";
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param QUERY_STRING $query_string;

fastcgi_intercept_errors on;
fastcgi_pass phpfpm:9000;
}

# Fighting with Styles? This little gem is amazing.
# location ~ ^/sites/.*/files/imagecache/ { # For Drupal <= 6
location ~ ^/sites/.*/files/styles/ { # For Drupal >= 7
try_files $uri @rewrite;
# Enforce clean URLs
#
# Removes index.php from urls like www.example.com/index.php/my-page --> www.example.com/my-page
# Could be done with 301 for permanent or other redirect codes.
if ($request_uri ~* "^(.*/)index\.php/(.*)") {
return 307 $1$2;
}

# Handle private files through Drupal. Private file's path can come
# with a language prefix.
location ~ ^(/[a-z\-]+)?/system/files/ { # For Drupal >= 7
try_files $uri /index.php?$query_string;
}

location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg)$ {
try_files $uri @rewrite;
expires max;
log_not_found off;
}
error_log /dev/stderr;
access_log /dev/stdout main;
}
19 changes: 11 additions & 8 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -19,29 +19,32 @@
*.config text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.css text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.dist text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.engine text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
*.engine text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
*.html text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=html
*.inc text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
*.install text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
*.inc text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
*.install text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
*.js text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.json text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.lock text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.map text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.md text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.module text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
*.php text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
*.module text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
*.php text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
*.po text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.profile text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
*.profile text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
*.script text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.sh text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
*.sh text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
*.sql text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.svg text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.theme text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
*.theme text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
*.twig text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.txt text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.xml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.yml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2

# PHPStan's baseline uses tabs instead of spaces.
core/.phpstan-baseline.php text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tabwidth=2 diff=php linguist-language=php

# Define binary file attributes.
# - Do not treat them as text.
# - Include binary diff in patches instead of "binary files differ."
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
php-version: 8.2
extensions: dom, zip
coverage: none
tools: composer:v2
Expand Down
Loading