Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1633104

Browse files
author
Alex Skrypnyk
authored
Updated to Drupal 10. (#1)
1 parent 7ed1e4f commit 1633104

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

‎.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
php-versions: ['7.4', '8.1']
16+
php-versions: ['8.1']
1717
drupal-release: ['stable']
1818
composer-channel: ['stable']
1919
include:
@@ -51,7 +51,7 @@ jobs:
5151
run: composer --verbose install
5252

5353
- if: matrix.drupal-release == 'dev'
54-
run: composer --verbose require --no-update drupal/core-recommended:9.4.x-dev && composer --verbose require --no-update --dev drupal/core-dev:9.4.x-dev
54+
run: composer --verbose require --no-update drupal/core-recommended:10.0.x-dev && composer --verbose require --no-update --dev drupal/core-dev:10.0.x-dev
5555

5656
- if: matrix.drupal-release == 'dev'
5757
run: composer --verbose update
@@ -64,10 +64,10 @@ jobs:
6464

6565
# https://www.drupal.org/project/drupal/issues/3182653
6666
# https://www.drupal.org/node/3176567
67-
- if: ${{ matrix.php-versions == '7.4' }} || ${{ matrix.php-versions == '8.1' }}
67+
- if: ${{ matrix.php-versions == '8.1' }}
6868
run: composer require phpspec/prophecy-phpunit:^2
6969

70-
- name: Run a single unit test to verfiy the testing setup.
70+
- name: Run a single unit test to verify the testing setup.
7171
run: ./vendor/bin/phpunit -c ./web/core ./web/core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php
7272

7373
- run: ./vendor/bin/drush

‎README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Composer template for Drupal projects
22

3-
[![CI](https://github.com/drupal-composer/drupal-project/actions/workflows/ci.yml/badge.svg?branch=9.x)](https://github.com/drupal-composer/drupal-project/actions/workflows/ci.yml)
3+
[![CI](https://github.com/drupal-composer/drupal-project/actions/workflows/ci.yml/badge.svg?branch=10.x)](https://github.com/drupal-composer/drupal-project/actions/workflows/ci.yml)
44

55
This project template provides a starter kit for managing your site
66
dependencies with [Composer](https://getcomposer.org/).
@@ -16,7 +16,7 @@ for your setup.
1616
After that you can create the project:
1717

1818
```
19-
composer create-project drupal-composer/drupal-project:9.x-dev some-dir --no-interaction
19+
composer create-project drupal-composer/drupal-project:10.x-dev some-dir --no-interaction
2020
```
2121

2222
With `composer require ...` you can download new dependencies to your

‎composer.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "drupal-composer/drupal-project",
3-
"description": "Project template for Drupal 9 projects with Composer",
3+
"description": "Project template for Drupal 10 projects with Composer",
44
"type": "project",
55
"license": "GPL-2.0-or-later",
66
"authors": [
@@ -16,17 +16,17 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=7.4",
20-
"composer/installers": "^1.9",
19+
"php": ">=8.1",
20+
"composer/installers": "^2.1",
2121
"cweagans/composer-patches": "^1.7",
22-
"drupal/core-composer-scaffold": "^9.4",
23-
"drupal/core-recommended": "^9.4",
22+
"drupal/core-composer-scaffold": "^10.0@beta",
23+
"drupal/core-recommended": "^10.0@beta",
2424
"drush/drush": "^11.0",
2525
"vlucas/phpdotenv": "^5.1",
2626
"webflo/drupal-finder": "^1.2"
2727
},
2828
"require-dev": {
29-
"drupal/core-dev": "^9.4"
29+
"drupal/core-dev": "^10.0@beta"
3030
},
3131
"conflict": {
3232
"drupal/drupal": "*"
@@ -40,7 +40,8 @@
4040
"composer/installers": true,
4141
"cweagans/composer-patches": true,
4242
"drupal/core-composer-scaffold": true,
43-
"dealerdirect/phpcodesniffer-composer-installer": true
43+
"dealerdirect/phpcodesniffer-composer-installer": true,
44+
"phpstan/extension-installer": true
4445
}
4546
},
4647
"autoload": {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /