-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from webgriffe/issue-7
Upgrade for Sylius 1.10 and PHP 8.0 (#7)
- Loading branch information
Showing
26 changed files
with
456 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,75 +1,76 @@ | ||
{ | ||
"name": "webgriffe/sylius-upgrade-plugin", | ||
"type": "sylius-plugin", | ||
"keywords": ["sylius", "sylius-plugin"], | ||
"description": "Helps you upgrade your Sylius app to a new version.", | ||
"license": "MIT", | ||
"require": { | ||
"php": "^7.3", | ||
"sylius/sylius": "~1.8.0 || ~1.9.0", | ||
"webmozart/glob": "^4.3" | ||
}, | ||
"conflict": { | ||
"api-platform/core": "^2.6", | ||
"doctrine/dbal": "^3" | ||
}, | ||
"require-dev": { | ||
"behat/behat": "^3.6.1", | ||
"behat/mink-selenium2-driver": "^1.4", | ||
"dmore/behat-chrome-extension": "^1.3", | ||
"dmore/chrome-mink-driver": "^2.7", | ||
"friends-of-behat/mink": "^1.8", | ||
"friends-of-behat/mink-browserkit-driver": "^1.4", | ||
"friends-of-behat/mink-extension": "^2.4", | ||
"friends-of-behat/page-object-extension": "^0.3", | ||
"friends-of-behat/suite-settings-extension": "^1.0", | ||
"friends-of-behat/symfony-extension": "^2.1", | ||
"friends-of-behat/variadic-extension": "^1.3", | ||
"friendsofsymfony/oauth-server-bundle": "^1.6 || >2.0.0-alpha.0 ^2.0@dev", | ||
"lakion/mink-debug-extension": "^2.0.0", | ||
"mikey179/vfsstream": "^1.6", | ||
"phpspec/phpspec": "^7.0", | ||
"phpstan/extension-installer": "^1.0", | ||
"phpstan/phpstan": "0.12.82", | ||
"phpstan/phpstan-doctrine": "0.12.33", | ||
"phpstan/phpstan-strict-rules": "^0.12.0", | ||
"phpstan/phpstan-webmozart-assert": "0.12.12", | ||
"phpunit/phpunit": "^9.5", | ||
"sensiolabs/security-checker": "^6.0", | ||
"sylius-labs/coding-standard": "^4.0", | ||
"symfony/browser-kit": "^4.4 || ^5.2", | ||
"symfony/debug-bundle": "^4.4 || ^5.2", | ||
"symfony/dotenv": "^4.4 || ^5.2", | ||
"symfony/intl": "^4.4 || ^5.2", | ||
"symfony/web-profiler-bundle": "^4.4 || ^5.2", | ||
"vimeo/psalm": "4.6.4" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Webgriffe\\SyliusUpgradePlugin\\": "src/", | ||
"Tests\\Webgriffe\\SyliusUpgradePlugin\\": "tests/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"classmap": ["tests/Application/Kernel.php"] | ||
}, | ||
"extra": { | ||
"branch-alias": { | ||
"dev-master": "1.8-dev" | ||
} | ||
}, | ||
"config": { | ||
"sort-packages": true | ||
}, | ||
"scripts": { | ||
"post-install-cmd": [ | ||
"php bin/create_node_symlink.php" | ||
], | ||
"post-update-cmd": [ | ||
"php bin/create_node_symlink.php" | ||
], | ||
"post-create-project-cmd": [ | ||
"php bin/create_node_symlink.php" | ||
] | ||
"name": "webgriffe/sylius-upgrade-plugin", | ||
"type": "sylius-plugin", | ||
"keywords": [ | ||
"sylius", | ||
"sylius-plugin" | ||
], | ||
"description": "Helps you upgrade your Sylius app to a new version.", | ||
"license": "MIT", | ||
"require": { | ||
"php": "^7.4 || ^8.0", | ||
"sylius/sylius": "~1.9.0 || ~1.10.0@beta", | ||
"webmozart/glob": "^4.3" | ||
}, | ||
"require-dev": { | ||
"behat/behat": "^3.6.1", | ||
"behat/mink-selenium2-driver": "^1.4", | ||
"dmore/behat-chrome-extension": "^1.3", | ||
"dmore/chrome-mink-driver": "^2.7", | ||
"friends-of-behat/mink": "^1.8", | ||
"friends-of-behat/mink-browserkit-driver": "^1.4", | ||
"friends-of-behat/mink-debug-extension": "^2.0.0", | ||
"friends-of-behat/mink-extension": "^2.4", | ||
"friends-of-behat/page-object-extension": "^0.3", | ||
"friends-of-behat/suite-settings-extension": "^1.0", | ||
"friends-of-behat/symfony-extension": "^2.1", | ||
"friends-of-behat/variadic-extension": "^1.3", | ||
"friendsofsymfony/oauth-server-bundle": "^1.6 || >2.0.0-alpha.0 ^2.0@dev", | ||
"mikey179/vfsstream": "^1.6", | ||
"phpspec/phpspec": "^7.0", | ||
"phpstan/extension-installer": "^1.0", | ||
"phpstan/phpstan": "0.12.85", | ||
"phpstan/phpstan-doctrine": "0.12.33", | ||
"phpstan/phpstan-strict-rules": "^0.12.0", | ||
"phpstan/phpstan-webmozart-assert": "0.12.12", | ||
"phpunit/phpunit": "^9.5", | ||
"sensiolabs/security-checker": "^6.0", | ||
"sylius-labs/coding-standard": "^4.0", | ||
"symfony/browser-kit": "^4.4 || ^5.2", | ||
"symfony/debug-bundle": "^4.4 || ^5.2", | ||
"symfony/dotenv": "^4.4 || ^5.2", | ||
"symfony/intl": "^4.4 || ^5.2", | ||
"symfony/web-profiler-bundle": "^4.4 || ^5.2", | ||
"vimeo/psalm": "4.7.1" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Webgriffe\\SyliusUpgradePlugin\\": "src/", | ||
"Tests\\Webgriffe\\SyliusUpgradePlugin\\": "tests/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"classmap": [ | ||
"tests/Application/Kernel.php" | ||
] | ||
}, | ||
"extra": { | ||
"branch-alias": { | ||
"dev-master": "1.10-dev" | ||
} | ||
}, | ||
"config": { | ||
"sort-packages": true | ||
}, | ||
"scripts": { | ||
"post-install-cmd": [ | ||
"php bin/create_node_symlink.php" | ||
], | ||
"post-update-cmd": [ | ||
"php bin/create_node_symlink.php" | ||
], | ||
"post-create-project-cmd": [ | ||
"php bin/create_node_symlink.php" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ APP_SECRET=EDITME | |
# Format described at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url | ||
# For a sqlite database, use: "sqlite:///%kernel.project_dir%/var/data.db" | ||
# Set "serverVersion" to your server version to avoid edge-case exceptions and extra database calls | ||
DATABASE_URL=mysql://[email protected]/acme_sylius_example_plugin_%kernel.environment%?serverVersion=5.5 | ||
DATABASE_URL=mysql://[email protected]/webgriffe_sylius_upgrade_plugin_%kernel.environment%?serverVersion=5.7 | ||
###< doctrine/doctrine-bundle ### | ||
|
||
###> lexik/jwt-authentication-bundle ### | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?php | ||
|
||
return [ | ||
BabDev\PagerfantaBundle\BabDevPagerfantaBundle::class => ['all' => true], | ||
SyliusLabs\Polyfill\Symfony\Security\Bundle\SyliusLabsPolyfillSymfonySecurityBundle::class => ['all' => true], | ||
]; |
12 changes: 12 additions & 0 deletions
12
tests/Application/config/sylius/1.10/packages/dev/jms_serializer.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
jms_serializer: | ||
visitors: | ||
json_serialization: | ||
options: | ||
- JSON_PRETTY_PRINT | ||
- JSON_UNESCAPED_SLASHES | ||
- JSON_PRESERVE_ZERO_FRACTION | ||
json_deserialization: | ||
options: | ||
- JSON_PRETTY_PRINT | ||
- JSON_UNESCAPED_SLASHES | ||
- JSON_PRESERVE_ZERO_FRACTION |
4 changes: 4 additions & 0 deletions
4
tests/Application/config/sylius/1.10/packages/jms_serializer.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
jms_serializer: | ||
visitors: | ||
xml_serialization: | ||
format_output: '%kernel.debug%' |
10 changes: 10 additions & 0 deletions
10
tests/Application/config/sylius/1.10/packages/prod/jms_serializer.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
jms_serializer: | ||
visitors: | ||
json_serialization: | ||
options: | ||
- JSON_UNESCAPED_SLASHES | ||
- JSON_PRESERVE_ZERO_FRACTION | ||
json_deserialization: | ||
options: | ||
- JSON_UNESCAPED_SLASHES | ||
- JSON_PRESERVE_ZERO_FRACTION |
Oops, something went wrong.