Skip to content
This repository was archived by the owner on May 13, 2023. It is now read-only.

Commit b88ee01

Browse files
committed
Replace StyleCI with PrettyCI
1 parent 2494018 commit b88ee01

File tree

5 files changed

+44
-42
lines changed

5 files changed

+44
-42
lines changed

.gitattributes

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
spec/ export-ignore
2-
tests/ export-ignore
3-
.editorconfig export-ignore
4-
.gitattributes export-ignore
5-
.gitignore export-ignore
6-
.php_cs export-ignore
7-
.scrutinizer.yml export-ignore
8-
.styleci.yml export-ignore
9-
.travis.yml export-ignore
10-
CONTRIBUTING export-ignore
11-
phpspec.yml.ci export-ignore
12-
phpspec.yml.dist export-ignore
13-
phpunit.xml.dist export-ignore
1+
.editorconfig export-ignore
2+
.gitattributes export-ignore
3+
/.github/ export-ignore
4+
.gitignore export-ignore
5+
/.php_cs.dist export-ignore
6+
/.scrutinizer.yml export-ignore
7+
/.travis.yml export-ignore
8+
/behat.yml.dist export-ignore
9+
/features/ export-ignore
10+
/phpspec.ci.yml export-ignore
11+
/phpspec.yml.dist export-ignore
12+
/phpunit.xml.dist export-ignore
13+
/spec/ export-ignore
14+
/tests/ export-ignore

.gitignore

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
.puli/
2-
build/
3-
vendor/
4-
composer.lock
5-
phpspec.yml
6-
phpunit.xml
1+
/.php_cs
2+
/.php_cs.cache
3+
/.puli/
4+
/behat.yml
5+
/build/
6+
/composer.lock
7+
/phpspec.yml
8+
/phpunit.xml
9+
/vendor/

.php_cs

Lines changed: 0 additions & 13 deletions
This file was deleted.

.php_cs.dist

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?php
2+
/*
3+
* Configuration for friendsofphp/php-cs-fixer
4+
*
5+
* @link https://github.com/FriendsOfPHP/PHP-CS-Fixer
6+
*/
7+
$finder = PhpCsFixer\Finder::create()
8+
->in('src')
9+
->in('tests')
10+
;
11+
return PhpCsFixer\Config::create()
12+
->setRules([
13+
'@PSR2' => true,
14+
'@Symfony' => true,
15+
'array_syntax' => [
16+
'syntax' => 'short',
17+
],
18+
'no_empty_phpdoc' => true,
19+
'no_superfluous_phpdoc_tags' => true,
20+
])
21+
->setFinder($finder);

.styleci.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)