Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio del Olmo committed Jan 28, 2023
0 parents commit 23deec8
Show file tree
Hide file tree
Showing 10 changed files with 6,095 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/tests export-ignore
.gitattributes export-ignore
.gitignore export-ignore
infection.json.dist export-ignore
phpcs.xml.dist export-ignore
phpstan.neon.dist export-ignore
phpunit.xml.dist export-ignore
psalm.xml export-ignore
rector.php export-ignore
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/coverage
/var
/vendor
/clover.xml
/infection.log
/.php_cs.cache
/.phpunit.result.cache
69 changes: 69 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"name": "delolmo/valinor-http-message",
"description": "Use psr/http-message as a Valinor source",
"type": "library",
"require": {
"php": "^8.2",
"cuyz/valinor": "^1.2",
"psr/http-message": "^1.0"
},
"require-dev": {
"ext-xdebug": "*",
"doctrine/coding-standard": "^10.0",
"ergebnis/composer-normalize": "^2.29",
"infection/infection": "^0.26",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpstan/phpstan": "^1.9",
"phpstan/phpstan-deprecation-rules": "^1.1",
"phpstan/phpstan-mockery": "^1.1",
"phpstan/phpstan-phpunit": "^1.3",
"phpstan/phpstan-strict-rules": "^1.4",
"phpunit/phpunit": "^9.5",
"rector/rector": "^0.15.10",
"squizlabs/php_codesniffer": "^3.7",
"vimeo/psalm": "^4.30"
},
"config": {
"allow-plugins": {
"infection/extension-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true
},
"sort-packages": true
},
"autoload": {
"psr-4": {
"DelOlmo\\Valinor\\Source\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"DelOlmoPro\\Valinor\\Source\\": "tests/"
}
},
"authors": [
{
"name": "Antonio del Olmo",
"email": "[email protected]"
}
],
"scripts": {
"coverage": "php -d xdebug.mode=coverage vendor/bin/phpunit --coverage-text",
"infection": "infection --threads=4 --only-covered",
"lint": "parallel-lint ./src",
"phpcbf": "phpcbf",
"phpcs": "phpcs",
"phpstan": "phpstan analyse --xdebug --memory-limit 1G",
"phpunit": "phpunit --configuration phpunit.xml.dist",
"psalm": "psalm --config psalm.xml",
"rector": "rector process --dry-run",
"test": [
"@lint",
"@phpcs",
"@rector",
"@phpstan",
"@psalm",
"@phpunit"
]
}
}
Loading

0 comments on commit 23deec8

Please sign in to comment.