Skip to content

Commit fe341c1

Browse files
authored
[OP 579] PHPSpec to PHPUnit (#381)
2 parents 8b660f2 + 5b0feb7 commit fe341c1

File tree

82 files changed

+3743
-2772
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+3743
-2772
lines changed

.github/workflows/build.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,6 @@ jobs:
207207
name: Run analysis
208208
run: composer analyse
209209

210-
-
211-
name: Run PHPSpec
212-
run: vendor/bin/phpspec run --ansi -f progress --no-interaction
213-
214210
-
215211
name: Run PHPUnit
216212
run: vendor/bin/phpunit --colors=always

composer.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,12 @@
3737
"friends-of-behat/variadic-extension": "^1.6",
3838
"matthiasnoback/symfony-config-test": "^5.1",
3939
"matthiasnoback/symfony-dependency-injection-test": "^5.1",
40-
"phpspec/phpspec": "^7.5",
4140
"phpstan/extension-installer": "^1.4",
4241
"phpstan/phpstan": "^1.12",
4342
"phpstan/phpstan-doctrine": "^1.5",
4443
"phpstan/phpstan-symfony": "^1.4",
4544
"phpstan/phpstan-webmozart-assert": "^1.2",
46-
"phpunit/phpunit": "^9.5",
45+
"phpunit/phpunit": "^10.5",
4746
"polishsymfonycommunity/symfony-mocker-container": "^1.0",
4847
"sylius-labs/coding-standard": "^4.4",
4948
"sylius/test-application": "^2.0.0@alpha",
@@ -70,10 +69,10 @@
7069
"analyse": [
7170
"@composer validate --strict",
7271
"vendor/bin/phpstan analyse -c phpstan.neon -l max",
73-
"vendor/bin/ecs check src/ spec/"
72+
"vendor/bin/ecs check src/"
7473
],
7574
"fix": [
76-
"vendor/bin/ecs check --fix src/ spec/"
75+
"vendor/bin/ecs check --fix src/"
7776
]
7877
},
7978
"config": {

phpspec.yml.dist

Lines changed: 0 additions & 4 deletions
This file was deleted.

phpunit.xml.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
<phpunit
44
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.1/phpunit.xsd"
5+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
66
colors="true"
77
bootstrap="vendor/sylius/test-application/config/bootstrap.php"
88
>
99
<testsuites>
10-
<testsuite name="SyliusInvoicingPlugin Test Suite">
10+
<testsuite name="sylius_invoicing_plugin_test_suite">
1111
<directory>tests</directory>
1212
</testsuite>
1313
</testsuites>

spec/Command/SendInvoiceEmailSpec.php

Lines changed: 0 additions & 26 deletions
This file was deleted.

spec/CommandHandler/SendInvoiceEmailHandlerSpec.php

Lines changed: 0 additions & 102 deletions
This file was deleted.

spec/Converter/OrderItemUnitsToLineItemsConverterSpec.php

Lines changed: 0 additions & 135 deletions
This file was deleted.

spec/Converter/ShippingAdjustmentsToLineItemsConverterSpec.php

Lines changed: 0 additions & 70 deletions
This file was deleted.

0 commit comments

Comments
 (0)