Skip to content

Commit 01cfaa8

Browse files
authored
Update script URLs to use the recommended default-ref (#39)
1 parent 8d505ff commit 01cfaa8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

commands/web/expand-composer-json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ export _WEB_ROOT=$DDEV_DOCROOT
1313
[[ $DDEV_PROJECT_TYPE == "drupal9" ]] && export _TARGET_CORE=^9
1414
[[ $DDEV_PROJECT_TYPE == "drupal8" ]] && export _TARGET_CORE=^8
1515
cd "$DDEV_COMPOSER_ROOT" || exit
16-
curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/1.0.x/scripts/expand_composer_json.php
16+
curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/default-ref/scripts/expand_composer_json.php
1717
php expand_composer_json.php "$DDEV_SITENAME"
1818
rm -f expand_composer_json.php

commands/web/phpcbf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ if ! command -v phpcbf >/dev/null; then
1212
echo "phpcbf is not available. You may need to 'ddev composer install'"
1313
exit 1
1414
fi
15-
test -e phpcs.xml.dist || curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/1.0.x/scripts/phpcs.xml.dist
15+
test -e phpcs.xml.dist || curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/default-ref/scripts/phpcs.xml.dist
1616
phpcbf -s --report-full --report-summary --report-source web/modules/custom "$@"

commands/web/phpcs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ if ! command -v phpcs >/dev/null; then
1212
echo "phpcs is not available. You may need to 'ddev composer install'"
1313
exit 1
1414
fi
15-
test -e phpcs.xml.dist || curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/1.0.x/scripts/phpcs.xml.dist
15+
test -e phpcs.xml.dist || curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/default-ref/scripts/phpcs.xml.dist
1616
phpcs -s --report-full --report-summary --report-source web/modules/custom "$@"

commands/web/symlink-project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
export _WEB_ROOT=$DDEV_DOCROOT
1212
#todo use more dynamic ref.
1313
cd "$DDEV_COMPOSER_ROOT" || exit
14-
curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/1.0.x/scripts/symlink_project.php
14+
curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/default-ref/scripts/symlink_project.php
1515

1616
# Symlink name using underscores.
1717
# @see https://www.drupal.org/docs/develop/creating-modules/naming-and-placing-your-drupal-module

0 commit comments

Comments
 (0)