Skip to content
Snippets Groups Projects
Unverified Commit 34b9002e authored by Christoph Wurst's avatar Christoph Wurst
Browse files

Add cs fixer config

parent 6734996e
No related branches found
No related tags found
No related merge requests found
......@@ -30,3 +30,5 @@ coverage/
# PHPunit temp file
tests/.phpunit.result.cache
/.php_cs.cache
<?php
declare(strict_types=1);
require_once './vendor/autoload.php';
use Nextcloud\CodingStandard\Config;
$config = new Config();
$config
->getFinder()
->ignoreVCSIgnored(true)
->notPath('build')
->notPath('l10n')
->notPath('src')
->notPath('vendor')
->in(__DIR__);
return $config;
......@@ -43,10 +43,13 @@
"roave/security-advisories": "dev-master",
"christophwurst/nextcloud": "v17.0.2",
"christophwurst/nextcloud_testing": "0.10.0",
"nextcloud/coding-standard": "^0.1.0",
"phan/phan": "^2.0",
"vimeo/psalm": "^3.9"
},
"scripts": {
"cs:check": "php-cs-fixer fix --dry-run",
"cs:fix": "php-cs-fixer fix",
"lint": "find . -name \\*.php -not -path './vendor/*' -exec php -l \"{}\" \\;",
"phan": "phan --allow-polyfill-parser -k .phan/config.php",
"test:integration": "phpunit -c tests/phpunit.integration.xml tests/Integration --fail-on-warning",
......
This diff is collapsed.
......@@ -30,7 +30,6 @@ use ChristophWurst\Nextcloud\Testing\TestCase;
use OCA\Mail\Account;
use OCA\Mail\Db\Mailbox;
use OCA\Mail\Db\Message;
use OCA\Mail\Events\MessageDeletedEvent;
use OCA\Mail\Events\MessageFlaggedEvent;
use OCA\Mail\Listener\MessageCacheUpdaterListener;
use OCP\EventDispatcher\Event;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment