Skip to content

Commit

Permalink
minor #161 Dependencies update (pamil)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.0-dev branch.

Discussion
----------



Commits
-------

3551821 Dependencies update
  • Loading branch information
pamil authored Oct 15, 2019
2 parents a6bd9c8 + 3551821 commit 1665a49
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
include:
- &test
stage: test
name: "Symfony 4.1.* build"
name: "Build"

sudo: false

Expand Down
21 changes: 11 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,31 +39,32 @@
"lakion/mink-debug-extension": "^1.2.3",
"leanphp/phpspec-code-coverage": "^4.2",
"phpspec/phpspec": "^4.0",
"phpstan/phpstan-shim": "^0.10",
"phpstan/phpstan-webmozart-assert": "^0.10.0",
"phpstan/phpstan-shim": "^0.11",
"phpstan/phpstan-webmozart-assert": "^0.11",
"phpunit/phpunit": "^6.5",
"sylius-labs/coding-standard": "^2.0",
"symfony/browser-kit": "^4.1",
"symfony/debug-bundle": "^4.1",
"symfony/browser-kit": "^4.3",
"symfony/debug-bundle": "^4.3",
"symfony/dotenv": "^4.2",
"symfony/framework-bundle": "^4.1",
"symfony/intl": "^4.1",
"symfony/web-profiler-bundle": "^4.1",
"symfony/web-server-bundle": "^4.1"
"symfony/framework-bundle": "^4.3",
"symfony/intl": "^4.3",
"symfony/web-profiler-bundle": "^4.3",
"symfony/web-server-bundle": "^4.3"
},
"conflict": {
"symfony/doctrine-bridge": "4.3.0",
"symfony/framework-bundle": "4.3.0"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Sylius\\RefundPlugin\\": "src/",
"Tests\\Sylius\\RefundPlugin\\": "tests/"
}
},
"scripts": {
"fix": [
"vendor/bin/ecs check src/ spec/ --fix"
],
"analyse": [
"vendor/bin/phpstan.phar analyse -c phpstan.neon -l max src/",
"vendor/bin/ecs check src/ spec/"
Expand Down
2 changes: 0 additions & 2 deletions easy-coding-standard.neon

This file was deleted.

1 change: 1 addition & 0 deletions src/Entity/RefundPaymentInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
interface RefundPaymentInterface extends ResourceInterface
{
public const STATE_NEW = 'New';

public const STATE_COMPLETED = 'Completed';

public function getOrderNumber(): string;
Expand Down
2 changes: 1 addition & 1 deletion src/Generator/SequentialNumberGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ private function generateNumber(int $index): string
{
$number = $this->startNumber + $index;

return str_pad((string) $number, $this->numberLength, '0', STR_PAD_LEFT);
return str_pad((string) $number, $this->numberLength, '0', \STR_PAD_LEFT);
}

private function getSequence(): SequenceInterface
Expand Down
1 change: 1 addition & 0 deletions src/Model/RefundType.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
final class RefundType extends Enum
{
public const ORDER_ITEM_UNIT = 'order_item_unit';

public const SHIPMENT = 'shipment';

public static function orderItemUnit(): self
Expand Down
1 change: 1 addition & 0 deletions src/Validator/RefundUnitsValidationConstraintMessages.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
final class RefundUnitsValidationConstraintMessages
{
public const REFUND_AMOUNT_MUST_BE_LESS_THAN_AVAILABLE = 'sylius_refund.refund_amount_must_be_less';

public const REFUND_AMOUNT_MUST_BE_GREATER_THAN_ZERO = 'sylius_refund.refund_amount_must_be_greater';

private function __construct()
Expand Down

0 comments on commit 1665a49

Please sign in to comment.