Skip to content

Add final keyword to value classes#278

Draft
Rafikooo wants to merge 16 commits intoSylius:3.0from
Rafikooo:modernize/final-classes
Draft

Add final keyword to value classes#278
Rafikooo wants to merge 16 commits intoSylius:3.0from
Rafikooo:modernize/final-classes

Conversation

@Rafikooo
Copy link
Contributor

Summary

Add final keyword to classes that should not be extended:

  • EmailFactory - factory implementation with interface
  • SyliusMailerEvents - constants-only class

Also removes sylius-labs/polyfill-symfony-event-dispatcher in favor of symfony/event-dispatcher-contracts.

Note: RenderedEmail is intentionally left without final as phpspec cannot mock final classes.

All phpspec tests pass.

dependabot bot and others added 16 commits September 24, 2024 08:30
Updates the requirements on [phpstan/phpstan](https://github.com/phpstan/phpstan) to permit the latest version.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/2.0.x/CHANGELOG.md)
- [Commits](phpstan/phpstan@1.11.10...1.12.4)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [phpstan/phpstan-phpunit](https://github.com/phpstan/phpstan-phpunit) to permit the latest version.
- [Release notes](https://github.com/phpstan/phpstan-phpunit/releases)
- [Commits](phpstan/phpstan-phpunit@1.1.1...1.4.0)

---
updated-dependencies:
- dependency-name: phpstan/phpstan-phpunit
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
…dapter (lanfisis)

This PR was merged into the 2.1 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | no
| License         | MIT


## Context
I'm currently working on the upgrade of a Sylius v1.10 to Sylius 1.12. Since Sylius use Symfony Mailer instead of Swift Mailer, we encounter the following bug: before the upgrade, we use 
```php
['john.doe@mail.com' => 'John Doe', 'jane.smith@mail.com' => 'Jane Smith']
```
array for the `$recipients ` parameter of the `\Sylius\Component\Mailer\Sender\Sender::send`  method, and it was working like a charm. 


## Problem
After the upgrade, Symfony Mailer `\Symfony\Component\Mime\Email` object used in `\Sylius\Bundle\MailerBundle\Sender\Adapter\SymfonyMailerAdapter::sendMessage`  is looking for a `\Symfony\Component\Mime\Address`  objects or strings. With an array like above, it tries to use '`John Doe'` or `'Jane Smith'` as email and the following exception is thrown:

<img width="1036" alt="image" src="https://github.com/user-attachments/assets/1e3f552a-888f-41ff-a853-b55dd13a171f">

## Fix

I've added a function to format `address => name` like array value to an `Address` object. Only `address` value are not touched. 

Commits
-------

af38f95 Manage recipients in SymfonyMailerAdapter using Address object if needed
….12.4 (dependabot[bot])

This PR was merged into the 2.1 branch.

Discussion
----------

Updates the requirements on [phpstan/phpstan](https://github.com/phpstan/phpstan) to permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/phpstan/phpstan/releases">phpstan/phpstan's releases</a>.</em></p>
<blockquote>
<h2>1.12.4</h2>
<h1>Improvements 🔧</h1>
<ul>
<li>Special internal error message for Larastan &amp; Laravel (<a href="https://github.com/phpstan/phpstan-src/commit/475a18ce8e0e14e340d7a0939906fffa6dd28e8d">https://github.com/phpstan/phpstan-src/commit/475a18ce8e0e14e340d7a0939906fffa6dd28e8d</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/11641">#11641</a></li>
<li>Do not truncate offset key in error tip message (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3437">#3437</a>), thanks <a href="https://github.com/ruudk"><code>@​ruudk</code></a>!</li>
<li>Errors with <code>argument.named</code> are ignorable now (<a href="https://github.com/phpstan/phpstan-src/commit/193b4f518d53eb3648b09ff131f83979067fec59">https://github.com/phpstan/phpstan-src/commit/193b4f518d53eb3648b09ff131f83979067fec59</a>)</li>
<li>Normalize path in TypeInferenceTestCase (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3449">#3449</a>), thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li>
<li>Fix duplicate paths in <code>composerAutoloaderProjectPaths</code> on Windows (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3451">#3451</a>), thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li>
<li>Update nikic/php-parser to 4.19.2 (<a href="https://github.com/phpstan/phpstan-src/commit/05630e67fa3809191253e660765573263daab2b9">https://github.com/phpstan/phpstan-src/commit/05630e67fa3809191253e660765573263daab2b9</a>)</li>
<li>Allow toggling <code>treatPhpDocTypesAsCertain</code> tip (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3452">#3452</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/11689">#11689</a>, thanks <a href="https://github.com/ruudk"><code>@​ruudk</code></a>!</li>
</ul>
<h1>Bugfixes 🐛</h1>
<ul>
<li>Fix conditional types in <code>array_map()</code> return value (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3425">#3425</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/10715">#10715</a>, <a href="https://redirect.github.com/phpstan/phpstan/issues/11056">#11056</a>, <a href="https://redirect.github.com/phpstan/phpstan/issues/10685">#10685</a>, thanks <a href="https://github.com/rvanvelzen"><code>@​rvanvelzen</code></a>!</li>
<li>Fix false positive when extending SplObjectStorage on PHP &lt; 8.4 by updating BetterReflection (<a href="https://redirect.github.com/Roave/BetterReflection/pull/1448">Roave/BetterReflection#1448</a>, <a href="https://github.com/phpstan/phpstan-src/commit/fd25c2779ca7fd4decee7038282ab9743b16d167">https://github.com/phpstan/phpstan-src/commit/fd25c2779ca7fd4decee7038282ab9743b16d167</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/11665">#11665</a>, thanks <a href="https://github.com/VincentLanglet"><code>@​VincentLanglet</code></a>!</li>
<li>Prevent warning in <code>range()</code> on PHP 7.x (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3424">#3424</a>), thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li>
<li>Process expression assignments other than Variable in by-ref parameters (<a href="https://github.com/phpstan/phpstan-src/commit/d3a2a92fcd612bf42bbfd19cd3a5625481ff7522">https://github.com/phpstan/phpstan-src/commit/d3a2a92fcd612bf42bbfd19cd3a5625481ff7522</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/11667">#11667</a>, <a href="https://redirect.github.com/phpstan/phpstan/issues/8781">#8781</a></li>
<li>Allow nonexistent other-than-Variable expressions in by-ref parameters (<a href="https://github.com/phpstan/phpstan-src/commit/00d2caf39514380610899b0a305413f60c1c5830">https://github.com/phpstan/phpstan-src/commit/00d2caf39514380610899b0a305413f60c1c5830</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/11617">#11617</a>, <a href="https://redirect.github.com/phpstan/phpstan/issues/5077">#5077</a>, <a href="https://redirect.github.com/phpstan/phpstan/issues/9361">#9361</a>, <a href="https://redirect.github.com/phpstan/phpstan/issues/7251">#7251</a>, <a href="https://redirect.github.com/phpstan/phpstan/issues/2313">#2313</a>, <a href="https://redirect.github.com/phpstan/phpstan/issues/11655">#11655</a>, <a href="https://redirect.github.com/phpstan/phpstan/issues/2634">#2634</a></li>
<li>Fix false positive when type casting in If_ statement (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3431">#3431</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/11674">#11674</a>, thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li>
<li>Simplify abs return type (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3433">#3433</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/9224">#9224</a>, thanks <a href="https://github.com/rvanvelzen"><code>@​rvanvelzen</code></a>!</li>
<li>Fix late static binding calls (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3361">#3361</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/10469">#10469</a>, thanks <a href="https://github.com/mvorisek"><code>@​mvorisek</code></a>!</li>
<li>Fix string types sorting (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3441">#3441</a>), thanks <a href="https://github.com/VincentLanglet"><code>@​VincentLanglet</code></a>!</li>
<li>RegexArrayShapeMatcher - Fix matching literal dot character (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3444">#3444</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/11699">#11699</a>, thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li>
<li>Fix infer new templated type from initial assign into static property (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3364">#3364</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/5551">#5551</a>, thanks <a href="https://github.com/mvorisek"><code>@​mvorisek</code></a>!</li>
<li><code>range()</code> with float step should return an array of floats (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3447">#3447</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/11692">#11692</a>, thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li>
<li>Narrow string on <code>*strlen()</code> with positive-int (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3407">#3407</a>), <a href="https://redirect.github.com/phpstan/phpstan/issues/11558">#11558</a>, thanks <a href="https://github.com/staabm"><code>@​staabm</code></a>!</li>
<li>Fix late static binding calls for first class callable (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3435">#3435</a>), thanks <a href="https://github.com/mvorisek"><code>@​mvorisek</code></a>!</li>
<li>E_ALL value is different on PHP 8.4 (<a href="https://github.com/phpstan/phpstan-src/commit/cb8f9103f4191f176d1b52cc45f661c3326f194f">https://github.com/phpstan/phpstan-src/commit/cb8f9103f4191f176d1b52cc45f661c3326f194f</a>)</li>
</ul>
<h1>Function signature fixes 🤖</h1>
<ul>
<li>Fix SplObjectStorage generic stub for PHP 8.4 (<a href="https://github.com/phpstan/phpstan-src/commit/9d9fb560907fcd4f6dd16789af4278ac7f683736">https://github.com/phpstan/phpstan-src/commit/9d9fb560907fcd4f6dd16789af4278ac7f683736</a>)</li>
</ul>
<h1>Internals 🔍</h1>
<ul>
<li>Extract getMessageFromInternalError (<a href="https://github.com/phpstan/phpstan-src/commit/d047c7f8ef8da296d0498696635735eed1762a4e">https://github.com/phpstan/phpstan-src/commit/d047c7f8ef8da296d0498696635735eed1762a4e</a>)</li>
<li>Optimize NodeScopeResolverTest when running with <code>paratest</code> (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3440">#3440</a>), thanks <a href="https://github.com/schlndh"><code>@​schlndh</code></a>!</li>
<li>Expose <code>Output::isDecorated</code> and <code>Output::isVeryVerbose</code> (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3436">#3436</a>), thanks <a href="https://github.com/ruudk"><code>@​ruudk</code></a>!</li>
<li>Simplify SubstrDynamicReturnTypeExtension (<a href="https://redirect.github.com/phpstan/phpstan-src/pull/3439">#3439</a>), thanks <a href="https://github.com/VincentLanglet"><code>@​VincentLanglet</code></a>!</li>
<li>CollectedDataNode is VirtualNode (<a href="https://github.com/phpstan/phpstan-src/commit/2d613997f5a9298b2446d1a0b2f01a565ed8a457">https://github.com/phpstan/phpstan-src/commit/2d613997f5a9298b2446d1a0b2f01a565ed8a457</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/phpstan/phpstan/commit/ffa517cb918591b93acc9b95c0bebdcd0e4538bd"><code>ffa517c</code></a> PHPStan 1.12.4</li>
<li><a href="https://github.com/phpstan/phpstan/commit/cb8f91006d7f52975293ab25960a9b3d18cb40c2"><code>cb8f910</code></a> Updated PHPStan to commit cb8f9103f4191f176d1b52cc45f661c3326f194f</li>
<li><a href="https://github.com/phpstan/phpstan/commit/9263039c9058eb458f235ef5a5c2c9d414fb4458"><code>9263039</code></a> Updated PHPStan to commit 9263039c312f14097dc46fe844c474f3a87eb911</li>
<li><a href="https://github.com/phpstan/phpstan/commit/558280344b4ac658a92bbdb4e24063fec94e49a7"><code>5582803</code></a> Updated PHPStan to commit 558280316de22a60fcc5850dcce3a094a32ea760</li>
<li><a href="https://github.com/phpstan/phpstan/commit/7a6a0fa7b6e0392f4feeeadb821f3c58a999a015"><code>7a6a0fa</code></a> Updated PHPStan to commit 7a6a0fa20110a99adb61748d97b3f9e0f9dbef8a</li>
<li><a href="https://github.com/phpstan/phpstan/commit/988f058f5a6d2bce602ff6fad209e5d7786423e8"><code>988f058</code></a> Updated PHPStan to commit 988f058478eeb00548d6e1a1e84a629c7934ff93</li>
<li><a href="https://github.com/phpstan/phpstan/commit/05630e628f42b83e5ff000a3ac5aef86ffc18a62"><code>05630e6</code></a> Updated PHPStan to commit 05630e67fa3809191253e660765573263daab2b9</li>
<li><a href="https://github.com/phpstan/phpstan/commit/84a73978768134374780e9b0f83732d21e314ca7"><code>84a7397</code></a> Updated PHPStan to commit 84a7397193c250444681437670e3e095eb389787</li>
<li><a href="https://github.com/phpstan/phpstan/commit/b3aec7cd64fc1515f433e48764a04e143c82d7b7"><code>b3aec7c</code></a> Updated PHPStan to commit b3aec7cd39bd1c00ed718cf909b38862def03487</li>
<li><a href="https://github.com/phpstan/phpstan/commit/83bf3abd3ac6a76630cb15710c6ddbc1e83f042f"><code>83bf3ab</code></a> Updated PHPStan to commit 83bf3abd885baf88051da651bef4f531ccaebe2d</li>
<li>Additional commits viewable in <a href="https://github.com/phpstan/phpstan/compare/1.11.10...1.12.4">compare view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

Commits
-------

06cb4e2 Update phpstan/phpstan requirement from 1.11.10 to 1.12.4
…1 to 1.4.0 (dependabot[bot], GSadee)

This PR was merged into the 2.1 branch.

Discussion
----------

Updates the requirements on [phpstan/phpstan-phpunit](https://github.com/phpstan/phpstan-phpunit) to permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/phpstan/phpstan-phpunit/releases">phpstan/phpstan-phpunit's releases</a>.</em></p>
<blockquote>
<h2>1.4.0</h2>
<ul>
<li><a href="http://github.com/phpstan/phpstan-phpunit/commit/f3ea021866f4263f07ca3636bf22c64be9610c11">f3ea021</a> - Update lock-closed-issues.yml</li>
<li><a href="http://github.com/phpstan/phpstan-phpunit/commit/f93aec74624bcdb9773da40a729f111df1f6e22a">f93aec7</a> - Merge remote-tracking branch 'origin/1.3.x' into 1.4.x</li>
<li><a href="http://github.com/phpstan/phpstan-phpunit/commit/77bdf9644e105833f810eefc3d6e051ac33dd939">77bdf96</a> - Update metcalfc/changelog-generator action to v4.3.1</li>
<li><a href="http://github.com/phpstan/phpstan-phpunit/commit/6a1df9a11edc5642f4a3b462fd1bcb7b07bafa35">6a1df9a</a> - Update cbrgm/mastodon-github-action action to v2</li>
<li><a href="http://github.com/phpstan/phpstan-phpunit/commit/e95a58baebb1f2daf7067c3667bff371b202151d">e95a58b</a> - Update metcalfc/changelog-generator action to v4.2.0</li>
<li><a href="http://github.com/phpstan/phpstan-phpunit/commit/77345df14f04d05252c8b13a5b4444eacd6a0764">77345df</a> - Update dessant/lock-threads action to v5</li>
<li><a href="http://github.com/phpstan/phpstan-phpunit/commit/99bb21e6ead1df1c6b9ec2b5750804a00aa6fb08">99bb21e</a> - Merge branch '1.3.x' into 1.4.x</li>
<li><a href="http://github.com/phpstan/phpstan-phpunit/commit/ac8ea9981675cb991b7bbcde55add4b73dc7c690">ac8ea99</a> - Update actions/checkout action to v4</li>
<li><a href="http://github.com/phpstan/phpstan-phpunit/commit/529f300b5bf38a5ca83617b162ffd58c8c6f5647">529f300</a> - Merge branch '1.3.x' into 1.4.x</li>
<li><a href="http://github.com/phpstan/phpstan-phpunit/commit/62e883ea3762a31faa4f6609c20fb1363762d4e3">62e883e</a> - Open 1.4.x-dev</li>
<li><a href="http://github.com/phpstan/phpstan-phpunit/commit/97ec1d34e9eb2669df4de20e0eb9d6a99f92b4d6">97ec1d3</a> - Merge branch '1.3.x' into 1.4.x</li>
<li><a href="http://github.com/phpstan/phpstan-phpunit/commit/4d99a7d020727a2c7b4b428aecbe6a0171bb78a5">4d99a7d</a> - Require PHPStan 1.11</li>
<li><a href="http://github.com/phpstan/phpstan-phpunit/commit/908e232dab1297e5ad6e492b5dfa2d828727915d">908e232</a> - Error identifiers</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/phpstan/phpstan-phpunit/commit/f3ea021866f4263f07ca3636bf22c64be9610c11"><code>f3ea021</code></a> Update lock-closed-issues.yml</li>
<li><a href="https://github.com/phpstan/phpstan-phpunit/commit/f93aec74624bcdb9773da40a729f111df1f6e22a"><code>f93aec7</code></a> Merge remote-tracking branch 'origin/1.3.x' into 1.4.x</li>
<li><a href="https://github.com/phpstan/phpstan-phpunit/commit/d5242a59d035e46774f2e634b374bc39ff62cb95"><code>d5242a5</code></a> Narrow type on assertCount and assertNotCount</li>
<li><a href="https://github.com/phpstan/phpstan-phpunit/commit/77bdf9644e105833f810eefc3d6e051ac33dd939"><code>77bdf96</code></a> Update metcalfc/changelog-generator action to v4.3.1</li>
<li><a href="https://github.com/phpstan/phpstan-phpunit/commit/6a1df9a11edc5642f4a3b462fd1bcb7b07bafa35"><code>6a1df9a</code></a> Update cbrgm/mastodon-github-action action to v2</li>
<li><a href="https://github.com/phpstan/phpstan-phpunit/commit/e95a58baebb1f2daf7067c3667bff371b202151d"><code>e95a58b</code></a> Update metcalfc/changelog-generator action to v4.2.0</li>
<li><a href="https://github.com/phpstan/phpstan-phpunit/commit/77345df14f04d05252c8b13a5b4444eacd6a0764"><code>77345df</code></a> Update dessant/lock-threads action to v5</li>
<li><a href="https://github.com/phpstan/phpstan-phpunit/commit/99bb21e6ead1df1c6b9ec2b5750804a00aa6fb08"><code>99bb21e</code></a> Merge branch '1.3.x' into 1.4.x</li>
<li><a href="https://github.com/phpstan/phpstan-phpunit/commit/70ecacc64fe8090d8d2a33db5a51fe8e88acd93a"><code>70ecacc</code></a> AssertTypeSpecifyingExtensionHelper: rootExpr with unknown variable to avoid ...</li>
<li><a href="https://github.com/phpstan/phpstan-phpunit/commit/ac8ea9981675cb991b7bbcde55add4b73dc7c690"><code>ac8ea99</code></a> Update actions/checkout action to v4</li>
<li>Additional commits viewable in <a href="https://github.com/phpstan/phpstan-phpunit/compare/1.1.1...1.4.0">compare view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

Commits
-------

ab21af3 Update phpstan/phpstan-phpunit requirement from 1.1.1 to 1.4.0
3c86d2f Merge branch '2.1' into dependabot/composer/phpstan/phpstan-phpunit-1.4.0
Updates the requirements on [phpstan/phpstan-webmozart-assert](https://github.com/phpstan/phpstan-webmozart-assert) to permit the latest version.
- [Release notes](https://github.com/phpstan/phpstan-webmozart-assert/releases)
- [Commits](phpstan/phpstan-webmozart-assert@1.2.0...1.2.11)

---
updated-dependencies:
- dependency-name: phpstan/phpstan-webmozart-assert
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [phpstan/phpstan](https://github.com/phpstan/phpstan) to permit the latest version.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/2.0.x/CHANGELOG.md)
- [Commits](phpstan/phpstan@1.12.4...1.12.5)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
…/phpstan-1.12.5

Update phpstan/phpstan requirement from 1.12.4 to 1.12.5
…/phpstan-webmozart-assert-1.2.11

Update phpstan/phpstan-webmozart-assert requirement from 1.2.0 to 1.2.11
Twig 2.x is EOL and all versions are blocked by Composer security
advisories, making the test matrix impossible to run. Simplified the
workflow to use modern Symfony Flex configuration.
@Rafikooo Rafikooo marked this pull request as draft January 28, 2026 11:27
@Rafikooo Rafikooo changed the base branch from 2.2 to 3.0 January 28, 2026 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants