Skip to content

Commit

Permalink
Merge pull request #2 from moufmouf/multi_params
Browse files Browse the repository at this point in the history
 Fixing handling of ... params
  • Loading branch information
moufmouf committed Sep 6, 2018
2 parents 11a6b67 + 279eefd commit 52686e4
Show file tree
Hide file tree
Showing 25 changed files with 4,386 additions and 16,071 deletions.
21 changes: 18 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,27 @@ matrix:
env: PREFER_LOWEST=""
- php: 7.1
env: PREFER_LOWEST=""
# - php: 7.1
# env: PREFER_LOWEST="--prefer-lowest"

cache:
directories:
- doc/doc-en
- vendor
- $HOME/.composer

before_script:
- composer update $PREFER_LOWEST --no-interaction
- composer install --no-interaction
- mkdir -p build/logs
- |
if [ ! -d "doc/doc-en/en" ]; then
cd doc
svn co https://svn.php.net/repository/phpdoc/modules/doc-en doc-en
cd ..
else
cd doc/doc-en
svn update
cd ../..
fi
script:
- "./vendor/bin/phpunit"
#- "./vendor/bin/composer-require-checker --config-file=composer-require-checker.json"
Expand Down
17 changes: 14 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,32 @@
{
"name": "Julien",
"name": "thecodingmachine/safe",
"description": "Create a list of functional PHP functions which return false on error",
"autoload": {
"psr-4": {
"Safe\\": ["lib/", "generated/"]
}
},
"autoload-dev": {
"psr-4": {
"Safe\\": "src/"
}
},
"require-dev": {
"php": ">=7.1",
"ext-simplexml": "*",
"phpunit/phpunit": "^7",
"phpstan/phpstan": "^0.10.2",
"thecodingmachine/phpstan-strict-rules": "^0.10",
"phpoffice/phpspreadsheet": "^1.4",
"ext-json": "^1.5"
"ext-json": "^1.5",
"symfony/console": "^4.1.4",
"squizlabs/php_codesniffer": "^3.2",
"php-coveralls/php-coveralls": "^2.1"
},
"scripts": {
"phpstan": "phpstan analyse src -c phpstan.neon --level=7 --no-progress -vvv"
"phpstan": "phpstan analyse src -c phpstan.neon --level=7 --no-progress -vvv",
"cs-fix": "phpcbf",
"cs-check": "phpcs"
},
"require": {
}
Expand Down

0 comments on commit 52686e4

Please sign in to comment.