Skip to content

Commit f22a064

Browse files
committed
Removing deprecated code and documentation for v1.0 release.
1 parent dd01626 commit f22a064

File tree

4 files changed

+2
-20
lines changed

4 files changed

+2
-20
lines changed

Gruntfile.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

docs/40_operations.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,6 @@ skip starting up watch tasks.
111111
}
112112
```
113113

114-
**serve.profile**: DEPRECATED - use **project.profile** instead.
115-
116114
**serve.port**: The port number to bind for the webserver. Only one service may
117115
occupy a port on a machine, so a project-specific port may be worthwhile.
118116
Defaults to `8080`.

tasks/quality.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,7 @@ module.exports = function(grunt) {
5656
var phpcs = phpcsConfig.dir || phpcsPatterns;
5757
var phpStandard = phpcsConfig.standard ||
5858
'vendor/drupal/coder/coder_sniffer/Drupal,vendor/drupal/coder/coder_sniffer/DrupalPractice';
59-
60-
// Support deprecated config.phpcs.ignoreExitCode value until 1.0.
61-
var ignoreError = grunt.config('config.validate.ignoreError') ||
62-
phpcsConfig.ignoreExitCode;
63-
ignoreError = ignoreError === undefined ? false : ignoreError;
59+
var ignoreError = (phpcsConfig.ignoreExitCode === undefined) ? false : phpcsConfig.ignoreExitCode;
6460

6561
grunt.config('phpcs', {
6662
analyze: {

tasks/serve.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,7 @@ module.exports = function(grunt) {
2121
// If no path is configured for Drush, fallback to the system path.
2222
var cmd = {cmd: Drupal.drushPath()};
2323

24-
// `config.serve.profile` is deprecated.
25-
if (grunt.config('config.serve.profile')) {
26-
grunt.log.warn('The `serve.profile` parameter is deprecated and will be ' +
27-
'removed in future versions. Use `project.profile` instead.');
28-
}
29-
var profile = grunt.config('config.project.profile') ||
30-
grunt.config('config.serve.profile') || 'standard';
24+
var profile = grunt.config('config.project.profile') || 'standard';
3125

3226
grunt.config(['drush', 'liteinstall'], {
3327
args: ['site-install', '-yv', profile, '--db-url=sqlite:/' +

0 commit comments

Comments
 (0)