Skip to content

Commit b354ba7

Browse files
Natkeeranwhikloj
authored andcommitted
Drupal 8.7 (#27)
* Honor .env files and suggest usage (drupal-composer#351) * Remove extra whitespace (drupal-composer#371) * Updated argument name * Bump minimal version * Bump minimal version to 8.5.3 * Fix installer path for drush commandfiles. * Update drupal-composer/drupal-scaffold drupal-composer/drupal-scaffold is a full featured plugin and provides its own command. * Fix tests on Travis CI (drupal-composer#405) * Copy the editor config and gitattributes from drupal to the root. (drupal-composer#404) * Remove "drupal-scaffold" from scripts (drupal-composer#275) * Fix typo in README.md * Remove unused use statement. (drupal-composer#406) * Adjust default core patch level to -p2. (drupal-composer#418) * Bump minimum required composer-patches version to support default patch level (drupal-composer#410) * Update composer.json to require latest stable version of Drupal (drupal-composer#424) * Require zaporylie/composer-drupal-optimizations (drupal-composer#442) * Issue drupal-composer#408: Bump minimum PHP version to 5.6 * Removing redundant "--stability dev" from installation command (drupal-composer#450) Fixes drupal-composer#449. * Added "composer-exit-on-patch-failure": true option to composer.json (drupal-composer#420) * Sync new lines at the end of the files (drupal-composer#453) * Quote wildcards to avoid issues in some shells (drupal-composer#456) * Add PHP 7.3 to Travis CI (drupal-composer#476) * Change createRequiredFiles messages to reflect what occured (drupal-composer#467) * Drop PHP 5.6 testing (drupal-composer#489) * Bump minimum version to 8.7.0 (drupal-composer#488) * Update .travis.yml * update composer.lock
1 parent f63f5ab commit b354ba7

File tree

7 files changed

+905
-313
lines changed

7 files changed

+905
-313
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ install:
2727

2828
script:
2929
- if [[ $RELEASE = dev ]]; then composer --verbose remove --no-update drupal/console; fi;
30-
- if [[ $RELEASE = dev ]]; then composer --verbose require --no-update drupal/core:8.7.x-dev webflo/drupal-core-require-dev:8.7.x-dev; fi;
30+
- if [[ $RELEASE = dev ]]; then composer --verbose require --no-update drupal/core:8.8.x-dev webflo/drupal-core-require-dev:8.8.x-dev; fi;
3131
- if [[ $RELEASE = dev ]]; then composer --verbose update; fi;
3232
- cd $TRAVIS_BUILD_DIR/web
3333
- ./../vendor/bin/drush site-install --verbose --yes --db-url=sqlite://tmp/site.sqlite

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ for your setup.
2020
After that you can create the project:
2121

2222
```
23-
composer create-project drupal-composer/drupal-project:8.x-dev some-dir --stability dev --no-interaction
23+
composer create-project drupal-composer/drupal-project:8.x-dev some-dir --no-interaction
2424
```
2525

2626
With `composer require ...` you can download new dependencies to your
@@ -62,7 +62,7 @@ new release of Drupal core.
6262

6363
Follow the steps below to update your core files.
6464

65-
1. Run `composer update drupal/core webflo/drupal-core-require-dev symfony/* --with-dependencies` to update Drupal Core and its dependencies.
65+
1. Run `composer update drupal/core webflo/drupal-core-require-dev "symfony/*" --with-dependencies` to update Drupal Core and its dependencies.
6666
1. Run `git diff` to determine if any of the scaffolding files have changed.
6767
Review the files for any changes and restore any customizations to
6868
`.htaccess` or `robots.txt`.
@@ -132,12 +132,14 @@ Follow the instructions in the [documentation on drupal.org](https://www.drupal.
132132

133133
### How do I specify a PHP version ?
134134

135-
Currently Drupal 8 supports PHP 5.5.9 as minimum version (see [Drupal 8 PHP requirements](https://www.drupal.org/docs/8/system-requirements/drupal-8-php-requirements)), however it's possible that a `composer update` will upgrade some package that will then require PHP 7+.
135+
This project supports PHP 5.6 as minimum version (see [Drupal 8 PHP requirements](https://www.drupal.org/docs/8/system-requirements/drupal-8-php-requirements)), however it's possible that a `composer update` will upgrade some package that will then require PHP 7+.
136136

137137
To prevent this you can add this code to specify the PHP version you want to use in the `config` section of `composer.json`:
138138
```json
139139
"config": {
140140
"sort-packages": true,
141-
"platform": {"php": "5.5.9"}
141+
"platform": {
142+
"php": "5.6.40"
143+
}
142144
},
143145
```

composer.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,20 @@
1717
}
1818
],
1919
"require": {
20+
"php": ">=5.6",
2021
"composer/installers": "^1.2",
2122
"cweagans/composer-patches": "^1.6.5",
2223
"drupal-composer/drupal-scaffold": "^2.5",
2324
"drupal/console": "^1.0.2",
24-
"drupal/core": "^8.6.0",
25+
"drupal/core": "^8.7.0",
2526
"drush/drush": "^9.0.0",
2627
"vlucas/phpdotenv": "^2.4",
2728
"webflo/drupal-finder": "^1.0.0",
28-
"webmozart/path-util": "^2.3"
29+
"webmozart/path-util": "^2.3",
30+
"zaporylie/composer-drupal-optimizations": "^1.0"
2931
},
3032
"require-dev": {
31-
"webflo/drupal-core-require-dev": "^8.6.0"
33+
"webflo/drupal-core-require-dev": "^8.7.0"
3234
},
3335
"conflict": {
3436
"drupal/drupal": "*"
@@ -61,6 +63,7 @@
6163
]
6264
},
6365
"extra": {
66+
"composer-exit-on-patch-failure": true,
6467
"patchLevel": {
6568
"drupal/core": "-p2"
6669
},

0 commit comments

Comments
 (0)