Wrong references in phpstan and nightwatch next major jobs.

Issue information

From user: fjgarlin

Related to !160 (merged)

Contribution record

Fork management

Problem/Motivation

#3425959: Remove before_script in "next major" job introduced a new issue where too much was copy/pasted.

Steps to reproduce

Run phpstan next major or nightwacht next major.

Proposed resolution

Fix it.

Remaining tasks

MR

Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information