-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
**/.idea/workspace.xml | ||
**/.idea/tasks.xml | ||
**/.idea/*.iws | ||
**/.idea/dataSources.local.xml | ||
**/.idea/dictionaries | ||
/vendor/ | ||
.php_cs.cache | ||
/tests-report-html/ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
$finder = PhpCsFixer\Finder::create() | ||
->exclude('vendor') | ||
->in(__DIR__) | ||
; | ||
|
||
return PhpCsFixer\Config::create() | ||
->setRules([ | ||
'@PSR1' => true, | ||
'@PSR2' => true, | ||
'@PhpCsFixer' => true, | ||
'@PhpCsFixer:risky' => true, | ||
'array_syntax' => ['syntax' => 'short'], | ||
'php_unit_test_class_requires_covers' => false, | ||
'php_unit_test_case_static_method_calls' => ['call_type' => 'self'], | ||
'native_function_invocation' => false, | ||
]) | ||
->setFinder($finder) | ||
; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
language: php | ||
cache: | ||
directories: | ||
- $HOME/.composer | ||
sudo: false | ||
matrix: | ||
fast_finish: true | ||
include: | ||
- php: '7.1' | ||
- php: '7.2' | ||
- php: '7.3' | ||
install: | ||
- travis_retry composer install --no-progress --no-interaction --prefer-dist | ||
script: | ||
- ./vendor/bin/php-cs-fixer fix --allow-risky=yes --dry-run -v --stop-on-violation | ||
- composer phpunit |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
[](https://travis-ci.org/ddebin/atom-generator) | ||
|
||
# atom-generator | ||
|
||
Atom feed generator |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"name": "ddebin/atom-generator", | ||
"type": "library", | ||
"description": "Atom feed generator", | ||
"keywords": [ | ||
"atom", | ||
"feed", | ||
"generator" | ||
], | ||
"homepage": "https://github.com/ddebin/atom-generator", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Damien Debin", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"php": "^7.1", | ||
"webmozart/assert": "^1.5" | ||
}, | ||
"require-dev": { | ||
"friendsofphp/php-cs-fixer": "^2.15", | ||
"phpunit/phpunit": "^7" | ||
}, | ||
"config": { | ||
"platform": { | ||
"php": "7.1" | ||
} | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"AtomGenerator\\": "src/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Tests\\": "tests" | ||
} | ||
}, | ||
"scripts": { | ||
"test": "./vendor/bin/php-cs-fixer fix --allow-risky=yes && ./vendor/bin/phpunit", | ||
"phpunit": "./vendor/bin/phpunit" | ||
} | ||
} |