Skip to content

Commit

Permalink
Test view and property filters (#7)
Browse files Browse the repository at this point in the history
Test view and property filters
Update coverage based on mutation scan
  • Loading branch information
kdebisschop authored Dec 27, 2020
1 parent 9fee048 commit 9f7e1ae
Show file tree
Hide file tree
Showing 9 changed files with 368 additions and 5,605 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@
/.php_cs.cache
/coverage.xml
/junit.xml

composer.lock
7 changes: 5 additions & 2 deletions .php_cs.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

declare(strict_types=1);

/**
* @var iterable<string> $finder
*/
$finder = PhpCsFixer\Finder::create()
->exclude('vendor')
->in(__DIR__);
Expand All @@ -10,7 +13,6 @@ $customRules = [
'@Symfony' => true,
'array_syntax' => ['syntax' => 'short'],
'concat_space' => ['spacing' => 'one'],
'increment_style' => ['style' => 'post'],
'declare_strict_types' => true,
'phpdoc_summary' => false,
];
Expand All @@ -34,7 +36,8 @@ $psr12Rules = [
];

$config = new PhpCsFixer\Config();
$config->setRules($customRules + $psr12Rules)
$config->setRiskyAllowed(true)
->setRules($customRules + $psr12Rules)
->setFinder($finder);

return $config;
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"require": {
"php": "^7.4 || ^8.0",
"google/apiclient": "^2.8",
"jangregor/phpstan-prophecy": "^0.8.1",
"wizaplace/php-etl": "^1.3"
},
"autoload": {
Expand All @@ -38,7 +39,8 @@
}
},
"scripts": {
"fixer": "php-cs-fixer --dry-run -v --allow-risky=yes fix",
"fix": "php-cs-fixer fix -v",
"fixer": "php-cs-fixer fix --dry-run -v",
"cs": "phpcs -p -s",
"analyze": "phpstan --memory-limit=256M analyze",
"test": "phpunit",
Expand Down
Loading

0 comments on commit 9f7e1ae

Please sign in to comment.