profile
viewpoint
Marco Pivetta Ocramius Marco Pivetta Software Development Frankfurt am Main https://ocramius.github.io/ @Roave, @laminas and @doctrine. Pushing for better practices in the PHP ecosystem.

lcobucci/jwt 5848

A simple library to work with JSON Web Token and JSON Web Signature

maglnet/ComposerRequireChecker 503

A CLI tool to check whether a specific composer package uses imported symbols that aren't part of its direct composer dependencies

asm89/Rx.PHP 210

Reactive extensions for PHP.

malukenho/PsyGit 183

Git for PHPsychopaths

laminas/automatic-releases 67

Automated release process for `laminas/` projects, usable as github action

malukenho/docheader 60

A small tool to check license headers

malukenho/kawaii-gherkin 48

A Kawaii and small tool to fix and validate gherkin code styles.

BinaryKitten/ZeffMu 41

Zend Framwork 2 Microframework

Hounddog/DoctrineDataFixtureModule 37

Doctrine Data Fixture Module for Zf2 with cli integration

malukenho/silex-manager 37

Simple scaffold to create crap CRUD based application using Silex

PR opened mezzio/mezzio-hal

PHP 8 Support

<!-- Fill in the relevant information below to help triage your issue.

Pick the target branch based on the following criteria:

  • Documentation improvement: master branch
  • Bugfix: master branch
  • QA improvement (additional tests, CS fixes, etc.) that does not change code behavior: master branch
  • New feature, or refactor of existing code: develop branch

You MUST provide a signoff in your commits for us to be able to accept your patch; you can do this by providing either the --signoff or -s flag when using "git commit". Please see the project contributing guide and https://developercertificate.org for details. -->

Q A
Documentation yes/no
Bugfix yes/no
BC Break yes/no
New Feature yes/no
RFC yes/no
QA yes/no

Description

<!-- Tell us about why this change is necessary:

  • Are you fixing a bug or providing a failing unit test to demonstrate a bug?

    • How do you reproduce it?
    • What did you expect to happen?
    • What actually happened?
    • TARGET THE master BRANCH
  • Are you adding documentation?

    • TARGET THE master BRANCH
  • Are you providing a QA improvement (additional tests, CS fixes, etc.) that does not change behavior?

    • Explain why the changes are necessary
    • TARGET THE master BRANCH
  • Are you fixing a BC Break?

    • How do you reproduce it?
    • What was the previous behavior?
    • What is the current behavior?
    • TARGET THE master BRANCH
  • Are you adding something the library currently does not support?

    • Why should it be added?
    • What will it enable?
    • How will the code be used?
    • TARGET THE develop BRANCH
  • Are you refactoring code?

    • Why do you feel the refactor is necessary?
    • What types of refactoring are you doing?
    • TARGET THE develop BRANCH --> Opening this PR as draft so everyone is welcome to add their thoughts as I go.

Intended to address https://github.com/mezzio/mezzio-hal/issues/18

+15 -15

0 comment

9 changed files

pr created time in an hour

issue commentmezzio/mezzio-hal

PHP 8.0 support

Perfect, I will proceed with it.

Just a couple of questions:

  • should we add a helper in the project to cover the tests using assertAttributeInstanceOf? this method is not available in PHPUnit 9
  • should I address already the Prophecy removal? it's currently deprecated and it will be removed in PHPUnit 10
boesing

comment created time in an hour

delete branch Roave/SecurityAdvisoriesBuilder

delete branch : dependabot/composer/vimeo/psalm-4.3.0

delete time in 2 hours

push eventRoave/SecurityAdvisoriesBuilder

dependabot-preview[bot]

commit sha c041f3b081b0957093eddde8ca5ed84fe458f9f6

Bump vimeo/psalm from 4.2.1 to 4.3.0 Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 4.2.1 to 4.3.0. - [Release notes](https://github.com/vimeo/psalm/releases) - [Commits](https://github.com/vimeo/psalm/compare/4.2.1...4.3.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

view details

dependabot-preview[bot]

commit sha d9c7a2776e99c5bebf79b2afcb14b9ffbe9e67ea

Merge pull request #286 from Roave/dependabot/composer/vimeo/psalm-4.3.0

view details

push time in 2 hours

PR merged Roave/SecurityAdvisoriesBuilder

Bump vimeo/psalm from 4.2.1 to 4.3.0 dependencies

Bumps vimeo/psalm from 4.2.1 to 4.3.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/vimeo/psalm/releases">vimeo/psalm's releases</a>.</em></p> <blockquote> <h2>4.3.0</h2> <h2>Features</h2> <ul> <li><code>UnusedConstructor</code> is now a separate issue from <code>UnusedMethod</code>. This allows people to use the private constructor pattern to prevent instantiation of classes that just have static methods (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4656">#4656</a>)</li> <li><code>RedundantCast</code> is now a separate issue from <code>RedundantCondition</code>. It is now emitted for more redundant casts thanks to <a href="https://github.com/orklah">@orklah</a> adding better detection (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4695">#4695</a>)</li> <li><a href="https://github.com/odoucet">@odoucet</a> added support for the CodeClimate output format (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4387">#4387</a>)</li> <li><a href="https://github.com/weirdan">@weirdan</a> added a test to ensure all new Psalm annotations are documented (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4723">#4723</a>)</li> <li><code>RedundantPropertyInitializationCheck</code> is now emitted for <code>isset</code> checks on class properties that Psalm thinks should be defined. This allows users who prefer to initialize properties outside constructors to silence just that issue (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4732">#4732</a>)</li> </ul> <h2>Bugfixes</h2> <h3>Psalter</h3> <ul> <li><a href="https://github.com/orklah">@orklah</a> added support for adding <code>static</code> return types when running in PHP 8 (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4641">#4641</a>)</li> <li><a href="https://github.com/orklah">@orklah</a> added support for adding <code>int|string</code> phpdoc standin for <code>array-key</code> (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4645">#4645</a>)</li> <li><a href="https://github.com/orklah">@orklah</a> added support for adding <code>string</code> phpdoc standin for <code>Foo::class</code> (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4651">#4651</a>)</li> <li>use union types in PHP 8 wherever possible (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4643">#4643</a>)</li> </ul> <h3>Taint analysis</h3> <ul> <li><a href="https://github.com/LukasReschke">@LukasReschke</a> added flows for many common PHP functions (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4591">#4591</a>, <a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4659">#4659</a>)</li> <li><a href="https://github.com/LukasReschke">@LukasReschke</a> added taint propagation for variadics (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4649">#4649</a>)</li> <li>it's now possible to set up conditional tainting based on a function's parameters (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4661">#4661</a>)</li> </ul> <h3>PHP 8 compatibility</h3> <ul> <li>Promoted properties are always treated as initialised (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4615">#4615</a>)</li> <li>Flag invalid attribute arguments (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4611">#4611</a>)</li> <li>Ensure classes used as attributes themselves have the <code>Attribute</code> attribute (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4475">#4475</a>)</li> <li>Ensure the <code>Attribute</code> attribute is only valid on classes (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4609">#4609</a>)</li> <li><a href="https://github.com/orklah">@orklah</a> fixed param names on core functions to enable named-argument calling in PHP 8 (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4745">#4745</a>)</li> <li><a href="https://github.com/orklah">@orklah</a> fixed return type additions when returning from <code>finally</code> (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4746">#4746</a>)</li> </ul> <h3>Miscellaneous</h3> <ul> <li>Allow the Phar to run in PHP 7.2 (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4640">#4640</a>)</li> <li>Prevent crash with recursively-defined <code>@psalm-type</code> in root namespace (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4653">#4653</a>)</li> <li><a href="https://github.com/staabm">@staabm</a> made many file-based functions impure (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4674">#4674</a>, <a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4676">#4676</a>, <a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4679">#4679</a>, <a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4678">#4678</a>)</li> <li><a href="https://github.com/erikjwaxx">@erikjwaxx</a> narrowed the return type for <code>$a <=> $b</code> (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4680">#4680</a>)</li> <li><a href="https://github.com/orklah">@orklah</a> prevented the use of illegal array keys (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4660">#4660</a>)</li> <li><a href="https://github.com/BenMorel">@BenMorel</a> added a better return type for `PDOStatement::fetchObject' (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4682">#4682</a>)</li> <li>treat <code>isset</code> like <code>!== null</code> when the variable is defined (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4699">#4699</a>)</li> <li><a href="https://github.com/orklah">@orklah</a> fixed an incorrect cast to int when the integer is very large (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4702">#4702</a>)</li> <li><a href="https://github.com/LeSuisse">@LeSuisse</a> fixed a bug in the taink sink map (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4703">#4703</a>)</li> <li><a href="https://github.com/orklah">@orklah</a> fixed reconciliation of <code>is_object($some_iterable)</code> (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4712">#4712</a>)</li> <li>use correct keys when a list with a known length is compared to an array (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/3017">#3017</a>)</li> <li>template types are no longer substituted when they’re defined on the same class (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4733">#4733</a>)</li> <li>provide better support for nested template type definitions (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4731">#4731</a>)</li> <li><a href="https://github.com/orklah">@orklah</a> ensured that non-emptiness is treated as a docblock-level assertion (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4736">#4736</a>)</li> <li><a href="https://github.com/orklah">@orklah</a> added much better typing for bitshift operators (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4740">#4740</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vimeo/psalm/commit/6f916553a8de3c5c2483162b6cc01b21b24e4d1d"><code>6f91655</code></a> Ref <a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4753">#4753</a> - allow int literals to inform key type</li> <li><a href="https://github.com/vimeo/psalm/commit/db8a3ab846d6005aa615f0c6d35c246d0f1d3959"><code>db8a3ab</code></a> Fix <a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4751">#4751</a> - allow MethodSignatureMismatch to be overridable when info comes f...</li> <li><a href="https://github.com/vimeo/psalm/commit/e2bb02e93c6f97904b39264b10f30249ad8ad0df"><code>e2bb02e</code></a> Don’t suggest a potential value that’s undefined</li> <li><a href="https://github.com/vimeo/psalm/commit/b64eb6d71694c9b542ab6e046cb320ddc8635845"><code>b64eb6d</code></a> Break out array_key_exists tests</li> <li><a href="https://github.com/vimeo/psalm/commit/a2b20f094d6df402194787b54a786ba39fd9384a"><code>a2b20f0</code></a> Fix <a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4752">#4752</a> - add property base assertions too</li> <li><a href="https://github.com/vimeo/psalm/commit/496ce463caa35df9379f49fe968602336f1ba03e"><code>496ce46</code></a> Break out method</li> <li><a href="https://github.com/vimeo/psalm/commit/f0876b86f4142736a495480e1fd26f77e759f002"><code>f0876b8</code></a> Avoid false-positives while analysing memoised coalesce</li> <li><a href="https://github.com/vimeo/psalm/commit/394eceb01c30380125e3956864f8fe654c813c11"><code>394eceb</code></a> Memoize coalesce expression in more scenarios</li> <li><a href="https://github.com/vimeo/psalm/commit/928fdda00ff2d8a022e90ebc920b79e5f3622be8"><code>928fdda</code></a> Don’t do new isset conversion on try-set vars</li> <li><a href="https://github.com/vimeo/psalm/commit/1feca322d501373beb6d37a743f9b47de4a48d1e"><code>1feca32</code></a> Fix loading imported functions</li> <li>Additional commits viewable in <a href="https://github.com/vimeo/psalm/compare/4.2.1...4.3.0">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

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.

If all status checks pass Dependabot will automatically merge this pull request.


<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 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

</details>

+7 -7

0 comment

2 changed files

dependabot-preview[bot]

pr closed time in 2 hours

PR opened Roave/SecurityAdvisoriesBuilder

Bump vimeo/psalm from 4.2.1 to 4.3.0

Bumps vimeo/psalm from 4.2.1 to 4.3.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/vimeo/psalm/releases">vimeo/psalm's releases</a>.</em></p> <blockquote> <h2>4.3.0</h2> <h2>Features</h2> <ul> <li><code>UnusedConstructor</code> is now a separate issue from <code>UnusedMethod</code>. This allows people to use the private constructor pattern to prevent instantiation of classes that just have static methods (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4656">#4656</a>)</li> <li><code>RedundantCast</code> is now a separate issue from <code>RedundantCondition</code>. It is now emitted for more redundant casts thanks to <a href="https://github.com/orklah">@orklah</a> adding better detection (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4695">#4695</a>)</li> <li><a href="https://github.com/odoucet">@odoucet</a> added support for the CodeClimate output format (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4387">#4387</a>)</li> <li><a href="https://github.com/weirdan">@weirdan</a> added a test to ensure all new Psalm annotations are documented (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4723">#4723</a>)</li> <li><code>RedundantPropertyInitializationCheck</code> is now emitted for <code>isset</code> checks on class properties that Psalm thinks should be defined. This allows users who prefer to initialize properties outside constructors to silence just that issue (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4732">#4732</a>)</li> </ul> <h2>Bugfixes</h2> <h3>Psalter</h3> <ul> <li><a href="https://github.com/orklah">@orklah</a> added support for adding <code>static</code> return types when running in PHP 8 (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4641">#4641</a>)</li> <li><a href="https://github.com/orklah">@orklah</a> added support for adding <code>int|string</code> phpdoc standin for <code>array-key</code> (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4645">#4645</a>)</li> <li><a href="https://github.com/orklah">@orklah</a> added support for adding <code>string</code> phpdoc standin for <code>Foo::class</code> (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4651">#4651</a>)</li> <li>use union types in PHP 8 wherever possible (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4643">#4643</a>)</li> </ul> <h3>Taint analysis</h3> <ul> <li><a href="https://github.com/LukasReschke">@LukasReschke</a> added flows for many common PHP functions (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4591">#4591</a>, <a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4659">#4659</a>)</li> <li><a href="https://github.com/LukasReschke">@LukasReschke</a> added taint propagation for variadics (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4649">#4649</a>)</li> <li>it's now possible to set up conditional tainting based on a function's parameters (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4661">#4661</a>)</li> </ul> <h3>PHP 8 compatibility</h3> <ul> <li>Promoted properties are always treated as initialised (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4615">#4615</a>)</li> <li>Flag invalid attribute arguments (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4611">#4611</a>)</li> <li>Ensure classes used as attributes themselves have the <code>Attribute</code> attribute (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4475">#4475</a>)</li> <li>Ensure the <code>Attribute</code> attribute is only valid on classes (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4609">#4609</a>)</li> <li><a href="https://github.com/orklah">@orklah</a> fixed param names on core functions to enable named-argument calling in PHP 8 (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4745">#4745</a>)</li> <li><a href="https://github.com/orklah">@orklah</a> fixed return type additions when returning from <code>finally</code> (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4746">#4746</a>)</li> </ul> <h3>Miscellaneous</h3> <ul> <li>Allow the Phar to run in PHP 7.2 (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4640">#4640</a>)</li> <li>Prevent crash with recursively-defined <code>@psalm-type</code> in root namespace (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4653">#4653</a>)</li> <li><a href="https://github.com/staabm">@staabm</a> made many file-based functions impure (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4674">#4674</a>, <a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4676">#4676</a>, <a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4679">#4679</a>, <a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4678">#4678</a>)</li> <li><a href="https://github.com/erikjwaxx">@erikjwaxx</a> narrowed the return type for <code>$a <=> $b</code> (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4680">#4680</a>)</li> <li><a href="https://github.com/orklah">@orklah</a> prevented the use of illegal array keys (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4660">#4660</a>)</li> <li><a href="https://github.com/BenMorel">@BenMorel</a> added a better return type for `PDOStatement::fetchObject' (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4682">#4682</a>)</li> <li>treat <code>isset</code> like <code>!== null</code> when the variable is defined (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4699">#4699</a>)</li> <li><a href="https://github.com/orklah">@orklah</a> fixed an incorrect cast to int when the integer is very large (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4702">#4702</a>)</li> <li><a href="https://github.com/LeSuisse">@LeSuisse</a> fixed a bug in the taink sink map (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4703">#4703</a>)</li> <li><a href="https://github.com/orklah">@orklah</a> fixed reconciliation of <code>is_object($some_iterable)</code> (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4712">#4712</a>)</li> <li>use correct keys when a list with a known length is compared to an array (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/3017">#3017</a>)</li> <li>template types are no longer substituted when they’re defined on the same class (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4733">#4733</a>)</li> <li>provide better support for nested template type definitions (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4731">#4731</a>)</li> <li><a href="https://github.com/orklah">@orklah</a> ensured that non-emptiness is treated as a docblock-level assertion (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4736">#4736</a>)</li> <li><a href="https://github.com/orklah">@orklah</a> added much better typing for bitshift operators (<a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4740">#4740</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vimeo/psalm/commit/6f916553a8de3c5c2483162b6cc01b21b24e4d1d"><code>6f91655</code></a> Ref <a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4753">#4753</a> - allow int literals to inform key type</li> <li><a href="https://github.com/vimeo/psalm/commit/db8a3ab846d6005aa615f0c6d35c246d0f1d3959"><code>db8a3ab</code></a> Fix <a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4751">#4751</a> - allow MethodSignatureMismatch to be overridable when info comes f...</li> <li><a href="https://github.com/vimeo/psalm/commit/e2bb02e93c6f97904b39264b10f30249ad8ad0df"><code>e2bb02e</code></a> Don’t suggest a potential value that’s undefined</li> <li><a href="https://github.com/vimeo/psalm/commit/b64eb6d71694c9b542ab6e046cb320ddc8635845"><code>b64eb6d</code></a> Break out array_key_exists tests</li> <li><a href="https://github.com/vimeo/psalm/commit/a2b20f094d6df402194787b54a786ba39fd9384a"><code>a2b20f0</code></a> Fix <a href="https://github-redirect.dependabot.com/vimeo/psalm/issues/4752">#4752</a> - add property base assertions too</li> <li><a href="https://github.com/vimeo/psalm/commit/496ce463caa35df9379f49fe968602336f1ba03e"><code>496ce46</code></a> Break out method</li> <li><a href="https://github.com/vimeo/psalm/commit/f0876b86f4142736a495480e1fd26f77e759f002"><code>f0876b8</code></a> Avoid false-positives while analysing memoised coalesce</li> <li><a href="https://github.com/vimeo/psalm/commit/394eceb01c30380125e3956864f8fe654c813c11"><code>394eceb</code></a> Memoize coalesce expression in more scenarios</li> <li><a href="https://github.com/vimeo/psalm/commit/928fdda00ff2d8a022e90ebc920b79e5f3622be8"><code>928fdda</code></a> Don’t do new isset conversion on try-set vars</li> <li><a href="https://github.com/vimeo/psalm/commit/1feca322d501373beb6d37a743f9b47de4a48d1e"><code>1feca32</code></a> Fix loading imported functions</li> <li>Additional commits viewable in <a href="https://github.com/vimeo/psalm/compare/4.2.1...4.3.0">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

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.

If all status checks pass Dependabot will automatically merge this pull request.


<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 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

</details>

+7 -7

0 comment

2 changed files

pr created time in 2 hours

issue commentmezzio/mezzio-hal

PHP 8.0 support

@agustingomes Feel free, the Help Wanted label is definitely to mark this issue open for contributors. 👍

boesing

comment created time in 2 hours

issue openedlaminas/laminas-dependency-plugin

Conflicts are not properly handled

Bug Report

Q A
Version(s) 2.1.0

Summary

I am actually working on laminas/laminas-servicemanager and get code issues which were fixed with laminas-code 3.3.1. The composer.json I am working with contains:

{
    "conflict": {
        "laminas/laminas-code": "<3.4.0"
    }
}

This should block the installation of the currently installed laminas/laminas-code 3.3.0.

Current behavior

laminas/laminas-code v3.3.0 is installed even tho it is conflicting with the composer.json of the project. zendframework/zend-code is required by a 3rd-party dependency and rewritten by this plugin.

How to reproduce

composer update --prefer-lowest

More details following.

Expected behavior

Minimum version of laminas/laminas-code would be v3.4.0 as below is conflicting.

created time in 2 hours

PR opened laminas/laminas-servicemanager

Backport 4.x Enhancement
+1631 -638

0 comment

101 changed files

pr created time in 3 hours

issue commentmezzio/mezzio-hal

PHP 8.0 support

Hi @boesing

Do you need help with this? I'd be happy to pick it up

boesing

comment created time in 3 hours

issue commentlcobucci/jwt

3.4.1 is broken

That's extremely unexpected, would be able to reproduce it in a test case?

schechter

comment created time in 4 hours

push eventmezzio/mezzio-swoole

laminas-bot

commit sha 55db55537c777ea328ae158b3224c22f923aed52

Automated deployment: Wed Dec 2 20:59:14 UTC 2020 3.1.0

view details

push time in 4 hours

issue commentmezzio/mezzio-swoole

WhoopsPrettyPageHandlerDelegator leads to undefined index error

We may need to fix this in the php-di wrapper. It's common to define delegators even for services that are not registered, so that once they are, the delegators are present. This seems to be an issue where the wrapper that populates the php-di container is unhappy that the service does not exist when the delegator is registered.

arku31

comment created time in 4 hours

push eventmezzio/mezzio-swoole

Laminas Bot

commit sha 7edda5edaa95030bbca34db95cfbda922ad8a2a5

Bumps changelog version to 3.1.1 Updates the CHANGELOG.md file to add a changelog entry for a new 3.1.1 version.

view details

push time in 4 hours

push eventmezzio/mezzio-swoole

Laminas Bot

commit sha 8d0a16038d755612945fb1b60ce117ece82bde4b

Bumps changelog version to 3.2.0 Updates the CHANGELOG.md file to add a changelog entry for a new 3.2.0 version.

view details

push time in 4 hours

create barnchmezzio/mezzio-swoole

branch : 3.2.x

created branch time in 4 hours

release mezzio/mezzio-swoole

3.1.0

released time in 4 hours

created tagmezzio/mezzio-swoole

tag3.1.0

Swoole support for Mezzio

created time in 4 hours

push eventmezzio/mezzio-swoole

Laminas Bot

commit sha ad6c36b78cfa0e1ddc7c96651a002a8b48a7bc37

3.1.0 readiness Updates the CHANGELOG.md to set the release date.

view details

push time in 4 hours

issue openedlcobucci/jwt

3.4.1 is broken

We've just had to pin to 3.3.3 as 3.4.1 is not behaving as expected.

getClaims no longer returns the expected value (perhaps only when the value is multiple lines?)

created time in 4 hours

PR merged mezzio/mezzio-swoole

Allow access to dispatcher and Swoole HTTP Server instances in extending classes Enhancement

To allow changing how events are attached, particularly when using third-party extensions that need to attach directly to the server and decorate the main functionality (e.g., timers), the swoole instance should be exposed. Exposing the dispatcher also allows extending the various internal methods in a way that allows their individual logic to be wrapped.

Fixes #44

+2 -2

0 comment

1 changed file

weierophinney

pr closed time in 4 hours

issue closedmezzio/mezzio-swoole

Provide a way to operate over original swoole server instance

I would be happy to see protected const in that class as by extending the class with private const I am forced to define it in my own and they are not different to the default one. https://github.com/mezzio/mezzio-swoole/blob/5c9b0c9cb326d40f2839c2268cb87e8235b9df63/src/HttpServerFactory.php#L39

I am extending it to perform some code before the swoole server starts

closed time in 4 hours

arku31

push eventmezzio/mezzio-swoole

Matthew Weier O'Phinney

commit sha 039cf660d94b4c75ef29a2fabaa69911951c2184

feat: allow access to dispatcher and Swoole HTTP server in extension classes To allow changing how events are attached, particularly when using third-party extensions that need to attach directly to the server and decorate the main functionality (e.g., timers), the swoole instance should be exposed. Exposing the dispatcher also allows extending the various internal methods in a way that allows their individual logic to be wrapped. Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>

view details

Matthew Weier O'Phinney

commit sha f735b197947cc0fcaa74c316e32675125df028e1

Adds CHANGELOG entry for #47 Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>

view details

push time in 4 hours

issue closedlaminas/laminas-log

registerErrorHandler won't work unless you disable convertWriteErrorsToExceptions on the writer

Bug Report

<!-- Fill in the relevant information below to help triage your issue. -->

Q A
Version(s) 2.12

Summary

Laminas\Log\Logger::registerErrorHandler wraps around set_error_handler. By default AbstractWriter starts Laminas\Stdlib\ErrorHandler before writing and stops it after. ErrorHandler's stop function in turn calls restore_error_handler. In practice this means that a very basic setup with a simple stream writer would not write any errors after the first one, since php error handler gets restored on the first write.

User can avoid this if he sets convertWriteErrorsToExceptions to false on the writer:

$writer->setConvertWriteErrorsToExceptions(false)

But this requires the user to first face this bug.

This bug is present since at least Zend 2.

Current behavior

Only one error gets written by the writer. After that Laminas\Log php error handler gets removed.

How to reproduce

Very basic one stream writer example would already suffer from this bug:

$logger = new Laminas\Log\Logger;
$writer = new Laminas\Log\Writer\Stream('/test.log');

$logger->addWriter($writer);
Laminas\Log\Logger::registerErrorHandler($logger);

$writer->setConvertWriteErrorsToExceptions(false);

trigger_error('test1');
trigger_error('test2');

Expected behavior

Ideally the ErrorHandler class should not call restore_error_handler and somehow remove only himself from the error handlers list. Unfortunately PHP does not have an API to do this. The easiest fix is probably setting convertWriteErrorsToExceptions to false by default, but this brings back the reason why it converts errors to exceptions: now user has no way of knowing that his logging has failed.

closed time in 4 hours

sg2002

issue commentlaminas/laminas-log

registerErrorHandler won't work unless you disable convertWriteErrorsToExceptions on the writer

@sg2002

…but I'd suggest mentioning this bug in the documentation…

The current version of laminas-log supports PHP version 7.3 or higher and everything else is no longer supported. The problem may be annoying for you, but the component and the documentation is addressed to current versions.

Thanks for your understanding!

sg2002

comment created time in 4 hours

PR opened mezzio/mezzio-swoole

Allow access to dispatcher and Swoole HTTP Server instances in extending classes

To allow changing how events are attached, particularly when using third-party extensions that need to attach directly to the server and decorate the main functionality (e.g., timers), the swoole instance should be exposed. Exposing the dispatcher also allows extending the various internal methods in a way that allows their individual logic to be wrapped.

Fixes #44

+2 -2

0 comment

1 changed file

pr created time in 4 hours

push eventlaminas-api-tools/api-tools-configuration

Laminas Bot

commit sha 282ac2cfe6a26f9edf4b9b5911f05de6c2ae6854

Bumps changelog version to 1.4.1 Updates the CHANGELOG.md file to add a changelog entry for a new 1.4.1 version.

view details

push time in 4 hours

more