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( ->setFinder(
PhpCsFixer\Finder::create() PhpCsFixer\Finder::create()
->in(__DIR__ . "/examples") ->in(__DIR__ . "/examples")
->in(__DIR__ . "/lib") ->in(__DIR__ . "/src")
->in(__DIR__ . "/test") ->in(__DIR__ . "/test")
); );

View File

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

View File

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

View File

@ -19,7 +19,7 @@
</testsuites> </testsuites>
<filter> <filter>
<whitelist> <whitelist>
<directory suffix=".php">lib</directory> <directory suffix=".php">src</directory>
</whitelist> </whitelist>
</filter> </filter>
<listeners> <listeners>