Skip to content

Commit 97e857a

Browse files
maxakropolismaxakropolis
andauthored
Composer updates (#53)
* Upgrade fusionspim/php-cs-fixer-config * Upgrade phpunit/phpunit * Run php-fixer-fix * Bump PHP version * Update phpunit.xml.dist * Update semaphore.yml Co-authored-by: maxakropolis <andy@andystafford.co.uk>
1 parent 6a0c174 commit 97e857a

File tree

5 files changed

+559
-466
lines changed

5 files changed

+559
-466
lines changed

.semaphore/semaphore.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,10 @@ blocks:
1313
task:
1414
prologue:
1515
commands:
16-
- sem-version php $PHP_VERSION
16+
- sem-version php 7.3.0
1717
- checkout
1818
jobs:
1919
- name: Composer install
20-
matrix:
21-
- env_var: PHP_VERSION
22-
values: ["7.2.10", "7.3.0"] # Be explicit, even when using the default (in case the default changes)
2320
commands:
2421
- cache restore composer-$SEMAPHORE_GIT_BRANCH-$(checksum composer.lock),composer-$SEMAPHORE_GIT_BRANCH,composer-master
2522
- composer install --prefer-dist --no-suggest --no-interaction
@@ -28,15 +25,12 @@ blocks:
2825
task:
2926
prologue:
3027
commands:
31-
- sem-version php $PHP_VERSION
28+
- sem-version php 7.3.0
3229
- checkout
3330
- cache restore composer-$SEMAPHORE_GIT_BRANCH-$(checksum composer.lock),composer-$SEMAPHORE_GIT_BRANCH,composer-master
3431
- export "PATH=./vendor/bin:${PATH}" # Prepend vendor/bin to the path so we can use dependency executables
3532
jobs:
3633
- name: Tests
37-
matrix:
38-
- env_var: PHP_VERSION
39-
values: ["7.2.10", "7.3.0"] # Be explicit, even when using the default (in case the default changes)
4034
commands:
4135
- cache restore php-cs-fixer-cache
4236
- php-cs-fixer fix --config=.php_cs.dist --dry-run --diff -v --stop-on-violation

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"keywords": ["demandware", "ecommerce", "export", "php", "xml"],
55
"license": "MIT",
66
"require": {
7-
"php": ">=7.2",
7+
"php": "^7.3",
88
"ext-json": "*",
99
"ext-SimpleXML": "*",
1010
"ext-xmlreader": "*",
1111
"ext-xmlwriter": "*"
1212
},
1313
"require-dev": {
14-
"phpunit/phpunit": "8.2.*",
15-
"fusionspim/php-cs-fixer-config": "^3.0"
14+
"fusionspim/php-cs-fixer-config": "^4.1",
15+
"phpunit/phpunit": "^9.0"
1616
},
1717
"autoload": {
1818
"psr-4": { "DemandwareXml\\": "src" }

0 commit comments

Comments
 (0)