Skip to content

Commit

Permalink
chore: merge and resolve conflicts with main
Browse files Browse the repository at this point in the history
  • Loading branch information
agebhardt committed Dec 3, 2024
2 parents 5552db6 + 9b527e4 commit 08e85b5
Show file tree
Hide file tree
Showing 10 changed files with 427 additions and 266 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/on-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
php-version: '8.3'
tools: phpcs, cs2pr
- name: Lint
run: phpcs -q --report=checkstyle custom | cs2pr
run: phpcs -q --standard=PSR12 --report=checkstyle custom | cs2pr
format:
name: Format
runs-on: ubuntu-latest
Expand All @@ -33,7 +33,7 @@ jobs:
php-version: '8.3'
tools: php-cs-fixer, cs2pr
- name: Format
run: php-cs-fixer fix --dry-run --allow-risky=yes --format=checkstyle | cs2pr
run: php-cs-fixer fix --dry-run --allow-risky=yes --format=checkstyle --rules=@PSR12 | cs2pr
test:
name: Test
runs-on: ubuntu-latest
Expand Down
6 changes: 6 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
"homepage": "https://passage.1password.com/"
}
],
"scripts": {
"lint": "./vendor/bin/phpcs --standard=PSR12 --report=full custom",
"phpcs-fix": "./vendor/bin/phpcbf --standard=PSR12 custom",
"format": "./vendor/bin/php-cs-fixer fix --allow-risky=yes --rules=@PSR12"
},
"require": {
"php": "^7.4 || ^8.0",
"ext-curl": "*",
Expand All @@ -40,6 +45,7 @@
"require-dev": {
"phpunit/phpunit": "^9.0",
"friendsofphp/php-cs-fixer": "^3.5",
"squizlabs/php_codesniffer": "^3.0",
"vlucas/phpdotenv": "^5.6"
},
"autoload": {
Expand Down
Loading

0 comments on commit 08e85b5

Please sign in to comment.