Skip to content

Commit

Permalink
feat: replace Pest by PHPUnit
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos committed May 17, 2024
1 parent 58fe636 commit 1252b0e
Show file tree
Hide file tree
Showing 13 changed files with 1,876 additions and 3,830 deletions.
33 changes: 33 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# https://editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.feature]
indent_size = 2
indent_style = space

[*.yml]
indent_size = 2
indent_style = space

[*.md]
trim_trailing_whitespace = false

[*.svg]
insert_final_newline = false

[package*.json]
indent_size = 2
indent_style = space

[build/psalm-baseline.xml]
indent_size = 2
indent_style = space
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
vendor/
/vendor-bin/**/vendor/
.idea/
file-tests/
tests/temp
.phpunit.result.cache
18 changes: 10 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,16 @@
"description": "Project to add digital signature in pdf files",
"type": "library",
"require": {
"php": "^8.1",
"ext-openssl": "*",
"ext-zlib": "*",
"ext-fileinfo": "*",
"ramsey/uuid": "^4.7"
},
"require-dev": {
"pestphp/pest": "v2.20.0",
"laravel/pint": "v1.13.2",
"symfony/var-dumper": "^6.4.2"
},
"license": "MIT",
"autoload": {
"psr-4": {
"Jeidison\\PdfSigner\\": "src/"
"Jeidison\\PdfSigner\\": "src/",
"Tests\\": "tests"
},
"files": [
"src/Utils/helpers.php"
Expand All @@ -36,7 +31,14 @@
"minimum-stability": "dev",
"config": {
"allow-plugins": {
"pestphp/pest-plugin": true
"pestphp/pest-plugin": true,
"bamarni/composer-bin-plugin": true
},
"platform": {
"php": "8.0"
}
},
"require-dev": {
"bamarni/composer-bin-plugin": "dev-master"
}
}
Loading

0 comments on commit 1252b0e

Please sign in to comment.