Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
.couscous
*.lock
.couscous/
.phpcs.cache
.phpunit.cache/
.phpunit.result.cache
composer.lock
Makefile
phpcs.xml
phpstan.neon
phpunit.xml
vendor
vendor/
39 changes: 32 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "respect/config",
"description": "A powerful, small, deadly simple configurator and dependency injection container made to be easy.",
"type": "library",
"homepage": "https://github.com/Respect/Config",
"description": "A powerful, small, deadly simple configurator and dependency injection container made to be easy.",
"keywords": ["respect", "config", "dic", "dependency injection"],
"license": "BSD-3-Clause",
"authors": [
Expand All @@ -11,18 +11,43 @@
"homepage": "https://github.com/Respect/Config/graphs/contributors"
}
],
"autoload": {
"psr-4": {
"Respect\\": "library/Respect"
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"require": {
"php": ">=8.5.0",
"php": ">=8.5",
"psr/container": "^2.0"
},
"require-dev": {
"phpunit/phpunit": "^10.0",
"mikey179/vfsstream": "^1.6"
"mikey179/vfsstream": "^1.6",
"phpstan/phpstan": "^2.0",
"phpunit/phpunit": "^12.5",
"respect/coding-standard": "^5.0",
"squizlabs/php_codesniffer": "^4.0"
},
"autoload": {
"psr-4": {
"Respect\\Config\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Respect\\Config\\": "tests/"
}
},
"scripts": {
"coverage": "vendor/bin/phpunit --coverage-text",
"phpcs": "vendor/bin/phpcs",
"phpstan": "vendor/bin/phpstan analyze",
"phpunit": "vendor/bin/phpunit",
"qa": [
"@phpcs",
"@phpstan",
"@phpunit"
]
},
"extra": {
"branch-alias": {
Expand Down
19 changes: 10 additions & 9 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
<phpunit backupGlobals="false"
processIsolation="false"
stopOnFailure="false">
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php">
<testsuites>
<testsuite name="Respect\Config">
<testsuite name="unit">
<directory suffix="Test.php">tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>library/</directory>
</whitelist>
</filter>
<source>
<include>
<directory>src</directory>
</include>
</source>
</phpunit>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading