-
Notifications
You must be signed in to change notification settings - Fork 50
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
Sylius 1.13 #199
Merged
Merged
Sylius 1.13 #199
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
31ff455
Update all config files and remove some no more necessary stuffs
Prometee 91ed886
Update bootstrap file to get env vars
Prometee eefaf0c
Little deprecation fixed
Prometee c56ab66
Ignore public/build folder
Prometee bbf92a9
Restore the same config as on the main branch
Prometee 6bbd7d6
Fix int to float prices
Prometee 072ff7b
Fix thousand separator
Prometee 8fc6e0a
Fix PantherDriver reference
Prometee f077335
Fix expected message argument ordering
Prometee ea489a9
Wrong format
Prometee fb08556
Increase timeout to let the ajax query be done
Prometee c3eaecc
Fix build for Sylius 1.12
Prometee a35c891
Update from Sylius-Standard config
Prometee e79a18b
Cleanup and remove no more required codes
Prometee 66e2cb6
ECS fix
Prometee f53509e
Fix wrong scenario description
Prometee 49359d1
Sync config with sylius/sylius
Prometee 0de0c7a
Try to rely on Sylius Behat helpers to know if a form or an ajax requ…
Prometee 557fc96
Refactor to merge two similar methods
Prometee File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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 |
---|---|---|
|
@@ -19,34 +19,35 @@ | |
} | ||
], | ||
"require": { | ||
"php": "^8.0", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. IMO requirement for PHP version should stay |
||
"sylius/sylius": "~1.11.2 || ~1.12.0", | ||
"sylius/sylius": "~1.12.0 || ~1.13.0", | ||
"friendsofsymfony/jsrouting-bundle": "^3.2" | ||
}, | ||
"require-dev": { | ||
"behat/behat": "^3.6", | ||
"behat/mink-selenium2-driver": "^1.4", | ||
"dbrekelmans/bdi": "^1.1", | ||
"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.3", | ||
"friends-of-behat/mink-browserkit-driver": "^1.4", | ||
"friends-of-behat/mink-debug-extension": "^2.0", | ||
"friends-of-behat/mink-extension": "^2.5", | ||
"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", | ||
"friends-of-behat/mink-debug-extension": "^2.0", | ||
"phpspec/phpspec": "^7.0", | ||
"phpspec/phpspec": "^7.2", | ||
"phpstan/phpstan": "^1.8", | ||
"phpstan/phpstan-webmozart-assert": "^1.2", | ||
"phpunit/phpunit": "^9.5", | ||
"phpunit/phpunit": "^10.5", | ||
"polishsymfonycommunity/symfony-mocker-container": "^1.0", | ||
"se/selenium-server-standalone": "^2.52", | ||
"sylius-labs/coding-standard": "^4.0", | ||
"symfony/debug-bundle": "^5.4 || ^6.0", | ||
"symfony/dotenv": "^5.4 || ^6.0", | ||
"symfony/web-profiler-bundle": "^5.4 || ^6.0", | ||
"symfony/webpack-encore-bundle": "^1.15" | ||
"robertfausk/behat-panther-extension": "^1.1", | ||
"sylius-labs/coding-standard": "^4.2", | ||
"sylius-labs/suite-tags-extension": "^0.2", | ||
"symfony/debug-bundle": "^5.4 || ^6.4", | ||
"symfony/dotenv": "^5.4 || ^6.4", | ||
"symfony/runtime": "^5.4 || ^6.4", | ||
"symfony/web-profiler-bundle": "^5.4 || ^6.4" | ||
}, | ||
"prefer-stable": true, | ||
"autoload": { | ||
|
@@ -55,6 +56,12 @@ | |
"Tests\\Sylius\\AdminOrderCreationPlugin\\": "tests/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"spec\\Sylius\\AdminOrderCreationPlugin\\": "spec/" | ||
}, | ||
"classmap": ["tests/Application/Kernel.php"] | ||
}, | ||
"scripts": { | ||
"analyse": [ | ||
"@composer validate --strict", | ||
|
@@ -68,12 +75,18 @@ | |
"config": { | ||
"allow-plugins": { | ||
"dealerdirect/phpcodesniffer-composer-installer": false, | ||
"symfony/flex": true | ||
"phpstan/extension-installer": false, | ||
"symfony/flex": false, | ||
"symfony/runtime": true | ||
} | ||
}, | ||
"extra": { | ||
"branch-alias": { | ||
"dev-master": "1.1-dev" | ||
}, | ||
"runtime": { | ||
"project_dir": "tests/Application", | ||
"dotenv_path": "tests/Application/.env" | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,18 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use Symplify\EasyCodingStandard\Config\ECSConfig; | ||
|
||
return static function (ECSConfig $config): void { | ||
$config->import('vendor/sylius-labs/coding-standard/ecs.php'); | ||
|
||
$config->paths([ | ||
__DIR__ . '/src', | ||
__DIR__ . '/tests', | ||
]); | ||
$config->skip([ | ||
'**/var/*', | ||
'**/node_modules/*', | ||
]); | ||
}; |
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.