Skip to content

Commit

Permalink
Merge pull request #42 from nielslange/add/41-classic-cart-and-checko…
Browse files Browse the repository at this point in the history
…ut-blocks

Add classic cart and checkout blocks
  • Loading branch information
nielslange authored Nov 10, 2023
2 parents 5cfa23a + 612ef09 commit 03cb5cb
Show file tree
Hide file tree
Showing 7 changed files with 251 additions and 88 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ indent_size = 2
trim_trailing_whitespace = false

[{*.txt,*.php}]
end_of_line = crlf
end_of_line = crlf
2 changes: 1 addition & 1 deletion .github/workflows/php-coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: "8.0"
coverage: none
tools: composer, cs2pr

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/vendor
/.DS_Store
60 changes: 34 additions & 26 deletions command.php

Large diffs are not rendered by default.

14 changes: 6 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,21 @@
]
},
"require": {
"php": ">=7.4"
"php": ">=8.0"
},
"require-dev": {
"composer/installers": "~1.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
"johnpbloch/wordpress-core": "^5.7",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
"johnpbloch/wordpress-core": "^6.4",
"php-parallel-lint/php-parallel-lint": "^1.0",
"squizlabs/php_codesniffer": "^3.5",
"wp-coding-standards/wpcs": "^2.3.0",
"woocommerce/woocommerce-sniffs": "^0.1.2"
"woocommerce/woocommerce-sniffs": "1.0.0"
},
"scripts": {
"phpcs": [
"@php ./vendor/bin/phpcs --standard=phpcs.xml -p -s -n . --extensions=php --ignore=\"/vendor/*\""
"./vendor/bin/phpcs"
],
"phpcbf": [
"@php ./vendor/bin/phpcbf --standard=phpcs.xml -p -s -n . --extensions=php --ignore=\"/vendor/*\""
"./vendor/bin/phpcbf"
],
"lint": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git"
Expand Down
Loading

0 comments on commit 03cb5cb

Please sign in to comment.