Skip to content

Commit ca1cd63

Browse files
authored
Merge pull request #255 from mglaman/symfony5
Support Symfony 5 and 6
2 parents 31e8735 + 1accedc commit ca1cd63

File tree

3 files changed

+402
-76
lines changed

3 files changed

+402
-76
lines changed

.circleci/config.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -171,18 +171,6 @@ jobs:
171171
name: Run against a module
172172
command: |
173173
drupal-check /tmp/drupal/web/core/modules/dynamic_page_cache
174-
test_symfony_console_conflict:
175-
<<: *defaults
176-
steps:
177-
- setup-job
178-
- run: mkdir -p /tmp/example
179-
- run: composer require behat/behat:^3.0 drush/drush:^9 --working-dir /tmp/example
180-
- run: |
181-
composer config repositories.0 '{"type": "path", "url": "~/repo", "options": { "symlink": false }}' --working-dir /tmp/example
182-
- run: |
183-
composer require mglaman/drupal-check *@dev --working-dir /tmp/example
184-
- run: |
185-
/tmp/example/vendor/bin/drupal-check --version
186174
test_contained_not_initialized:
187175
<<: *defaults
188176
steps:
@@ -205,7 +193,6 @@ workflows:
205193
- test_drupal
206194
- test_drupal_project
207195
- test_global_require_with_drush
208-
- test_symfony_console_conflict
209196
- test_contrib
210197
- test_contained_not_initialized
211198
- test_drupal_local_require

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"mglaman/phpstan-drupal": "^1.0.0",
1717
"nette/neon": "^3.1",
1818
"phpstan/phpstan-deprecation-rules": "^1.0.0",
19-
"symfony/console": "~3.2 || ~4.0",
20-
"symfony/process": "~3.2 || ~4.0",
19+
"symfony/console": "~3.4.5 || ^4.2|| ^5.0 || ^6.0",
20+
"symfony/process": "~3.4.5 || ^4.2|| ^5.0 || ^6.0",
2121
"webflo/drupal-finder": "^1.1"
2222
},
2323
"require-dev": {

0 commit comments

Comments
 (0)