From 6ea9dff82ebf893082070f5ee3e35d0b9794ac57 Mon Sep 17 00:00:00 2001 From: Ahmed Ghanem Date: Wed, 8 May 2024 20:44:33 +0300 Subject: [PATCH 1/3] Enable Auto Generation of Release Notes --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ef86429..35d2b99 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,3 +27,5 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} tag: ${{ env.RELEASE_TAG }} name: v${{ env.RELEASE_TAG }} + generateReleaseNotes: true + From 80b6b2a811fb4587fd0e855c7b81d7cc6e62b0e2 Mon Sep 17 00:00:00 2001 From: Ahmed Ghanem Date: Wed, 8 May 2024 21:02:24 +0300 Subject: [PATCH 2/3] Limit PHP-CS-Fixer finder to `/src` & `/tests` directories --- .php-cs-fixer.dist.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 9cb571c..afc36aa 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -12,7 +12,8 @@ EOF; $finder = PhpCsFixer\Finder::create() - ->in(__DIR__) + ->in(__DIR__ . '/src') + ->in(__DIR__ . '/tests') ->ignoreVCSIgnored(true); return (new PhpCsFixer\Config()) From 4df59c0285f108ab6fe3df7385075d95c38444fb Mon Sep 17 00:00:00 2001 From: Ahmed Ghanem Date: Wed, 8 May 2024 21:42:52 +0300 Subject: [PATCH 3/3] Add .gitattribute --- .gitattributes | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..895ffd6 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,9 @@ +/.github/ export-ignore +/tests/ export-ignore +/.gitattributes export-ignore +/.gitignore export-ignore +/.php-cs-fixer.dist.php export-ignore +/phpstan.dist.neon export-ignore +/phpstan-baseline.neon export-ignore +/phpunit.xml.dist export-ignore +