Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
907 commits
Select commit Hold shift + click to select a range
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
henderkes 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)
henderkes 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
8518593
Bump isbang/compose-action from 2.0.1 to 2.0.2
dependabot[bot] Nov 10, 2024
9c475c8
Merge pull request #2872 from doctrine-extensions/dependabot/github_a…
dependabot[bot] Nov 10, 2024
0ad4856
Rewrite the loggable extension documentation
mbabker Nov 8, 2024
22418b1
Deprecate annotation-specific properties in the Sluggable extension a…
mbabker Nov 11, 2024
b48127c
chore: Add tests for PHP 8.4
Chris53897 Nov 22, 2024
e5aceb0
Bump codecov/codecov-action from 4 to 5
dependabot[bot] Nov 18, 2024
090ce9a
Use PHP 8.4 in Docker environment and the remaining CI jobs
phansys Nov 22, 2024
7622db1
Fix CS issues
phansys Nov 26, 2024
5d80d9d
fix: Allow uuid as path source in materialized path strategy
andreakeesys Nov 26, 2024
39b61ad
Make the doctrine/common dependency optional
derrabus Dec 16, 2024
cfe5a76
Refresh .gitattributes contents
mbabker Dec 12, 2024
ea6959d
Reduce deprecations due to FieldMapping array access
Jean85 Jan 14, 2025
950d7c0
Fix CS errors
mbabker Jan 14, 2025
16ab390
Add support for new SqlOutputWalker class in the ORM
mbabker Jan 14, 2025
1d6f9bd
Upgrade to PHPStan 2.0
mbabker Jan 14, 2025
aad2dfc
Update rules for PHP CS Fixer
phansys Jan 14, 2025
2d9d36c
Update rules for PHP CS Fixer
phansys Jan 14, 2025
b6048c1
Bump isbang/compose-action from 2.0.2 to 2.1.0
dependabot[bot] Jan 20, 2025
0402d01
Support doctrine/persistence 4.0
mbabker Feb 1, 2025
964db6c
3.18.0
phansys Feb 1, 2025
910c4ba
Bump isbang/compose-action from 2.1.0 to 2.2.0
dependabot[bot] Feb 3, 2025
3b71a3a
Bump ORM requirements, fix translation walker handling of paginated q…
mbabker Feb 9, 2025
39de541
Use ubuntu-latest for all GitHub actions
mbabker Feb 12, 2025
8cc3f95
Bump CS-Fixer to latest minor, update config
mbabker Feb 12, 2025
1205a91
Add support for an actor provider for extensions which use a user ref…
mbabker Feb 1, 2025
5b0b8a4
3.19.0
phansys Feb 24, 2025
8264aad
Add an IP address provider for extensions referencing IP addresses
mbabker Feb 26, 2025
08207de
Update Composer support metadata
mbabker Mar 16, 2025
211b6fe
Resolved a bug where a soft-deleted object isn't remove from the Obje…
oojacoboo Mar 17, 2025
4402ba5
Address deprecation of the ORM's `ClassMetadata::$reflFields` property
mbabker Mar 25, 2025
ea1d375
3.20.0
phansys Apr 4, 2025
701bf5b
Fix compat with doctrine/mongodb-odm 2.11
mbabker May 10, 2025
77cfbbc
sluggable.md: fix markdown
jorrit Jul 24, 2025
b4eb806
Fix findings from PHP CS Fixer
phansys Sep 14, 2025
7c741c0
Fix PHPStan findings
phansys Sep 14, 2025
3ca38e8
3.20.1
phansys Sep 14, 2025
ac95304
Replace the behat/transliterator with symfony/string for the Sluggabl…
VincentLanglet Sep 14, 2025
d194a22
Bump isbang/compose-action from 2.2.0 to 2.3.0
dependabot[bot] Sep 14, 2025
15132a7
Bump actions/download-artifact from 4 to 5
dependabot[bot] Sep 14, 2025
647cc7d
Bump actions/checkout from 4 to 5
dependabot[bot] Sep 14, 2025
89ca7e8
Bump actions/stale from 9 to 10
dependabot[bot] Sep 14, 2025
85f3f1d
Bump hadolint/hadolint-action from 3.1.0 to 3.2.0
dependabot[bot] Sep 14, 2025
1e5d22b
Rewrite the soft deleteable extension documentation
mbabker Jul 7, 2025
bc76c95
Use the object managers to check for initialized objects
mbabker May 10, 2025
fe83993
Run the tests for the ORM using the native lazy objects when able
mbabker Sep 14, 2025
3d6ee74
[Translatable] Reorder article_translation_idx columns to improve per…
joel1di1 Sep 14, 2025
fe0d0e5
Use public property instead of deprecated array access
endelwar May 19, 2025
264c25a
Documented the usage of refresh query hint if cache is used for trans…
stollr Jun 18, 2025
3ba0096
Use getFieldValue and setFieldValue methods
ker0x Jul 1, 2025
318b494
fixup! Use getFieldValue and setFieldValue methods
ker0x Sep 20, 2025
f6a5fcd
fixup! Use getFieldValue and setFieldValue methods
ker0x Sep 20, 2025
29822c1
SoftDeleteable: Add option to enable or disable handling of `postFlush`
HypeMC Jun 24, 2025
96ee033
Translatable: Optimize indexes for better performance (#2986)
joel1di1 Sep 20, 2025
46ac905
Bump hadolint/hadolint-action from 3.2.0 to 3.3.0
dependabot[bot] Sep 22, 2025
ced53a3
Add a deprecations baseline to ignore selected deprecations in tests
mbabker Jun 2, 2025
eb53dfc
3.21.0
phansys Sep 20, 2025
7895c2f
[SoftDeleteable] Document the `$handlePostFlushEvent` option
HypeMC Oct 6, 2025
ffbd6ea
Bump isbang/compose-action from 2.3.0 to 2.4.1
dependabot[bot] Oct 20, 2025
5c7de2b
Bump actions/download-artifact from 5 to 6
dependabot[bot] Oct 27, 2025
6c0d608
Bump actions/upload-artifact from 4 to 5
dependabot[bot] Oct 27, 2025
768192a
Bump actions/checkout from 5 to 6
dependabot[bot] Nov 29, 2025
f69b895
Run tests with MongoDB ODM using native laxy objects, fix other depre…
mbabker Oct 29, 2025
8f26a3f
Allow Symfony 8.x components
mbabker Nov 17, 2025
30661a8
Fix SA issue with AbstractAnnotationDriver::getMetaReflectionClass()
mbabker Dec 1, 2025
01365af
Run CI on PHP 8.5, use 8.5 in Docker Compose env
mbabker Dec 1, 2025
e60de54
Remove invalid "@author" annotations
phansys Dec 1, 2025
5b9385d
Disallow "stringable_for_to_string" CS rule
phansys Nov 29, 2025
c821b9a
Bump isbang/compose-action from 2.4.1 to 2.4.2
dependabot[bot] Dec 8, 2025
e4350ee
3.22.0
phansys Dec 13, 2025
c9cafa6
Bump actions/upload-artifact from 5 to 6
dependabot[bot] Dec 15, 2025
02bf849
[SoftDeleteable] Remove dollar sign from cache key
adambalint-srg Dec 19, 2025
eef8a13
Bump actions/download-artifact from 6 to 7
dependabot[bot] Dec 19, 2025
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.5-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
20 changes: 20 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# 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 export-ignore
/CHANGELOG.md export-ignore
/CHANGELOG-v2.4.x.md export-ignore
/compose.yaml export-ignore
/CONTRIBUTING.md export-ignore
/Makefile export-ignore
/phpstan.neon.dist export-ignore
/phpstan-baseline.neon export-ignore
/phpunit.xml.dist export-ignore
/README.md 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'
112 changes: 112 additions & 0 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
name: "Coding Standards"

on:
push:
branches:
- main
pull_request:

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

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

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

- 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"
env:
PHP_CS_FIXER_IGNORE_ENV: 1

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

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

- name: "Install PHP"
uses: shivammathur/setup-php@v2
with:
php-version: "8.5"
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@v6

- name: Install PHP with extensions
uses: shivammathur/setup-php@v2
with:
php-version: '8.5'
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@v6

- 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@v6

- 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