Skip to content
Merged

Rc #704

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
18122a0
Dependency update. FRW-8773 Added PHP Unit 11 support.
vol4onok Nov 7, 2024
4b6ac85
SUPESC-936: Updated security checker (#670)
vol4onok Jan 29, 2025
0a2c7c5
Merge branch 'master' of github.com:spryker-sdk/sdk into rc
vol4onok Jan 29, 2025
ec19989
Merged master
vol4onok Jan 29, 2025
ec91c7c
Merge branch 'rc' of github.com:spryker-sdk/sdk into rc
vol4onok Jan 29, 2025
6c7f509
Fixed release
vol4onok Jan 29, 2025
97a979b
Merge branch 'master' of github.com:spryker-sdk/sdk into rc
vol4onok Jan 29, 2025
92dd721
Dependency update. Fixing CI (#680)
upgradabilitybot-spryker Jun 3, 2025
b954798
Dependency update. Update ci
upgradabilitybot-spryker Jun 3, 2025
99c4abe
Merge branch 'master' into rc
vol4onok Jun 3, 2025
05c8852
Dependency update. SSP-927 Fixes.
upgradabilitybot-spryker Jun 19, 2025
8af3886
Merge branch 'master' of github.com:spryker-sdk/sdk into rc
vol4onok Sep 2, 2025
be57f7a
Merge branch 'rc' of github.com:spryker-sdk/sdk into rc
vol4onok Sep 2, 2025
72f11cd
FRW-10950: Enable otel extension in image (#686)
vol4onok Sep 2, 2025
2bb4520
Fixed autoload no-dev
vol4onok Sep 2, 2025
429135c
Merge branch 'rc' of github.com:spryker-sdk/sdk into rc
vol4onok Sep 2, 2025
f071327
Merge branch 'master' of github.com:spryker-sdk/sdk into rc
vol4onok Sep 2, 2025
228df1a
Fixed autoload no-dev
vol4onok Sep 2, 2025
06ccfc3
Merge branch 'master' of github.com:spryker-sdk/sdk into rc
vol4onok Sep 2, 2025
440b7e9
Merge branch 'master' of github.com:spryker-sdk/sdk into rc
vol4onok Sep 2, 2025
c3bb406
Fixed autoload no-dev
vol4onok Sep 2, 2025
91f8e86
Merge branch 'master' of github.com:spryker-sdk/sdk into rc
vol4onok Sep 2, 2025
9eb608f
Fixed autoload no-dev
vol4onok Sep 2, 2025
1c4908a
Fixed autoload no-dev
vol4onok Sep 2, 2025
b80e97f
FRW-10922 Updated spryker-sdk/evaluator version (#692)
Sep 17, 2025
cf5d134
Merge branch 'master' into rc
vol4onok Sep 17, 2025
c266094
Dependency update. FRW-10648 Added PHP 8.4 support
upgradabilitybot-spryker Oct 2, 2025
a498921
FRW0-10648 Added PHP 8.4 Support. (#685)
olhalivitchuk Oct 2, 2025
6142818
Rc (#693) (#696)
olhalivitchuk Oct 2, 2025
da9256d
Rc (#693) (#698)
olhalivitchuk Oct 2, 2025
4383d94
Merge branch 'master' of github.com:spryker-sdk/sdk into rc
vol4onok Oct 2, 2025
293e2fb
Dependency update. Dependency update. Update phpunit
upgradabilitybot-spryker Feb 12, 2026
e3bce66
Update phpunit 12
vol4onok Feb 12, 2026
0e4643a
Merge branch 'master' of github.com:spryker-sdk/sdk into rc
vol4onok Feb 13, 2026
2949683
FRW-10644 Added PHPStan 2.* Support. (#703)
olhalivitchuk Feb 24, 2026
8ec432d
Rc (#702) (#706)
olhalivitchuk Feb 24, 2026
aa94f74
Resolved conflicts
olhalivitchuk Feb 24, 2026
67f0b29
Resolved conflicts
olhalivitchuk Feb 24, 2026
b847c10
Merge pull request #707 from spryker-sdk/rc-mini
olhalivitchuk Feb 24, 2026
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
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,21 @@
"ondrejmirtes/better-reflection": "6.43.*",
"phpbench/phpbench": "^1.2",
"phpmd/phpmd": "2.15.*",
"phpstan/phpstan": "^1.12",
"phpstan/phpstan": "^2.1",
"psr/cache": "^1.0 || ^2.0 || ^3.0",
"psr/log": "^1.0 || ^2.0 || ^3.0",
"ramsey/uuid": "^3.9",
"rector/rector": "^0.13",
"rector/rector": "^2.0",
"spryker-sdk/acp": "^0.3.2",
"spryker-sdk/async-api": "^0.3.2",
"spryker-sdk/brancho": "dev-master as 1.0.0",
"spryker-sdk/composer-replace": "dev-master as 1.0.0",
"spryker-sdk/evaluator": "^0.3.2",
"spryker-sdk/evaluator": "^0.3.4",
"spryker-sdk/sdk-contracts": "^0.5.0",
"spryker-sdk/security-checker": "^0.2.0",
"spryker-sdk/spryk": "^0.4.7",
"spryker-sdk/sync-api": "^0.1.1",
"spryker-sdk/upgrader": "^0.3.14",
"spryker-sdk/upgrader": "^0.3.17",
"spryker/architecture-sniffer": "^0.5.7",
"spryker/code-sniffer": "^0.17.18",
"symfony/asset": "^6.0",
Expand Down
78 changes: 39 additions & 39 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions infrastructure/sdk.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ RUN apk update \
########################################
RUN mv /usr/local/etc/php/disabled/otel.ini /usr/local/etc/php/conf.d/90-otel.ini

########################################
# Enable AMQP Extension
# It's already in the core image.
########################################
RUN mv /usr/local/etc/php/disabled/amqp.ini /usr/local/etc/php/conf.d/90-amqp.ini

RUN git config --add --system safe.directory /project

ARG SPRYKER_COMPOSER_MODE
Expand Down
6 changes: 6 additions & 0 deletions infrastructure/sdk.sprykerci-8.2.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ RUN docker-php-ext-install xsl
########################################
RUN mv /usr/local/etc/php/disabled/otel.ini /usr/local/etc/php/conf.d/90-otel.ini

########################################
# Enable AMQP Extension
# It's already in the core image.
########################################
RUN mv /usr/local/etc/php/disabled/amqp.ini /usr/local/etc/php/conf.d/90-amqp.ini

RUN git config --add --system safe.directory /project

########################################
Expand Down
6 changes: 6 additions & 0 deletions infrastructure/sdk.sprykerci-8.3.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ RUN docker-php-ext-install xsl
########################################
RUN mv /usr/local/etc/php/disabled/otel.ini /usr/local/etc/php/conf.d/90-otel.ini

########################################
# Enable AMQP Extension
# It's already in the core image.
########################################
RUN mv /usr/local/etc/php/disabled/amqp.ini /usr/local/etc/php/conf.d/90-amqp.ini

RUN git config --add --system safe.directory /project

########################################
Expand Down
6 changes: 6 additions & 0 deletions infrastructure/sdk.sprykerci-8.4.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ RUN docker-php-ext-install xsl
########################################
RUN mv /usr/local/etc/php/disabled/otel.ini /usr/local/etc/php/conf.d/90-otel.ini

########################################
# Enable AMQP Extension
# It's already in the core image.
########################################
RUN mv /usr/local/etc/php/disabled/amqp.ini /usr/local/etc/php/conf.d/90-amqp.ini

RUN git config --add --system safe.directory /project

########################################
Expand Down
10 changes: 5 additions & 5 deletions src/Core/Application/Dto/Abstraction/Dto.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ protected function toSingularValue($value, string $type = DtoProperty::TYPE_DEFA

/**
* @param \SprykerSdk\Sdk\Core\Application\Dto\Abstraction\Reflection\DtoProperty $property
* @param array $arrayValue
* @param mixed $arrayValue
* @param string $type
*
* @return array
Expand All @@ -131,7 +131,7 @@ protected function toArrayValue(DtoProperty $property, $arrayValue, string $type

/**
* @param array $keyStack
* @param array $arrayValue
* @param mixed $arrayValue
* @param string $type
*
* @return array
Expand Down Expand Up @@ -192,7 +192,7 @@ protected function setFromArray(array $data, bool $ignoreMissing)
protected function fromSingularValue(DtoProperty $property, $value, bool $ignoreMissing = false)
{
if (is_subclass_of($property->getType(), FromArrayToArrayInterface::class)) {
/** @var \SprykerSdk\Sdk\Core\Application\Dto\Abstraction\FromArrayToArrayInterface $className */
/** @var class-string<\SprykerSdk\Sdk\Core\Application\Dto\Abstraction\FromArrayToArrayInterface> $className */
$className = $property->getType();

$value = is_array($value) ? $className::fromArray($value, $ignoreMissing) : null;
Expand All @@ -205,7 +205,7 @@ protected function fromSingularValue(DtoProperty $property, $value, bool $ignore

/**
* @param \SprykerSdk\Sdk\Core\Application\Dto\Abstraction\Reflection\DtoProperty $property
* @param array $collectionValue
* @param mixed $collectionValue
* @param bool $ignoreMissing
*
* @return array
Expand All @@ -222,7 +222,7 @@ protected function fromCollectionValue(DtoProperty $property, $collectionValue,
/**
* @param array $keyStack
* @param \SprykerSdk\Sdk\Core\Application\Dto\Abstraction\Reflection\DtoProperty $property
* @param array $collectionValue
* @param mixed $collectionValue
* @param bool $ignoreMissing
*
* @return array
Expand Down
3 changes: 2 additions & 1 deletion src/Extension/Converter/DeprecationsReportConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

namespace SprykerSdk\Sdk\Extension\Converter;

use Closure;
use SprykerSdk\Sdk\Core\Application\Dto\Violation\Violation;
use SprykerSdk\Sdk\Core\Application\Dto\Violation\ViolationReport;
use SprykerSdk\Sdk\Core\Application\Violation\AbstractViolationConverter;
Expand Down Expand Up @@ -92,7 +93,7 @@ protected function filterDeprecations(array $report): array
*/
protected function formatDeprecations(array $issues): array
{
return array_map([static::class, 'createDeprecation'], $issues);
return array_map(Closure::fromCallable([$this, 'createDeprecation']), $issues);
}

/**
Expand Down
8 changes: 5 additions & 3 deletions src/Extension/ValueResolver/SdkDirectoryValueResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,12 @@ protected function getValueFromSettings(array $settingValues): string
return $this->sdkBasePath;
}

$settingSdkBasePath = $settingValues[Setting::PATH_SDK_DIR];
$settingSdkBasePath = (string)$settingValues[Setting::PATH_SDK_DIR];

if (realpath($settingSdkBasePath) !== false) {
return realpath($settingSdkBasePath);
$realPath = realpath($settingSdkBasePath);

if ($realPath !== false) {
return $realPath;
}

return $this->sdkBasePath . DIRECTORY_SEPARATOR . $settingSdkBasePath;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,6 @@ protected function getTransitionMeta(Event $event, string $metaName)
*/
protected function getContext(TransitionEvent $event): ContextInterface
{
/** @var \SprykerSdk\Sdk\Core\Domain\Entity\ContextInterface $context */
$context = $event->getContext()['context'] ?? null;

if (!$context instanceof ContextInterface) {
Expand Down
Loading
Loading