New Upstream Snapshot - php-doctrine-common

Ready changes

Summary

Merged new upstream version: 3.4.3+git20221010.1.139896f (was: 3.4.3).

Resulting package

Built on 2022-10-31T10:28 (took 5m15s)

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t fresh-snapshots php-doctrine-common

Lintian Result

Diff

diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
deleted file mode 100644
index af1c7e712..000000000
--- a/.github/FUNDING.yml
+++ /dev/null
@@ -1,3 +0,0 @@
-patreon: phpdoctrine
-tidelift: packagist/doctrine%2Fcommon
-custom: https://www.doctrine-project.org/sponsorship.html
diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml
deleted file mode 100644
index 559e83399..000000000
--- a/.github/workflows/coding-standards.yml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-name: "Coding Standards"
-
-on:
-  pull_request:
-    branches:
-      - "*.x"
-  push:
-    branches:
-      - "*.x"
-
-jobs:
-  coding-standards:
-    name: "Coding Standards"
-    uses: "doctrine/.github/.github/workflows/coding-standards.yml@1.4.0"
-    with:
-      php-version: "7.4"
diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml
deleted file mode 100644
index 4b55228f3..000000000
--- a/.github/workflows/continuous-integration.yml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-name: "Continuous Integration"
-
-on:
-  pull_request:
-    branches:
-      - "*.x"
-  push:
-    branches:
-      - "*.x"
-
-env:
-  fail-fast: true
-
-jobs:
-  phpunit:
-    name: "PHPUnit"
-    uses: "doctrine/.github/.github/workflows/continuous-integration.yml@1.1.1"
-    with:
-      php-versions: '["7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2"]'
diff --git a/.github/workflows/release-on-milestone-closed.yml b/.github/workflows/release-on-milestone-closed.yml
deleted file mode 100644
index e7e127f4a..000000000
--- a/.github/workflows/release-on-milestone-closed.yml
+++ /dev/null
@@ -1,16 +0,0 @@
-name: "Automatic Releases"
-
-on:
-  milestone:
-    types:
-      - "closed"
-
-jobs:
-  release:
-    name: "Git tag, release & create merge-up PR"
-    uses: "doctrine/.github/.github/workflows/release-on-milestone-closed.yml@1.4.1"
-    secrets:
-      GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
-      GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }}
-      ORGANIZATION_ADMIN_TOKEN: ${{ secrets.ORGANIZATION_ADMIN_TOKEN }}
-      SIGNING_SECRET_KEY: ${{ secrets.SIGNING_SECRET_KEY }}
diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml
deleted file mode 100644
index 9a911787d..000000000
--- a/.github/workflows/static-analysis.yml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-name: "Static Analysis"
-
-on:
-  pull_request:
-    branches:
-      - "*.x"
-  push:
-    branches:
-      - "*.x"
-
-jobs:
-  static-analysis:
-    name: "Static Analysis"
-    uses: "doctrine/.github/.github/workflows/static-analysis.yml@1.4.0"
-    with:
-      php-version: "8.1"
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 7695184bc..000000000
--- a/.gitignore
+++ /dev/null
@@ -1,12 +0,0 @@
-logs/
-reports/
-dist/
-tests/Common/Proxy/generated/
-composer.lock
-vendor/
-doctrine-common-*.tar
-doctrine-common-*.tar.gz
-/phpcs.xml
-/.phpcs-cache
-/phpstan.neon
-/.phpunit.result.cache
diff --git a/debian/changelog b/debian/changelog
index 98c79dea1..9ca3e0bbd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+php-doctrine-common (3.4.3+git20221010.1.139896f-1) UNRELEASED; urgency=low
+
+  * New upstream snapshot.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Mon, 31 Oct 2022 10:25:42 -0000
+
 php-doctrine-common (3.4.3-1) unstable; urgency=medium
 
   [ Nicolas Grekas ]
diff --git a/src/Proxy/ProxyGenerator.php b/src/Proxy/ProxyGenerator.php
index 5d5b67e38..8019d418f 100644
--- a/src/Proxy/ProxyGenerator.php
+++ b/src/Proxy/ProxyGenerator.php
@@ -940,7 +940,7 @@ EOT;
             if ($this->isShortIdentifierGetter($method, $class)) {
                 $identifier = lcfirst(substr($name, 3));
                 $fieldType  = $class->getTypeOfField($identifier);
-                $cast       = in_array($fieldType, ['integer', 'smallint']) ? '(int) ' : '';
+                $cast       = in_array($fieldType, ['integer', 'smallint'], true) ? '(int) ' : '';
 
                 $methods .= '        if ($this->__isInitialized__ === false) {' . "\n";
                 $methods .= '            ';

More details

Full run details