Skip to content

Commit ce3164f

Browse files
committed
Merge remote-tracking branch 'origin/2.3.x' into 3.0.x
2 parents 0e37888 + 292f7fc commit ce3164f

File tree

8 files changed

+17
-46
lines changed

8 files changed

+17
-46
lines changed

.doctrine-project.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
"name": "3.1",
99
"branchName": "3.1.x",
1010
"slug": "3.1",
11-
"upcoming": true
12-
},
1311
{
1412
"name": "3.0",
1513
"branchName": "3.0.x",

.github/ISSUE_TEMPLATE/BC_Break.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ about: Have you encountered an issue during upgrade? 💣
44
---
55

66
<!--
7-
Before reporting a BC break, please consult the upgrading document to make sure it's not an expected change: https://github.com/doctrine/migrations/blob/master/UPGRADE.md
7+
Before reporting a BC break, please consult the upgrading document to make sure it's not an expected change: https://github.com/doctrine/migrations/blob/3.1.x/UPGRADE.md
88
-->
99

1010
### BC Break Report

.github/workflows/coding-standards.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@ on:
55
pull_request:
66
branches:
77
- "*.x"
8-
- "master"
98
push:
109
branches:
1110
- "*.x"
12-
- "master"
1311

1412
jobs:
1513
coding-standards:
@@ -32,15 +30,10 @@ jobs:
3230
php-version: "${{ matrix.php-version }}"
3331
tools: "cs2pr"
3432

35-
- name: "Cache dependencies installed with Composer"
36-
uses: "actions/cache@v2"
37-
with:
38-
path: "~/.composer/cache"
39-
key: "php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('composer.lock') }}"
40-
restore-keys: "php-${{ matrix.php-version }}-composer-locked-"
41-
4233
- name: "Install dependencies with Composer"
43-
run: "composer install --no-interaction --no-progress"
34+
uses: "ramsey/composer-install@v1"
35+
with:
36+
dependency-versions: "${{ matrix.dependencies }}"
4437

4538
# https://github.com/doctrine/.github/issues/3
4639
- name: "Run PHP_CodeSniffer"

.github/workflows/continuous-integration.yml

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ jobs:
3333
- "7.3"
3434
- "7.4"
3535
- "8.0"
36-
deps:
37-
- "normal"
36+
dependencies:
37+
- "highest"
3838
include:
39-
- deps: "low"
39+
- deps: "lowest"
4040
php-version: "7.2"
4141

4242
steps:
@@ -54,24 +54,14 @@ jobs:
5454
- name: "Download box"
5555
run: "./download-box.sh"
5656

57-
- name: "Cache dependencies installed with composer"
58-
uses: "actions/cache@v2"
59-
with:
60-
path: "~/.composer/cache"
61-
key: "php-${{ matrix.php-version }}-composer-${{ matrix.deps }}-locked-${{ hashFiles('composer.lock') }}"
62-
restore-keys: "php-${{ matrix.php-version }}-composer-locked-"
63-
6457
- name: "Downgrade Composer"
6558
run: "composer self-update --1"
66-
if: "${{ matrix.deps == 'low' }}"
59+
if: "${{ matrix.deps == 'lowest' }}"
6760

68-
- name: "Install dependencies with composer"
69-
run: "composer update --no-interaction --prefer-dist --no-progress"
70-
if: "${{ matrix.deps == 'normal' }}"
71-
72-
- name: "Install lowest possible dependencies with composer"
73-
run: "composer update --no-interaction --prefer-dist --prefer-lowest --no-progress"
74-
if: "${{ matrix.deps == 'low' }}"
61+
- name: "Install dependencies with Composer"
62+
uses: "ramsey/composer-install@v1"
63+
with:
64+
dependency-versions: "${{ matrix.dependencies }}"
7565

7666
- name: "Run PHPUnit"
7767
run: "vendor/bin/phpunit --coverage-clover=coverage.xml"

.github/workflows/static-analysis.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@ on:
55
pull_request:
66
branches:
77
- "*.x"
8-
- "master"
98
push:
109
branches:
1110
- "*.x"
12-
- "master"
1311

1412
jobs:
1513
static-analysis-phpstan:
@@ -32,15 +30,10 @@ jobs:
3230
php-version: "${{ matrix.php-version }}"
3331
extensions: "pdo_sqlite"
3432

35-
- name: "Cache dependencies installed with composer"
36-
uses: "actions/cache@v2"
33+
- name: "Install dependencies with Composer"
34+
uses: "ramsey/composer-install@v1"
3735
with:
38-
path: "~/.composer/cache"
39-
key: "php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('composer.lock') }}"
40-
restore-keys: "php-${{ matrix.php-version }}-composer-locked-"
41-
42-
- name: "Install dependencies with composer"
43-
run: "composer install --no-interaction --no-progress"
36+
dependency-versions: "${{ matrix.dependencies }}"
4437

4538
- name: "Run a static analysis with phpstan/phpstan"
4639
run: "vendor/bin/phpstan analyse"

composer.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,6 @@
5757
"sort-packages": true
5858
},
5959
"extra": {
60-
"branch-alias": {
61-
"dev-master": "3.0.x-dev"
62-
},
6360
"composer-normalize": {
6461
"indent-size": 4,
6562
"indent-style": "space"

tests/Doctrine/Migrations/Tests/Provider/_files/Doctrine.Migrations.Tests.Provider.A.dcm.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
22
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
4-
https://raw.github.com/doctrine/doctrine2/master/doctrine-mapping.xsd">
4+
vendor/doctrine/orm/doctrine-mapping.xsd">
55

66
<entity name="Doctrine\Migrations\Tests\Provider\A" table="a">
77
<id name="id" type="integer" column="id">

tests/Doctrine/Migrations/Tests/Provider/_files/Doctrine.Migrations.Tests.Provider.C.dcm.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
22
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
4-
https://raw.github.com/doctrine/doctrine2/master/doctrine-mapping.xsd">
4+
vendor/doctrine/orm/doctrine-mapping.xsd">
55

66
<entity name="Doctrine\Migrations\Tests\Provider\C" table="c">
77
<id name="id" type="integer" column="id">

0 commit comments

Comments
 (0)