1
0
mirror of https://github.com/danog/postgres.git synced 2024-11-26 20:15:02 +01:00

lib → src

This commit is contained in:
Aaron Piotrowski 2018-03-26 23:02:35 -05:00
parent dbca58507e
commit 61ea8388af
No known key found for this signature in database
GPG Key ID: ADD1EF783EDE9EEB
43 changed files with 7 additions and 7 deletions

View File

@ -35,6 +35,6 @@ return PhpCsFixer\Config::create()
->setFinder(
PhpCsFixer\Finder::create()
->in(__DIR__ . "/examples")
->in(__DIR__ . "/lib")
->in(__DIR__ . "/src")
->in(__DIR__ . "/test")
);

View File

@ -2,7 +2,7 @@ PHP_BIN := php
COMPOSER_BIN := composer
COVERAGE = coverage
SRCS = lib test
SRCS = src test
find_php_files = $(shell find $(1) -type f -name "*.php")
src = $(foreach d,$(SRCS),$(call find_php_files,$(d)))

View File

@ -29,11 +29,11 @@
},
"autoload": {
"psr-4": {
"Amp\\Postgres\\": "lib"
"Amp\\Postgres\\": "src"
},
"files": [
"lib/functions.php",
"lib/Internal/functions.php"
"src/functions.php",
"src/Internal/functions.php"
]
},
"autoload-dev": {

View File

@ -19,10 +19,10 @@
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">lib</directory>
<directory suffix=".php">src</directory>
</whitelist>
</filter>
<listeners>
<listener class="Amp\PHPUnit\LoopReset"/>
</listeners>
</phpunit>
</phpunit>