Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update dependencies #2823

Merged
merged 13 commits into from
Jan 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ e1d0b23fba81d3c80e80f2881ab38bf9d7f6397a
# New license header
3a73921085d70b87f9a71ff46c4c9035beec8ca0
633e5ec44fabdbbbf73580a0ec857a4fb14030f9

# Update PHP-CS-Fixer
cbbc9a6e6896903f7bd6d26730c05256f3d3563b
2 changes: 1 addition & 1 deletion .github/workflows/check-php-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '7.4'

- name: Cache CS-Fixer
uses: actions/cache@v4
Expand Down
10 changes: 0 additions & 10 deletions .phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -24920,11 +24920,6 @@ parameters:
count: 1
path: engine/Shopware/Core/sAdmin.php

-
message: "#^Binary operation \"\\-\" between int\\|string and 1 results in an error\\.$#"
count: 1
path: engine/Shopware/Core/sArticles.php

-
message: "#^Cannot call method getId\\(\\) on Shopware\\\\Bundle\\\\StoreFrontBundle\\\\Struct\\\\Media\\|null\\.$#"
count: 1
Expand Down Expand Up @@ -34500,11 +34495,6 @@ parameters:
count: 1
path: engine/Shopware/Plugins/Default/Core/RestApi/Bootstrap.php

-
message: "#^Parameter \\#1 \\$encodedValue of static method Zend_Json\\:\\:decode\\(\\) expects string, string\\|false given\\.$#"
count: 1
path: engine/Shopware/Plugins/Default/Core/RestApi/Bootstrap.php

-
message: "#^Parameter \\#1 \\$request of method ShopwarePlugins\\\\RestApi\\\\Components\\\\Router\\:\\:assembleRoute\\(\\) expects Enlight_Controller_Request_RequestHttp, Enlight_Controller_Request_Request\\|null given\\.$#"
count: 1
Expand Down
15 changes: 8 additions & 7 deletions UPGRADE-5.7.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,33 +17,34 @@ This changelog references changes done in Shopware 5.7 patch versions.
* Changed the test kernel, so PHPUnit tests do no longer ignore PHP warnings and notices and are failing instead
* Changed the `plugin.xsd` complexType `pluginType` so it could be validated again with newer `libxml2` versions

* Updated `beberlei/assert` to version 3.3.3
* Updated `beberlei/doctrineextensions` to version 1.4.0
* Updated `cocur/slugify` to version 4.6.0 for PHP 8.0 and newer
* Updated `doctrine/annotations` to version 1.14.4
* Updated `doctrine/common` to version 3.4.5
* Updated `doctrine/common` to version 3.5.0
* Updated `doctrine/inflector` to version 2.0.10
* Updated `doctrine/orm` to version 2.15.5
* Updated `doctrine/persistence` to version 3.3.3
* Updated `doctrine/persistence` to version 3.4.0
* Updated `friendsofphp/proxy-manager-lts` to version 1.0.18
* Updated `google/cloud-storage` to version 1.39.0
* Updated `guzzlehttp/guzzle` to version 7.9.2
* Updated `guzzlehttp/psr7` to version 2.7.0
* Updated `monolog/monolog` to version 2.9.3
* Updated `monolog/monolog` to version 2.10.0
* Updated `mpdf/mpdf` to version 8.2.4
* Updated `laminas/laminas-code` to version 4.15.1 for PHP 8.1 and newer
* Updated `laminas/laminas-code` to version 4.16.0 for PHP 8.1 and newer
* Updated `laminas/laminas-escaper` to version 2.15.0 for PHP 8.1 and newer
* Updated `phpunit/phpunit` to version 9.6.21
* Updated `setasign/fpdf` to version 1.8.6
* Updated `setasign/fpdi` to version 2.6.1
* Updated `setasign/fpdi` to version 2.6.2
* Updated `symfony/polyfill-php80` to version 1.31.0
* Updated `symfony/polyfill-php81` to version 1.31.0
* Updated `symfony/polyfill-php82` to version 1.31.0
* Updated `symfony/polyfill-php83` to version 1.31.0
* Updated `symfony/process` to version 5.4.46
* Updated `symfony/process` to version 5.4.47
* Updated `symfony/http-kernel` to version 4.4.51
* Updated `symfony/serializer` to version 5.4.45
* Updated `voku/anti-xss` to version 4.1.42
* Updated `wikimedia/less.php` to version 5.1.1
* Updated `wikimedia/less.php` to version 5.1.2
* Updated several indirect dependencies
* Updated npm dependencies in `themes/package.json`
* Updated npm dependencies in `themes/Frontend/Responsive/package.json`
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/101-add-extended-editor-field.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/102-add-new-emotions.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/103-add-field-blog-teaser.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/104-add-field-blog-thumbnail-size.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/105-s_core_sessions_backend.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/106-add-path-to-categories.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/107-remove-legacy-cache-config.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/108-add-category-listing-indexes.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/109-add-translations.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/110-add-disabled-cache-field.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/111-add-password-encoder.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/113-adds-performance-sql.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/114-add-new-top-seller.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/115-add-denormalized-category-table.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/116-optimize-emotion-queries.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/117-add-article-detail-page-indexes.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/118-optimize-property-backend-queries.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/119-add-batchmode-option.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/120-add-cache-log.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/1200-add-productbox-for-manufacturer.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/1201-remove-secure-shop-config.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/1202-remove-maxpages-formelement.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/1204-add-variant-filter.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/1205-remove-canonical-http-setting.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/1206-add-laststock-field-to-variants.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/1207-add-new-seo-alias-for-variants.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/1208-add-checkout-seo-routes.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/121-fix-cache-label.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/1210-fix-config-table-index.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
3 changes: 2 additions & 1 deletion _sql/migrations/1214-improve-email-header-field.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down Expand Up @@ -45,7 +46,7 @@ public function up($modus)
AND form_id = @formId;
SQL;

$sql = sprintf($sql, 's:' . \strlen(stripslashes($value)) . ':"' . $value . '";');
$sql = \sprintf($sql, 's:' . \strlen(stripslashes($value)) . ':"' . $value . '";');

$this->addSql($sql);
}
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/1215-form-active-status.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/1216-remove-shopware-connect-menu.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
3 changes: 2 additions & 1 deletion _sql/migrations/1217-change-smtp-password-fieldtype.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down Expand Up @@ -31,7 +32,7 @@ public function up($modus)
'autocomplete' => 'off',
],
]);
$sql = sprintf(
$sql = \sprintf(
"UPDATE `s_core_config_elements` SET options = '%s' WHERE name = 'mailer_password' AND options IS NULL;",
$inputType
);
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/1218-change-privacy-options.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/122-optimize-search-index-queries.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/1221-add-double-opt-in-dates.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/1222-privacy-checkbox-note.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/1223-add-ip-anonymization.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/1224-cleanup-optin-table.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/1225-add-double-opt-in-register.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/1226-add-blog-comment-mailtemplate.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/1227-change-minimum-order-surcharge.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
1 change: 1 addition & 0 deletions _sql/migrations/1228-soptinregister-english-on-update.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Shopware 5
* Copyright (c) shopware AG
Expand Down
Loading
Loading