Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge Upstream #1

Open
wants to merge 835 commits into
base: feature/materialized-bug
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
835 commits
Select commit Hold shift + click to select a range
42d9acf
3.7.0
franmomu May 17, 2022
2663f5b
Ignore phpstan issues
franmomu Jun 5, 2022
b05fad4
Fix some PHPStan findings in tests
franmomu Jun 5, 2022
248f902
Fix typo (#2465)
dpi Jun 5, 2022
fcc63a8
[Tree] [NestedSet] Added option to reorder only direct children in re…
pmishev Jun 5, 2022
0788a85
Add some parameter type declarations to tests
franmomu Jun 5, 2022
60c453e
[Tree] [NestedSet] [ClosureTree] childrenQueryBuilder() to allow spec…
pmishev Jun 5, 2022
5c4e010
Add some missing type declarations
franmomu Jun 6, 2022
b818702
Add some missing type declarations
franmomu Jun 6, 2022
501f1a1
Add PHPStan check for missing typehints
franmomu Jun 6, 2022
e255785
[Sortable] Resolve Column Type when fetching Max Position from Databa…
dritter Jun 6, 2022
d8b7353
Fix PHPStan build
franmomu Jun 19, 2022
cccc4a8
Use class-string type
franmomu Jun 7, 2022
4a96d27
Use correct type
franmomu Jun 7, 2022
c65eb40
Fix PHPDoc type
franmomu Jun 7, 2022
2d49e02
Removed unused property
franmomu Jun 7, 2022
f3a9129
[Sluggable] Cast slug to string before passing it as argument 2 to `p…
phansys Jun 20, 2022
af2f052
Remove unnecessary calls to MappedSubscriber::getEventAdapter
franmomu Jun 29, 2022
5427146
Fix CS
franmomu Jul 16, 2022
0fa18ea
Get cache from MetadataFactory
franmomu Jul 2, 2022
ffe12d8
[Sluggable] Add datetime_immutable as valid type (#2438)
pbreteche Jul 16, 2022
4ba5377
3.8.0
phansys Jul 17, 2022
0534a18
Update changelog structure
phansys Jul 17, 2022
303d399
Bump `extra.branch-alias.dev-main` to "3.9-dev"
phansys Jul 17, 2022
60a9731
[Tree] [NestedSet] [ClosureTree] Allow sorting children by a ManyToOn…
pmishev Jul 22, 2022
0c41b00
Fix passing `null` to `abs()` function at `Nested::shiftRangeRL()`
tacman Jul 1, 2022
e4c8c0e
Specify array configuration in extensions
franmomu Jun 27, 2022
70e9681
Configure "@DoctrineAnnotation" CS ruleset
phansys Jul 26, 2022
49f2808
Fix some violations to "@DoctrineAnnotation" CS ruleset + Disallow "f…
phansys Aug 21, 2022
eba30ae
Use an attribute in Timestampable attribute docs
tcitworld Aug 16, 2022
d869cf1
3.9.0
phansys Sep 22, 2022
7d51199
Add a sentence and an example for custom log class (#2513)
Oct 2, 2022
87dcc21
[Sortable] Fix duplicated position when position for more than one ob…
januszmk Oct 24, 2022
c136a93
blameable.md - wrong join column name on createdBy
DennisdeBest Aug 29, 2022
27f43d7
fix on documentation about slug attribute and unique property
baptistepottier Sep 29, 2022
03a9c45
Remove broken YAML configuration example
codedmonkey Oct 24, 2022
fcdcc29
Require doctrine/event-manager 1.2
franmomu Oct 26, 2022
d1988ae
[Tree][NestedSet] Fix TreeRoot without rootIdentifierMethod when call…
Jean-Beru Oct 26, 2022
9967f74
Fix PHPStan definition for "path_append_id" option at `TreeListener`
phansys Nov 14, 2022
5a956a4
3.10.0
phansys Nov 6, 2022
01b4ced
Update Docker setup + Use Docker Compose 2 + Lint `Dockerfile` with H…
phansys Sep 5, 2022
d00bb55
Fix return value check of Comparable interface
AndreasA Dec 1, 2022
4a6a2be
Update tool versions for CI environment
phansys Dec 6, 2022
3582640
Closing the API by marking some classes as final and internal
phansys Nov 12, 2021
38d3dfb
Add `Nested::AVAILABLE_NODE_POSITIONS` constant in order to expose th…
phansys Dec 12, 2022
e448975
Set `working_dir` directive at `compose.yaml`
phansys Dec 13, 2022
a9ced49
Make LazyCollection extend AbstractLazyCollection
franmomu Nov 29, 2022
fae671d
Remove ignored errors from phpstan
franmomu Dec 26, 2022
c45bee0
Deprecate the annotation reader being allowed to be any object
mbabker Oct 5, 2021
ed96571
Deprecate DoctrineExtensions::registerAnnotations()
mbabker Dec 27, 2022
27aff07
Allow doctrine/collections 2 and doctrine/event-manager 2
franmomu Dec 29, 2022
b4296d6
Leverage `Validator::validatePath()` in tests
phansys Jan 2, 2023
b7ced5d
fixes #2071
Dec 20, 2022
b70e480
fixes #2071
Dec 20, 2022
2bf3ad5
fixes #2071
JoolsMcFly Jan 2, 2023
42072bd
Allow doctrine/annotations 2.0
mbabker Jan 2, 2023
4de41de
[Loggable] Add `LogEntryInterface`
phansys Jan 4, 2023
7c27ed8
Minor typing improvements
phansys Dec 12, 2022
af47302
Don't wrap the reader if it is already an attribute reader (#2566)
mbabker Jan 15, 2023
a06dc64
[Translatable] Fix property existence check at `TranslatableListener:…
phansys Jan 17, 2023
0f96c6f
Fix some PHPStan findings
phansys Jan 16, 2023
a236471
3.11.0
phansys Jan 24, 2023
2b7d1ab
Remove final annotation from repository classes
mbabker Jan 26, 2023
3a93e21
revert final
kevinpapst Feb 2, 2023
971dd18
Remove version references in "Doctrine 2" occurrences
phansys Jan 25, 2023
7108407
Replace note annotation
mcorteel-harel Feb 20, 2023
ae4bdf0
3.11.1
phansys Feb 20, 2023
a5f3f20
Use `markdown` hint for snippets in `CHANGELOG.md`
phansys Feb 20, 2023
e5a6909
Document the callables used for transliteration and urlization, updat…
mbabker Feb 23, 2023
3ec12dc
Fix phpstan build
franmomu Feb 25, 2023
0917eb7
Fix CS on `composer.json`
phansys Mar 5, 2023
eda08fb
Update rules in `.php-cs-fixer.dist.php`
phansys Mar 5, 2023
bcda8a3
Add `FUNDING.yml` for GitHub sponsors
phansys Mar 5, 2023
5d961d1
Add GitHub issue templates
phansys Mar 5, 2023
e16b0d0
[Tree] [NestedSet] Added 'base' property for tree level annotation
pmishev Jun 30, 2022
e56f08a
Lint PHP files with "rector/rector"
phansys Mar 5, 2023
3175914
Tree: Add `setSibling()` and `getSibling()` methods in the `Node` int…
phansys Dec 12, 2022
7f02652
Allow PHP 8.2 in Docker and CI environments
phansys Dec 5, 2022
15091b1
Stop using `CacheAdapter`
phansys Mar 13, 2023
54e419b
Bump PHPStan level to 5
phansys Mar 11, 2023
c87e475
Added IpTraceable to list of service
featuriz Mar 14, 2023
5612fbb
[Loggable] Add some missing generic annotations
phansys Mar 18, 2023
b2438ed
Prioritize the values from the named arguments in the annotation classes
phansys Mar 13, 2023
68fcac7
Remove "mongodb-odm-version" from CI matrix
phansys Apr 3, 2023
55e9499
Add "upload_coverage" job to `continuous-integration.yml`
phansys Apr 3, 2023
99075b6
Honor return type for `__set()`
phansys Jun 17, 2023
0df9bbe
chore: bump hadolint/hadolint-action 2 => 3
Chris8934 Jun 7, 2023
174e80a
docs: Update README.md http => https
Chris8934 Jun 7, 2023
27e3b79
chore: fix deprecation message for node12 for github action "stale"
Chris8934 Jun 5, 2023
0db3937
feat: fix deprecation for AbstractPlatform->getIsNullExpression() (#2…
Chris53897 Jun 19, 2023
774a11f
[Tree] `recover()` supports multiple fields in `sortByField` and `sor…
damianz5 Apr 6, 2023
2ed66e3
Simplify and improve consistency in methods that provide current dates
phansys Jun 19, 2023
95bc3c8
chore: make dataproviders static for phpunit 10 (#2622)
Chris53897 Jun 19, 2023
9c46ada
Make TimestampableEntity getter type hints nullable (#2531)
villermen Jun 20, 2023
5ee410d
Allow composite identifiers in loggable
MisatoTremor May 19, 2020
eef4b49
3.12.0
phansys Jul 8, 2023
94ef07a
Fix constraint for "behat/transliterator" by using semver operator
phansys Jul 13, 2023
f21d888
Configure "nullable_type_declaration_for_default_null_value" CS rule
phansys Jul 25, 2023
ef277c9
Reduce constant visibility under `tests/`
phansys Jul 30, 2023
31ed28b
fix: add conflict for doctrine/orm >= 2.16.0
Chris8934 Aug 2, 2023
b4b1f14
docs: improve test section of README.md
Chris8934 Aug 2, 2023
4fd6a62
Update Symfony docs
franmomu Aug 14, 2023
351caed
[Mapping] Fix inherited classes metadata collection (#2651)
magikid Aug 19, 2023
c6463aa
Configure "return_assignment" CS rule
franmomu Aug 19, 2023
749138e
Configure "global_namespace_import" CS rule
franmomu Aug 19, 2023
7493440
Do not rely on autoincremental ids
franmomu Aug 15, 2023
09c2a11
Fix syntax for `@Required` annotations
phansys Aug 20, 2023
cb1bf94
Mimic SemVer with `apt-get satisfy` for Debian deps at `Dockerfile`
phansys Aug 21, 2023
a415c51
Remove unused imports for `Attribute` class
phansys Aug 20, 2023
98ebb3f
Build "php" container on CI environment
phansys Aug 21, 2023
52e6411
Add missing collection initialization in tests
franmomu Aug 31, 2023
c4c6f85
fix: if xml value is set, change value in class metadata (#2670)
gfuentesboost Aug 31, 2023
c411476
Remove workaround introduced in #236
phansys Aug 20, 2023
5502bae
Do not rely on autoincremental id in materialized path tests
franmomu Aug 29, 2023
14652bf
Allow "php" container to send `SIGINT` signal to the foreground proce…
phansys Sep 3, 2023
1b1c715
Remove conflict with doctrine/orm >= 2.16.0
franmomu Sep 3, 2023
1e430bf
[Docker] Update `healtcheck` property at "mysql" service in order to …
phansys Sep 4, 2023
a47b675
Fix some findings reported by PHPStan level 6
phansys Sep 2, 2023
28f53fe
Use different methods than `execute()` when retrieving results
phansys Sep 3, 2023
126a878
Replace calls to `execute()`
phansys Sep 3, 2023
e910b4d
Remove calls to `compact()`
phansys Sep 3, 2023
2bd2690
Fix PHPStan findings about iterable parameters
phansys Sep 4, 2023
25c63bb
3.13.0
phansys Sep 6, 2023
4010c0c
Use iterators instead of arrays for query results where possible
phansys Sep 4, 2023
512695c
fix EntityManager::create deprecations
DubbleClick Aug 17, 2023
0848a48
Add conflict with doctrine/orm <2.14
franmomu Sep 8, 2023
23316d6
Stop passing parameters by reference in mapping drivers
phansys Mar 22, 2023
85f7831
Remove unused variables
phansys Sep 9, 2023
61c77d1
Fix generic type implementations
phansys Sep 10, 2023
4a0d0f9
docs: fix broken link to Symfony installation guide
maciej-laskowski Oct 1, 2023
0a8bf42
Replace uses of the EntityRepository::$_em property with the getter m…
mbabker Oct 12, 2023
2b4b23e
Add an internal support trait for ORM hydrators to provide a compat l…
mbabker Oct 12, 2023
43073e0
Use the ORM's attribute driver in tests when able
mbabker Oct 12, 2023
1a3a3ae
Refactor ORM QueryBuilder::setParameters() calls to use setParameter(…
mbabker Oct 17, 2023
aaa8c15
Fix typo in loggable.md
jay-low Oct 25, 2023
7a7612a
fix EventArgs::getEntityManger deprecation (#2639)
DubbleClick Oct 29, 2023
2d327ad
Feature/drop support for php 7.3 (#2636)
Chris53897 Oct 29, 2023
4071f71
feat: allow friendsofphp/php-cs-fixer >= 3.14 (#2626)
Chris53897 Oct 29, 2023
058e95a
Drop support for Symfony 5.3 and older
mbabker Jan 2, 2023
e3bd083
[Translatable][Translator] unify alias usage of doctrine `ORM` mappin…
m-idler Sep 27, 2023
3cff68a
Remove custom vendor bin directory
franmomu Nov 5, 2023
c5ae7a4
Removed explicit default options for PHPStan 6
franmomu Oct 30, 2023
1d367c1
Use real event for test
franmomu Oct 24, 2023
0af12a0
Allow DoctrineExtensions to be configured to use attributes
mbabker Dec 27, 2022
89240a8
Enable Dependabot for Github Actions
franmomu Oct 30, 2023
b2c2f14
Bump actions/checkout from 3 to 4
dependabot[bot] Nov 19, 2023
22b99bf
Avoid using DebugStack
franmomu Oct 31, 2023
819f35b
Drop support of doctrine/dbal 2
franmomu Nov 1, 2023
4242ac4
Use FQCN for targetDocument using annotations
franmomu Nov 24, 2023
96b2cb6
Use attribute mapping for mongo when using PHP >= 8
franmomu Nov 24, 2023
3971d32
Use attributes for test extension
franmomu Nov 24, 2023
5d0b93d
Accept both ClassMetadata and ClassMetadataInfo objects from the ORM
mbabker Oct 29, 2023
daa263a
Use the Persistence Proxy interface for checking ORM proxy objects
mbabker Oct 29, 2023
922e6b2
[Tree] Add `@template` and `@template-extends` annotations to the Tre…
7ochem Nov 25, 2023
9d5c15d
chore: add testruns against php 8.3 (#2724)
Chris53897 Nov 28, 2023
1b31c3a
feat: allow symfony 7 (#2721)
Chris53897 Dec 3, 2023
3b5b5cb
3.14.0
franmomu Dec 3, 2023
a4f15df
use dedicated event eventArgs (#2649)
yassinefikri Dec 5, 2023
0f00ca2
Refactor some mapping tests for improved coverage and forward compat
mbabker Nov 26, 2023
2ba8f94
Allow the mapped event subscriber to use an attribute reader by default
mbabker Oct 24, 2023
680e4b4
Make the annotation/attribute reader optional in the extension metada…
mbabker Nov 28, 2023
598fead
Another batch of mapping tests refactored
mbabker Dec 8, 2023
1a31449
Another round of mapping refactoring in tests for cross-version compa…
mbabker Dec 14, 2023
1ec37fb
Bump actions/stale from 8 to 9
dependabot[bot] Dec 11, 2023
e3da653
symfony.md - add missing use statements for DoctrineExtensionSubscriber
nuryagdym Dec 19, 2023
a54acbc
Make the annotations package optional
mbabker Dec 8, 2023
54bf385
Fix CS
franmomu Jan 22, 2024
66e6a60
bump rector/rector
franmomu Jan 22, 2024
eebe57b
Add high versions to optional package conflicts
mbabker Feb 9, 2024
50352f7
Add a compat trait to address B/C issues with EntityRepository
mbabker Feb 8, 2024
8ac6b0b
Document expected EventArgs subtypes in listeners (#2761)
mbabker Feb 11, 2024
0632ab1
Standardize runtime deprecation handling to the `doctrine/deprecation…
mbabker Feb 11, 2024
e6b600e
Bump codecov/codecov-action from 3 to 4
dependabot[bot] Feb 5, 2024
91dd468
Use actions/upload-artifact and actions/download-artifact v4
franmomu Feb 11, 2024
c490e4d
Add support for providing a PSR-20 clock to event adapters which crea…
mbabker Feb 9, 2024
97779cb
Remove the internal annotation from the attribute reader
mbabker Dec 19, 2023
2a89103
3.15.0
franmomu Feb 12, 2024
f5b6385
Doctrine\ORM\Mapping\ClassMetadata::getFieldMapping() will return an …
mbabker Nov 14, 2023
0287e8d
Update trait doc blocks to remove outdated PHP version info and to cl…
mbabker Feb 19, 2024
8d658b4
Update doc block comments and inline examples on marker interfaces
mbabker Feb 19, 2024
a287338
Bump QA tools to latest
mbabker May 28, 2024
c134504
Added UUID in allowed types list for Blameable fields in Annotation, …
fwolfsjaeger Jul 3, 2023
d569646
Added CHANGELOG.md entry
fwolfsjaeger Aug 17, 2023
26b2469
Added Blameable UUID test
fwolfsjaeger Aug 17, 2023
a9e3ee1
Moved CHANGELOG.md entry to [Unreleased]
fwolfsjaeger Jan 9, 2024
8239c26
Also allow ULIDs
fwolfsjaeger Feb 27, 2024
4461c5f
Update composer.json
fwolfsjaeger Feb 27, 2024
cc995b1
LogEntryInterface::getObjectClass() @phpstan-return is missing null
mustanggb Apr 22, 2024
3349c06
Bump versions in CI tools
mbabker May 28, 2024
db204b9
Fix CS
franmomu Jun 8, 2024
09c61fd
Fix materialized path tests
franmomu Jun 8, 2024
4392953
Require symfony/doctrine-bridge in dev
franmomu Jun 8, 2024
1f3cb75
Add an internal trait to allow cross-version compatibility for ORM SQ…
mbabker May 28, 2024
ce938ac
Add an internal trait to allow cross-version compatibility for ORM hy…
mbabker May 28, 2024
132410b
Rewrite the annotations reference
mbabker Apr 29, 2024
d98fbd4
[add-ascii-string-blameable] Allow ascii_string to validTypes (#2802)
Nirator78 Jun 9, 2024
3a79af0
Update docs examples to show configuring and injecting the attribute …
mbabker Apr 29, 2024
ec47681
chore: bump github actions for "ramsey/composer-install" 2 => 3, wil…
Chris8934 Mar 1, 2024
b31d2cf
Change the placeholder for the sluggable extension when generating a …
mbabker Feb 14, 2024
8657591
[Sluggable] Use TranslationWalker for Translatable objects when looki…
ambroisemaupate Jun 9, 2024
6730eb5
Issue 2616 (#2617)
oleg-andreyev Jun 9, 2024
fbb3037
Make the ORM's event adapter compatible with UoW changes in ORM 3
mbabker Jun 9, 2024
a297a3b
Add compat layer for the sluggable ORM adapter
mbabker Jun 9, 2024
e2cb0d6
Add compat layer for the soft deleteable delete executor
mbabker Jun 9, 2024
25949bb
Expand compat fixes for the translation walker
mbabker Jun 9, 2024
8dd3a5d
Tree strategy compat fixes
mbabker Jun 9, 2024
90eb4fc
Disable XSD validation for XML drivers in tests
mbabker Jun 9, 2024
7bb3870
Refresh baseline
mbabker Jun 9, 2024
58ca22b
Add an attributes reference page
mbabker Jun 9, 2024
c16c401
Run tests without `doctrine/annotations` installed (#2781)
mbabker Jun 9, 2024
236c91c
Update SoftDeleteable to work with Doctrine 3.1 (#2801)
elfantome Jun 9, 2024
5a16042
Allow ORM 3 to be installed
mbabker Jun 9, 2024
cffb954
Skip tests not executable with ORM 3
mbabker Jun 9, 2024
56c3871
Adapt SoftDeleteableFilter::addFilterConstraint() signature for cross…
mbabker Jun 9, 2024
bf7823b
Add compat layer for the translatable ORM adapter
mbabker Jun 9, 2024
d28cb36
Add a check to the testing bootstrap to ignore the ORM mapping namesp…
mbabker Jun 9, 2024
595835b
Change the hydrator compat trait to match the object hydrators which …
mbabker Jun 9, 2024
a23a1bb
Short-circuit the event compat check with ORM 3
mbabker Jun 9, 2024
50449d5
Refresh PHPStan
mbabker Jun 9, 2024
f562f34
Ensure there are builds for both ORM versions on latest PHP
mbabker Jun 9, 2024
165fc33
Update the branch alias for dev-main
stof Jun 10, 2024
a1c2a91
Update blameable.md
mirutz Jun 17, 2024
043552d
Deprecate annotations support (#2772)
mbabker Jun 24, 2024
4f2e7a1
Move phpunit.xml.dist to root directory
franmomu Jun 24, 2024
871b4a1
Bump isbang/compose-action from 2.0.0 to 2.0.1
dependabot[bot] Jun 24, 2024
c643fef
add missing entries to changelog
franmomu Jun 24, 2024
7832a30
3.16.0
franmomu Jun 24, 2024
c1c2455
Update docs to reflect deprecated annotations (#2823)
franmomu Jun 24, 2024
c7e01ca
Restructure the SqlWalkerCompat trait to fix optimized autoloading
mbabker Jun 25, 2024
e85560e
3.16.1
franmomu Jun 25, 2024
ddbbd27
Fix PHPUnit config to restore Codecov support
mbabker Jul 17, 2024
93d8133
Extend Throwable in the package's marker exception interface
mbabker Dec 15, 2023
497de83
Fix entity manager acquisition in the example app
phansys Aug 17, 2024
bc33f35
Rewrite the blameable extension documentation
mbabker Jun 13, 2024
b718c98
Rewrite the IP traceable extension documentation
mbabker Jun 30, 2024
614a540
Add missing token for "codecov/codecov-action" at "upload_coverage" C…
phansys Aug 18, 2024
ee91783
Update Rector config
phansys Aug 20, 2024
c5d92d4
Rewrite the framework integration documentation (#2833)
mbabker Aug 25, 2024
ade7387
Rewrite the timestampable extension documentation
mbabker Aug 25, 2024
755c0a7
Partial DBAL 4.x support
mbabker Aug 25, 2024
146d3f4
Add generics for the event subscriber configuration arrays and adapters
mbabker Aug 18, 2024
13ca282
Configure "trailing_comma_in_multiline" rule for PHP-CS-Fixer
phansys Oct 6, 2024
bf17e46
Update baseline for PHPStan
phansys Oct 6, 2024
38b3737
3.17.0
phansys Oct 6, 2024
7779be6
Add missing release dates at `CHANGELOG.md`
phansys Oct 6, 2024
f8eb70d
Fix @note annotation error
mpysiak Oct 7, 2024
5ee7830
Update README.md
andreybolonin Oct 7, 2024
eabb450
3.17.1
phansys Oct 7, 2024
c5798aa
Add missing token for "codecov/codecov-action" at "upload_coverage" C…
phansys Aug 18, 2024
ee63c20
fix: Casting issue due to MariaDB not included in inheritance schema …
Pixelshaped Oct 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
26 changes: 26 additions & 0 deletions .docker/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# syntax=docker/dockerfile:1

ARG PHP_VERSION=8.2-cli

FROM composer:2 AS composer

FROM php:$PHP_VERSION AS php

COPY --from=composer /usr/bin/composer /usr/bin/composer

RUN apt-get update \
&& apt-get satisfy -qq --yes --no-install-recommends \
"git (>= 1:2.30.2), git (<< 1:3), \
libzip-dev (>= 1.7.3), libzip-dev (<< 2), \
unzip (>= 6), unzip (<< 7), \
zip (>= 3), zip (<< 4), \
zlib1g-dev (>= 1:1.2.11.dfsg), zlib1g-dev (<< 1:2)" \
&& apt-get -y autoremove \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
# Install PHP extensions
&& docker-php-ext-install zip \
&& docker-php-ext-install pcntl \
&& docker-php-ext-install bcmath \
&& pecl install mongodb \
&& docker-php-ext-enable mongodb
15 changes: 15 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Exclude nonessential files from dist
/.docker export-ignore
/.github export-ignore
/doc export-ignore
/example export-ignore
/tests export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.php-cs-fixer.dist.php export-ignore
/.yamllint
CONTRIBUTING.md export-ignore
/docker-compose.yml export-ignore
phpstan.neon.dist export-ignore
phpstan-baseline.neon export-ignore
rector.php export-ignore
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: [l3pp4rd, stof, mbabker, phansys]
71 changes: 71 additions & 0 deletions .github/ISSUE_TEMPLATE/Bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
---
name: 🐞 Bug Report
about: Something is broken? 🔨
labels: bug, unconfirmed
---

<!--
Before you open an issue, make sure this one does not already exist.
Please, read the contents at https://github.com/doctrine-extensions/DoctrineExtensions/blob/main/CONTRIBUTING.md#what-you-can-contribute.
-->

<!--
If you are reporting a bug, please try to fill in the following.
Otherwise remove it.
-->

### Environment

#### Package

<details><summary>show</summary>
<p>

```
$ composer show --latest gedmo/doctrine-extensions
# Put the result here.
```

</p>
</details>

#### Doctrine packages

<details><summary>show</summary>
<p>

```
$ composer show --latest 'doctrine/*'
# Put the result here.
```

</p>
</details>

#### PHP version

```
$ php -v
# Put the result here.
```

## Subject

<!--
Give here as many details as possible.
Next sections are for ERRORS only.
-->

## Minimal repository with the bug

## Steps to reproduce

## Expected results

## Actual results

<!--
If it's an error message or piece of code, use code block tags,
and make sure you provide the whole stack trace(s),
not just the first error message you can see.
-->
9 changes: 9 additions & 0 deletions .github/ISSUE_TEMPLATE/Feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
name: 🚀 Feature Request
about: I have a suggestion (and may want to implement it 🙂)!
labels: feature
---

## Feature Request

<!-- Provide a summary of the feature. -->
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: StackOverflow
url: https://stackoverflow.com/questions/tagged/doctrine-extensions
about: 'Questions tagged with "doctrine-extensions" on StackOverflow'
- name: Slack
url: https://symfony-devs.slack.com/archives/CCD2S9Y85
about: '#doctrineextensions channel on Symfony Devs Slack'
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'weekly'
110 changes: 110 additions & 0 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
name: "Coding Standards"

on:
push:
branches:
- main
pull_request:

jobs:
php-coding-standards:
name: "PHP-CS-Fixer"
runs-on: "ubuntu-20.04"

steps:
- name: "Checkout"
uses: "actions/checkout@v4"

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: "8.3"

- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v3"
with:
dependency-versions: "highest"

- name: "Run PHP-CS-Fixer"
run: "vendor/bin/php-cs-fixer fix --ansi --verbose --diff --dry-run"

rector:
name: "Rector"
runs-on: "ubuntu-latest"

steps:
- name: "Checkout"
uses: "actions/checkout@v4"

- name: "Install PHP"
uses: shivammathur/setup-php@v2
with:
php-version: "8.3"
coverage: "none"
tools: "composer:v2"

- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v3"
with:
dependency-versions: "highest"
composer-options: "--prefer-dist --prefer-stable"

- name: Rector
run: "vendor/bin/rector --no-progress-bar --dry-run"

composer:
name: Composer

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install PHP with extensions
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
coverage: none
tools: composer:v2, composer-normalize:2
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Lint Composer
run: make lint-composer

lint-xml-files:
name: Lint XML files

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install required dependencies
run: sudo apt-get update && sudo apt-get install libxml2-utils

- name: Lint XML files
run: make lint-xml

lint-yaml-files:
name: Lint YAML files

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install Ruby 3.0
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'

- name: Install required gem
run: gem install yaml-lint

- name: Lint YAML files
run: make lint-yaml
Loading