Skip to content

Commit 20f3040

Browse files
authored
Merge branch 'main' into copilot/fix-guest-checkout-email-issue
2 parents b0a9727 + 99758fe commit 20f3040

File tree

2,286 files changed

+29400
-22652
lines changed

Some content is hidden

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

2,286 files changed

+29400
-22652
lines changed

.github/copilot-instructions.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ This project aims to provide a stable and secure version of Magento 1.x, with on
5656
- Update comments to reflect changes in code.
5757
- Update tests to cover new functionality and changes in code.
5858
- Update copyright notices in new files.
59+
- Do not add return types in docblocks if type hints are used.
60+
- Use strict comparisons (`===` and `!==`) instead of loose comparisons (`==` and `!=`) in new code.
61+
- Avoid using empty() function in new code. Use explicit checks instead.
5962

6063
## UI guidelines
6164

.github/workflows/check-files.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
8080

8181
- name: Cache dependencies
82-
uses: actions/cache@v4
82+
uses: actions/cache@v5
8383
with:
8484
path: ${{ steps.composer-cache.outputs.dir }}
8585
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}

.github/workflows/composer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
2020

2121
- name: Cache dependencies
22-
uses: actions/cache@v4
22+
uses: actions/cache@v5
2323
with:
2424
path: ${{ steps.composer-cache.outputs.dir }}
2525
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}

.github/workflows/cypress.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- run: ddev cypress-run --config-file .cypress.config.js
4040

4141
- name: Upload screenshots
42-
uses: actions/upload-artifact@v5
42+
uses: actions/upload-artifact@v6
4343
if: ${{ !success() }}
4444
with:
4545
name: cypress-screenshots

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
python-version: 3.x
2828
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
2929

30-
- uses: actions/cache@v3
30+
- uses: actions/cache@v5
3131
with:
3232
key: mkdocs-material-${{ env.cache_id }}
3333
path: .cache

.github/workflows/php-cs-fixer.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
2525

2626
- name: Cache dependencies
27-
uses: actions/cache@v4
27+
uses: actions/cache@v5
2828
with:
2929
path: ${{ steps.composer-cache.outputs.dir }}
3030
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -34,7 +34,7 @@ jobs:
3434
run: composer install --prefer-dist --no-progress --ignore-platform-req=ext-*
3535

3636
- name: Restore result cache
37-
uses: actions/cache/restore@v4
37+
uses: actions/cache/restore@v5
3838
with:
3939
path: .php-cs-fixer.cache
4040
key: php-cs-fixer-result-cache-${{ github.run_id }}
@@ -45,7 +45,7 @@ jobs:
4545
run: php vendor/bin/php-cs-fixer fix --diff --dry-run
4646

4747
- name: Save result cache
48-
uses: actions/cache/save@v4
48+
uses: actions/cache/save@v5
4949
if: always()
5050
with:
5151
path: .php-cs-fixer.cache

.github/workflows/phpcs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
2525

2626
- name: Cache dependencies
27-
uses: actions/cache@v4
27+
uses: actions/cache@v5
2828
with:
2929
path: ${{ steps.composer-cache.outputs.dir }}
3030
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -34,7 +34,7 @@ jobs:
3434
run: composer install --prefer-dist --no-progress --ignore-platform-req=ext-*
3535

3636
- name: Restore result cache
37-
uses: actions/cache/restore@v4
37+
uses: actions/cache/restore@v5
3838
with:
3939
path: .phpcs.result.cache
4040
key: phpcs-result-cache-${{ github.run_id }}
@@ -45,7 +45,7 @@ jobs:
4545
run: php vendor/bin/phpcs -s -p --cache=.phpcs.result.cache --report=full --standard=.phpcs.dist.xml
4646

4747
- name: Save result cache
48-
uses: actions/cache/save@v4
48+
uses: actions/cache/save@v5
4949
if: always()
5050
with:
5151
path: .phpcs.result.cache

.github/workflows/phpmd.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
2020

2121
- name: Cache dependencies
22-
uses: actions/cache@v4
22+
uses: actions/cache@v5
2323
with:
2424
path: ${{ steps.composer-cache.outputs.dir }}
2525
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -29,7 +29,7 @@ jobs:
2929
run: composer install --prefer-dist --no-progress --ignore-platform-req=ext-*
3030

3131
- name: Restore result cache
32-
uses: actions/cache/restore@v4
32+
uses: actions/cache/restore@v5
3333
with:
3434
path: .phpmd.result-cache.php
3535
key: phpmd-result-cache-${{ github.run_id }}
@@ -40,7 +40,7 @@ jobs:
4040
run: php vendor/bin/phpmd app/code/core/Mage/ github .phpmd.dist.xml --cache --baseline-file .phpmd.dist.baseline.xml
4141

4242
- name: Save result cache
43-
uses: actions/cache/save@v4
43+
uses: actions/cache/save@v5
4444
if: always()
4545
with:
4646
path: .phpmd.result-cache.php

.github/workflows/phpstan.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
2424

2525
- name: Cache dependencies
26-
uses: actions/cache@v4
26+
uses: actions/cache@v5
2727
with:
2828
path: ${{ steps.composer-cache.outputs.dir }}
2929
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -33,7 +33,7 @@ jobs:
3333
run: composer install --prefer-dist --no-progress --ignore-platform-req=ext-*
3434

3535
- name: Restore result cache
36-
uses: actions/cache/restore@v4
36+
uses: actions/cache/restore@v5
3737
with:
3838
path: .phpstan.cache
3939
key: phpstan-result-cache-${{ github.run_id }}
@@ -44,7 +44,7 @@ jobs:
4444
run: XDEBUG_MODE=off php vendor/bin/phpstan.phar analyze
4545

4646
- name: Save result cache
47-
uses: actions/cache/save@v4
47+
uses: actions/cache/save@v5
4848
if: always()
4949
with:
5050
path: .phpstan.cache

.github/workflows/phpunit.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
5454

5555
- name: Cache dependencies
56-
uses: actions/cache@v4
56+
uses: actions/cache@v5
5757
with:
5858
path: ${{ steps.composer-cache.outputs.dir }}
5959
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -91,7 +91,7 @@ jobs:
9191
--skip_url_validation 'yes'
9292
9393
- name: Restore result cache
94-
uses: actions/cache/restore@v4
94+
uses: actions/cache/restore@v5
9595
with:
9696
path: .phpunit.result.cache
9797
key: phpunit-result-cache-${{ matrix.php-versions }}-${{ matrix.mysql-version }}-${{ github.run_id }}
@@ -102,7 +102,7 @@ jobs:
102102
run: php vendor/bin/phpunit --configuration .phpunit.dist.xml --testsuite Base,Error,Mage,Varien
103103

104104
- name: Save result cache
105-
uses: actions/cache/save@v4
105+
uses: actions/cache/save@v5
106106
if: always()
107107
with:
108108
path: .phpunit.result.cache
@@ -116,7 +116,7 @@ jobs:
116116
files: tests/logging/*.xml
117117

118118
- name: SonarQube Scan
119-
uses: SonarSource/sonarqube-scan-action@v6
119+
uses: SonarSource/sonarqube-scan-action@v7
120120
continue-on-error: true
121121
if: ${{ (matrix.php-versions == '8.1') && (matrix.mysql-version == '5.7') }}
122122
with:

0 commit comments

Comments
 (0)