-
Notifications
You must be signed in to change notification settings - Fork 0
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 #19 from FosterCommerce/chore/reapply-changes-fix-ecs
chore: Reapply changes to remove code stubs; Fix composer.json formatting; Add editorconfig and fix ECS
- Loading branch information
Showing
35 changed files
with
1,352 additions
and
2,383 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,51 @@ | ||
{ | ||
"name": "fostercommerce/craft-foster-checkout", | ||
"description": "A drop-in best practice checkout process for Craft Commerce", | ||
"type": "craft-plugin", | ||
"license": "mit", | ||
"version": "1.1.0", | ||
"support": { | ||
"email": "[email protected]" | ||
}, | ||
"require": { | ||
"php": "^8.2", | ||
"craftcms/cms": "^5.0.0", | ||
"craftcms/commerce": "^5.0.15" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"fostercommerce\\craftfostercheckout\\": "src/" | ||
} | ||
}, | ||
"extra": { | ||
"handle": "foster-checkout", | ||
"name": "Foster Checkout", | ||
"developer": "Foster Commerce", | ||
"documentationUrl": "", | ||
"class": "fostercommerce\\craftfostercheckout\\FosterCheckout" | ||
}, | ||
"config": { | ||
"sort-packages": true, | ||
"platform": { | ||
"php": "8.2" | ||
}, | ||
"allow-plugins": { | ||
"yiisoft/yii2-composer": true, | ||
"craftcms/plugin-installer": true | ||
} | ||
}, | ||
"require-dev": { | ||
"craftcms/generator": "^2.1", | ||
"fostercommerce/rector": "dev-main", | ||
"fostercommerce/ecs": "dev-main", | ||
"craftcms/phpstan": "dev-main", | ||
"phpstan/phpstan": "^1.11", | ||
"craftcms/rector": "dev-main" | ||
}, | ||
"scripts": { | ||
"phpstan": [ | ||
"@php \"scripts/craft_stubs.php\"", | ||
"phpstan --memory-limit=1G" | ||
], | ||
"ecs-check": "ecs check --ansi --memory-limit=1G", | ||
"ecs-fix": "ecs check --ansi --fix --memory-limit=1G", | ||
"rector": "rector process --config rector.php", | ||
"rector-dry-run": "rector process --dry-run --config rector.php" | ||
} | ||
"name": "fostercommerce/craft-foster-checkout", | ||
"description": "A drop-in best practice checkout process for Craft Commerce", | ||
"type": "craft-plugin", | ||
"license": "mit", | ||
"version": "1.1.0", | ||
"support": { | ||
"email": "[email protected]" | ||
}, | ||
"require": { | ||
"php": "^8.2", | ||
"craftcms/cms": "^5.0.0", | ||
"craftcms/commerce": "^5.0.15" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"fostercommerce\\craftfostercheckout\\": "src/" | ||
} | ||
}, | ||
"extra": { | ||
"handle": "foster-checkout", | ||
"name": "Foster Checkout", | ||
"developer": "Foster Commerce", | ||
"documentationUrl": "", | ||
"class": "fostercommerce\\craftfostercheckout\\FosterCheckout" | ||
}, | ||
"config": { | ||
"sort-packages": true, | ||
"allow-plugins": { | ||
"yiisoft/yii2-composer": true, | ||
"craftcms/plugin-installer": true | ||
} | ||
}, | ||
"require-dev": { | ||
"roave/security-advisories": "dev-latest", | ||
"craftcms/generator": "^2.1", | ||
"fostercommerce/rector": "dev-main", | ||
"fostercommerce/ecs": "dev-main", | ||
"craftcms/phpstan": "dev-main", | ||
"phpstan/phpstan": "^1.11", | ||
"craftcms/rector": "dev-main" | ||
}, | ||
"scripts": { | ||
"phpstan": "phpstan --memory-limit=1G", | ||
"ecs-check": "ecs check --ansi --memory-limit=1G", | ||
"ecs-fix": "ecs check --ansi --fix --memory-limit=1G", | ||
"rector": "rector process --config rector.php", | ||
"rector-dry-run": "rector process --dry-run --config rector.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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,6 @@ includes: | |
- vendor/craftcms/phpstan/phpstan.neon | ||
|
||
parameters: | ||
scanFiles: | ||
- phpstan_stubs.php | ||
paths: | ||
- src | ||
level: 5 |
Oops, something went wrong.