Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
automatic_updates
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
automatic_updates
Merge requests
!1018
Re-enable PHPStan job
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Re-enable PHPStan job
issue/automatic_updates-3415291:3415291-run-phpstan-on
into
3.0.x
Overview
0
Commits
10
Pipelines
10
Changes
2
Merged
Adam G-H
requested to merge
issue/automatic_updates-3415291:3415291-run-phpstan-on
into
3.0.x
1 year ago
Overview
0
Commits
10
Pipelines
10
Changes
1
Expand
Closes
#3415291
0
0
Merge request reports
Compare
version 7
version 9
39a5e3cc
1 year ago
version 8
e1b09674
1 year ago
version 7
8fb22a11
1 year ago
version 6
619bdced
1 year ago
version 5
41365a30
1 year ago
version 4
3f36e95a
1 year ago
version 3
e0911115
1 year ago
version 2
41aa5800
1 year ago
version 1
b2be5e25
1 year ago
3.0.x (base)
and
version 8
latest version
39a5e3cc
10 commits,
1 year ago
version 9
39a5e3cc
10 commits,
1 year ago
version 8
e1b09674
9 commits,
1 year ago
version 7
8fb22a11
8 commits,
1 year ago
version 6
619bdced
7 commits,
1 year ago
version 5
41365a30
6 commits,
1 year ago
version 4
3f36e95a
5 commits,
1 year ago
version 3
e0911115
4 commits,
1 year ago
version 2
41aa5800
2 commits,
1 year ago
version 1
b2be5e25
1 commit,
1 year ago
Show latest version
1 file
+
7
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
+
7
−
5
Options
@@ -100,20 +100,21 @@ variables:
#
###################################################################################
.extra-variables
:
&extra-variables
-
MODULE_DIR=$_WEB_ROOT/modules/custom/$CI_PROJECT_NAME
# Strip the `-dev` suffix out of $_TARGET_CORE to reveal the name of the Drupal core branch.
-
CORE_BRANCH=`echo $_TARGET_CORE | sed -e "s/-dev$//"`
composer
:
extends
:
.composer-base
before_script
:
-
composer archive --file=module
after_script
:
# Ensure the module is physically located within the document root, not just
# symlinked from it.
-
MODULE_DIR=$_WEB_ROOT/modules/custom/$CI_PROJECT_NAME
-
*extra-variables
-
rm -r -f $MODULE_DIR
-
mkdir -p $MODULE_DIR
-
tar -x -f module.tar -C $MODULE_DIR
-
rm module.tar
# Strip the `-dev` suffix out of $_TARGET_CORE to reveal the name of the Drupal core branch.
-
CORE_BRANCH=`echo $_TARGET_CORE | sed -e "s/-dev$//"`
-
git clone https://git.drupalcode.org/project/drupal.git --depth 1 --branch $CORE_BRANCH /tmp/drupal-core
-
mv /tmp/drupal-core/composer $_WEB_ROOT
@@ -124,6 +125,7 @@ phpcs:
phpstan
:
before_script
:
-
*extra-variables
# Ensure our PHPStan configuration has the correct include path to core's PHPStan configuration.
-
sed -i "s#%rootDir%/../../../#%rootDir%/../../../$_WEB_ROOT/#" $MODULE_DIR/phpstan.neon
-
cat $MODULE_DIR/phpstan.neon
Loading