Skip to content

Commit eb475d9

Browse files
committed
Merge branch 'main' into remove-sendfriend
# Conflicts: # app/design/frontend/base/default/template/sendfriend/send.phtml # app/design/frontend/rwd/default/template/sendfriend/send.phtml
2 parents 30d6baf + 7427284 commit eb475d9

File tree

458 files changed

+6784
-1611
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

458 files changed

+6784
-1611
lines changed

.ddev/commands/web/phpunit-coverage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
## Example: ddev phpunit-coverage
66

77
enable_xdebug
8-
XDEBUG_MODE=coverage php vendor/bin/phpunit --testdox
8+
XDEBUG_MODE=coverage php vendor/bin/phpunit "$@" --testdox
99
disable_xdebug

.ddev/commands/web/phpunit-coverage-local

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
## Example: ddev phpunit-coverage-local
66

77
enable_xdebug
8-
XDEBUG_MODE=coverage php vendor/bin/phpunit --coverage-html build/coverage --testdox
8+
XDEBUG_MODE=coverage php vendor/bin/phpunit --coverage-html build/coverage "$@" --testdox
99
disable_xdebug

.github/workflows/check-files.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
php:
1313
description: "Count changed PHP files"
1414
value: ${{ jobs.check.outputs.php }}
15+
phtml:
16+
description: "Count changed Template files"
17+
value: ${{ jobs.check.outputs.phtml }}
1518
xml:
1619
description: "Count changed XML files"
1720
value: ${{ jobs.check.outputs.xml }}
@@ -44,6 +47,7 @@ jobs:
4447
composer: ${{ steps.changes-composer.outputs.composer }}
4548
js: ${{ steps.changes-js.outputs.js }}
4649
php: ${{ steps.changes-php.outputs.php }}
50+
phtml: ${{ steps.all.outputs.phtml }}
4751
xml: ${{ steps.changes-xml.outputs.xml }}
4852
workflow: ${{ steps.changes-workflow.outputs.workflow }}
4953
phpcs: ${{ steps.changes-phpcs.outputs.phpcs }}
@@ -77,6 +81,7 @@ jobs:
7781
composer.*
7882
*.php
7983
**/*.php
84+
**/*.phtml
8085
**/*.xml
8186
**/*.js
8287
.github/workflows/**
@@ -113,6 +118,14 @@ jobs:
113118
echo "$count PHP file(s) changed"
114119
echo "php=$count" >> $GITHUB_OUTPUT
115120
121+
- name: Check if Template files changed
122+
id: changes-phtml
123+
if: steps.changed-files-specific.outputs.any_modified == 'true'
124+
run: |
125+
count="$(grep -oE "*.phtml" <<< "${{ steps.changed-files-specific.outputs.all_modified_files }}" | wc -l)"
126+
echo "$count Template file(s) changed"
127+
echo "phtml=$count" >> $GITHUB_OUTPUT
128+
116129
- name: Check if XML files changed
117130
id: changes-xml
118131
if: steps.changed-files-specific.outputs.any_modified == 'true'

.github/workflows/rector.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
rector:
10-
name: Validation
10+
name: Rector
1111
runs-on: [ubuntu-latest]
1212

1313
steps:

.github/workflows/workflow.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- 'composer.json'
88
- 'composer.lock'
99
- '**.php'
10+
- '**.phtml'
1011
- '**.js'
1112
- '**.xml'
1213
- '.php-cs-fixer.dist.php'
@@ -22,6 +23,7 @@ on:
2223
- 'composer.json'
2324
- 'composer.lock'
2425
- '**.php'
26+
- '**.phtml'
2527
- '**.js'
2628
- '**.xml'
2729
- '.php-cs-fixer.dist.php'
@@ -87,6 +89,7 @@ jobs:
8789
needs: [check, composer]
8890
if: |
8991
needs.check.outputs.php > 0 ||
92+
needs.check.outputs.phtml > 0 ||
9093
needs.check.outputs.phpstan > 0 ||
9194
needs.check.outputs.composer > 0 ||
9295
needs.check.outputs.workflow > 0

0 commit comments

Comments
 (0)