Skip to content

Commit 8534bd8

Browse files
committed
Made compatible with symfony v4
1 parent 6dab590 commit 8534bd8

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ This changelog references the relevant changes done between versions.
55
To get the diff for a specific change, go to https://github.com/LIN3S/CS/commit/XXX where XXX is the change hash
66
To get the diff between two versions, go to https://github.com/LIN3S/CS/compare/v0.6.0...v0.7.0
77

8+
* 0.7.1
9+
* Removed the `TwigCs` dependency from requirement because it's not compatible with Symfony v4.
10+
* Made the library compatible with Symfony 4.0.
811
* 0.7.0
912
* Added TwigCS to lint the Twig files.
1013
* Added installation steps when the ESLint or Stylelint are not installed in the machine.

composer.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,19 @@
1212
],
1313
"require": {
1414
"php": "^7.1",
15-
"allocine/twigcs": "^2.1",
1615
"incenteev/composer-parameter-handler": "^2.1",
1716
"lin3s/php-cs-fixer-config": "^1.0.1",
1817
"neronmoon/scriptsdev": "^0.1.1",
1918
"phpmd/phpmd": "^2.6",
20-
"symfony/filesystem": "^2.8 || ^3.0",
21-
"symfony/yaml": "^2.8 || ^3.0"
19+
"symfony/filesystem": "^2.8 || ^3.0 || ^4.0",
20+
"symfony/yaml": "^2.8 || ^3.0 || ^4.0"
2221
},
2322
"require-dev": {
2423
"phpspec/phpspec": "^3.4"
2524
},
25+
"suggest": {
26+
"allocine/twigcs": "Library that offers the Twig coding standards"
27+
},
2628
"scripts": {
2729
"cs": [
2830
"php-cs-fixer fix --config=.php_cs -v",

0 commit comments

Comments
 (0)