Skip to content

Commit 020603b

Browse files
authored
Merge pull request #21 from Paneon/master
Update master
2 parents 431a0d9 + 09625d1 commit 020603b

27 files changed

+1501
-167
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
!bin/console
77
/vendor/
88

9-
# PHPUnit
10-
.phpcs-cache
9+
# PHP CS Fixer
10+
.php_cs.cache
1111

1212
node_modules

.php_cs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
3+
$finder = PhpCsFixer\Finder::create()
4+
->in([
5+
__DIR__ . DIRECTORY_SEPARATOR . 'src',
6+
__DIR__ . DIRECTORY_SEPARATOR . 'tests',
7+
])
8+
->name('*.php')
9+
;
10+
11+
return PhpCsFixer\Config::create()
12+
->setRiskyAllowed(true)
13+
->setRules([
14+
'@PHP56Migration' => true,
15+
'@Symfony' => true,
16+
'concat_space' => ['spacing' => 'one'],
17+
'yoda_style' => null,
18+
])
19+
->setFinder($finder)
20+
;

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# php-vue-to-twig
22

3-
[![Build Status](https://travis-ci.org/Paneon/php-vue-to-twig.svg?branch=master)](https://travis-ci.org/Paneon/php-vue-to-twig)
3+
![CI](https://github.com/Paneon/php-vue-to-twig/workflows/PHP%20Composer/badge.svg)
44

55
Compile vue files to twig templates with PHP
66

@@ -22,7 +22,7 @@ Compile vue files to twig templates with PHP
2222
|v-model||
2323
|v-pre||
2424
|v-cloak||
25-
|v-once||
25+
|v-once|:white_check_mark:|
2626

2727

2828
## Other Functionalities

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
"ext-simplexml": "*",
3636
"phpunit/phpunit": "^7",
3737
"monolog/monolog": "^1.24",
38-
"phpstan/phpstan": "^0.12"
38+
"phpstan/phpstan": "^0.12",
39+
"friendsofphp/php-cs-fixer": "^2.16"
3940
},
4041
"scripts": {
4142
"cs:fix": "phpcbf --standard=phpcs.xml",

0 commit comments

Comments
 (0)