Skip to content

Commit 4332b20

Browse files
committed
Allow Symfony 5 and switch to composer-bin-plugin
1 parent 95d964f commit 4332b20

10 files changed

Lines changed: 4302 additions & 7 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/.idea
22
/composer.lock
33
/vendor
4+
/vendor-bin/**/vendor
45
/.phpunit*
56
/tests/_output
67
/tests/_reports

composer.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,12 @@
2424
},
2525
"require-dev": {
2626
"ext-intl": "*",
27+
"bamarni/composer-bin-plugin": "^1.3",
2728
"captainhook/plugin-composer": "^4.0",
28-
"phpstan/phpstan": "^0.11.5",
29-
"phpunit/phpunit": "^8.0",
30-
"slevomat/coding-standard": "^5.0",
31-
"squizlabs/php_codesniffer": "^3.2",
32-
"vimeo/psalm": "^3.2",
3329
"doctrine/annotations": "^1.5",
3430
"twig/twig": "^2.0",
35-
"symfony/form": "^4.2",
36-
"symfony/http-foundation": "^4.2"
31+
"symfony/form": "^4.2|^5.0",
32+
"symfony/http-foundation": "^4.2|^5.0"
3733
},
3834
"suggest": {
3935
"squirrelphp/strings-bundle": "Symfony integration of squirrelphp/strings"
@@ -52,6 +48,9 @@
5248
}
5349
},
5450
"scripts": {
51+
"bin": "echo 'bin not installed'",
52+
"post-install-cmd": ["@composer bin all install --ansi"],
53+
"post-update-cmd": ["@composer bin all update --ansi"],
5554
"phpstan": "vendor/bin/phpstan analyse src --level=7",
5655
"psalm": "vendor/bin/psalm --show-info=false",
5756
"psalm_base": "vendor/bin/psalm --set-baseline=psalm-baseline.xml",

vendor-bin/phpcs/composer.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"require": {
3+
"squizlabs/php_codesniffer": "^3.5",
4+
"slevomat/coding-standard": "^5.0"
5+
}
6+
}

vendor-bin/phpcs/composer.lock

Lines changed: 156 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor-bin/phpstan/composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"require": {
3+
"phpstan/phpstan": "^0.11.19"
4+
}
5+
}

0 commit comments

Comments
 (0)