Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/1.3.x' into 1.4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Feb 9, 2024
2 parents e5442ed + f3f1dae commit 6d758ad
Show file tree
Hide file tree
Showing 55 changed files with 1,721 additions and 163 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

.github export-ignore
tests export-ignore
compatibility export-ignore
tmp export-ignore
.gitattributes export-ignore
.gitignore export-ignore
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,15 @@ jobs:
dependencies:
- "lowest"
- "highest"
update-packages:
- ""
include:
- php-version: "8.3"
dependencies: "highest"
update-packages: |
composer config extra.patches.doctrine/orm --json --merge '["compatibility/patches/Base.patch", "compatibility/patches/Column.patch", "compatibility/patches/DateAddFunction.patch", "compatibility/patches/DateSubFunction.patch", "compatibility/patches/DiscriminatorColumn.patch", "compatibility/patches/DiscriminatorMap.patch", "compatibility/patches/Embeddable.patch", "compatibility/patches/Embedded.patch", "compatibility/patches/Entity.patch", "compatibility/patches/GeneratedValue.patch", "compatibility/patches/Id.patch", "compatibility/patches/InheritanceType.patch", "compatibility/patches/JoinColumn.patch", "compatibility/patches/JoinColumns.patch", "compatibility/patches/ManyToMany.patch", "compatibility/patches/ManyToOne.patch", "compatibility/patches/MappedSuperclass.patch", "compatibility/patches/OneToMany.patch", "compatibility/patches/OneToOne.patch", "compatibility/patches/OrderBy.patch", "compatibility/patches/UniqueConstraint.patch", "compatibility/patches/Version.patch"]'
composer config extra.patches.carbonphp/carbon-doctrine-types --json --merge '["compatibility/patches/DateTimeImmutableType.patch", "compatibility/patches/DateTimeType.patch"]'
composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctrine-types:^3 -W
steps:
- name: "Checkout"
Expand Down Expand Up @@ -135,6 +144,9 @@ jobs:
if: ${{ matrix.dependencies == 'highest' }}
run: "composer update --no-interaction --no-progress"

- name: "Update packages"
run: ${{ matrix.update-packages }}

- name: "Tests"
run: "make tests"

Expand All @@ -152,6 +164,11 @@ jobs:
- "8.1"
- "8.2"
- "8.3"
update-packages:
- ""
include:
- php-version: "8.3"
update-packages: "composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctrine-types:^3 -W"

steps:
- name: "Checkout"
Expand All @@ -172,5 +189,8 @@ jobs:
- name: "Install dependencies"
run: "composer update --no-interaction --no-progress"

- name: "Update packages"
run: ${{ matrix.update-packages }}

- name: "PHPStan"
run: "make phpstan"
Loading

0 comments on commit 6d758ad

Please sign in to comment.