Skip to content

Commit

Permalink
feat: rewrite auth to match new documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mychidarko committed Oct 21, 2024
1 parent 10084cb commit 5de02ab
Show file tree
Hide file tree
Showing 17 changed files with 779 additions and 517 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ Thumbs.db

# phpstorm
.idea/*

# Alchemy
.alchemy
.phpunit.result.cache
33 changes: 33 additions & 0 deletions alchemy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
app:
- src

tests:
engine: pest
parallel: true
paths:
- tests
files:
- '*.test.php'
coverage:
processUncoveredFiles: true

lint:
preset: PSR12
rules:
no_unused_imports: true
not_operator_with_successor_space: false
single_quote: true

actions:
run:
- lint
- tests
os:
- ubuntu-latest
php:
extensions: json, zip, dom, curl, libxml, mbstring
versions:
- '8.3'
events:
- push
- pull_request
18 changes: 11 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,33 @@
"Leaf\\": "src"
},
"files": [
"src/functions.php"
]
"src/functions.php"
]
},
"minimum-stability": "stable",
"prefer-stable": true,
"prefer-stable": true,
"require": {
"leafs/date": "*",
"leafs/password": "*",
"leafs/session": "*",
"leafs/db": "*",
"leafs/form": "*",
"leafs/http": "*"
"leafs/http": "*",
"leafs/alchemy": "dev-next"
},
"config": {
"allow-plugins": {
"pestphp/pest-plugin": true
}
},
"require-dev": {
"leafs/alchemy": "^1.0",
"pestphp/pest": "^1.0 | ^2.0"
"pestphp/pest": "^1.0 | ^2.0",
"friendsofphp/php-cs-fixer": "^3.64"
},
"scripts": {
"test": "vendor/bin/pest --colors=always --coverage"
"test": "./vendor/bin/alchemy setup --test",
"alchemy": "./vendor/bin/alchemy setup",
"lint": "./vendor/bin/alchemy setup --lint",
"actions": "./vendor/bin/alchemy setup --actions"
}
}
18 changes: 0 additions & 18 deletions phpunit.xml

This file was deleted.

Loading

0 comments on commit 5de02ab

Please sign in to comment.