New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge 4.x to master. #8222
Merge 4.x to master. #8222
Commits on May 29, 2022
-
-
They were caused by installing packages with `--ignore-platform-reqs` which brought PHP 8.1 autoloaded packages and caused fatal errors when running php-parallel-lint. Instead of ignoring platform requirements we now remove packages that are incompatible with PHP 7.1 (phpunit and its dependents).
-
-
Because installing packages with 8.1 and checking them as if we're running 7.1 just doesn't work.
Commits on May 30, 2022
-
Merge pull request vimeo#8029 from weirdan/fix-shepherd-job
Run Shepherd with 8.0
-
-
-
Merge pull request vimeo#8032 from VincentLanglet/stat
Precise stat return type
Commits on Jun 1, 2022
Commits on Jun 2, 2022
-
Remove changes from delta, and retroactively fix param name in the hi…
…storical callmap
-
Merge pull request vimeo#8042 from KevinVanSonsbeek/bugfix/splfileobj…
…ect-fputcsv-invalidnamedargument Bugfix/splfileobject fputcsv invalidnamedargument
-
Fix
TypeCombiner::combine
to not modify TIntRange arguments.This keeps coming up in obscure places, hopefully this fixes it once and for all. I would reeeaaally love to have an immutable type system at some point...
-
Merge pull request vimeo#8049 from AndrolGenhald/fix-int-range-combin…
…ation Fix `TypeCombiner::combine` to not modify TIntRange arguments.
Commits on Jun 4, 2022
-
Performance: cut the selected_text from snippet
instead of from full text 50% faster than cutting from full text, improves performance up to 3% depending on file length and number of errors in file
-
Merge pull request vimeo#8055 from kkmuffme/performance-get-selected-…
…text-from-snippet Performance: cut the selected_text from snippet
-
Merge pull request vimeo#8054 from kkmuffme/runtime-cache-origin-loca…
…tion store origin location by ID to speed up psalm by up to 75%
Commits on Jun 5, 2022
Commits on Jun 6, 2022
-
Clarify in docs that zero is not considered a positive-int
I wasn't sure from reading the docs whether or not Psalm consider zero to be positive.
-
-
-
Merge pull request vimeo#8060 from bdsl/patch-8
Clarify in docs that zero is not considered a positive-int
-
-
Coerce null to empty string in array keys
Fixes vimeo#8063 Alters the fix for vimeo#2165 (1a48be8) /cc: @iluuu1994, @muglug
Commits on Jun 7, 2022
-
Merge pull request vimeo#8064 from weirdan/null-is-cast-to-string-in-…
…array-offsets Coerce null to empty string in array keys
Commits on Jun 8, 2022
-
-
Merge pull request vimeo#8069 from AndrolGenhald/bugfix/8068
Fix generic object comparison to use template constraint as default.
-
Merge pull request vimeo#8051 from AndrolGenhald/bugfix/8048
Fix possibly empty array shape appearing non-empty (fixes vimeo#8048).
Commits on Jun 13, 2022
-
Merge pull request vimeo#8100 from SamMousa/fix-8099
fix vimeo#8099: ob_implicit_flush argument type changed to bool
Commits on Jun 14, 2022
Commits on Jun 15, 2022
-
allow decimal_separator and thousands_separator parameters to be null…
…able in PHP 7 and 8
-
-
-
-
-
-
-
-
-
Merge pull request vimeo#8056 from kkmuffme/phpdoc-false-positives-fo…
…r-partially-invalid fix false positives for partially invalid phpdoc
-
-
-
-
-
-
-
Merge pull request vimeo#8104 from SamMousa/automated-callmap-validation
tests: add test that validates the callmap in the current runtime
-
Merge pull request vimeo#8114 from drealecs/fix_number_format_callmap
number_format: allow third and forth parameters to be nullable
Commits on Jun 17, 2022
Commits on Jun 18, 2022
-
Merge pull request vimeo#8117 from BenMorel/reflectionclass_isenum
Add ReflectionClass & ReflectionObject::isEnum()
Commits on Jun 19, 2022
Commits on Jun 20, 2022
-
-
Merge pull request vimeo#8126 from othercorey/patch-1
Add missing ldap_unbind mapping for php 8.1
Commits on Jun 22, 2022
-
-
-
-
-
-
-
-
Merge pull request vimeo#8144 from SamMousa/feature-check-unused-call…
…map-ignore Callmap validation ignore list cleanup
Commits on Jun 23, 2022
-
-
-
Merge pull request vimeo#8147 from othercorey/fix-ldap
Fix signatures of ldap_* functions
Commits on Jun 24, 2022
-
-
-
-
Merge pull request vimeo#8153 from othercorey/fix-datefmt
Fix datefmt_* function signatures
-
Merge pull request vimeo#8152 from othercorey/fix-filter-var
Fix filter_var and filter_var_array signatures
-
Merge pull request vimeo#8151 from othercorey/fix-array-sigs
Fix array_* function signatures
-
-
-
Merge pull request vimeo#8148 from BenMorel/reflectionproperty
Add ReflectionProperty properties
Commits on Jun 25, 2022
-
-
-
-
-
Merge pull request vimeo#8165 from AndrolGenhald/stop-using-issuebuff…
…er-add-😡 Improve @psalm-internal and prevent usage of IssueBuffer::add().
Commits on Jun 26, 2022
-
Merge pull request vimeo#8164 from AndrolGenhald/encapsed-literal-str…
…ings Encapsed literal strings
-
Merge pull request vimeo#8174 from AndrolGenhald/fix-attribute-crash
Fix crash when redefining method with fewer params (fixes vimeo#8141).
Commits on Jun 27, 2022
-
Stop using deprecated string interpolation syntax in StatementsProvid…
…er.php This fixed the following PHP 8.2 deprecation: > Uncaught RuntimeException: PHP Error: Using ${var} in strings is deprecated, use {$var} instead in …/vimeo/psalm/src/Psalm/Internal/Provider/StatementsProvider.php:140 see: https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation
-
Commits on Jun 28, 2022
-
chore: Set permissions for GitHub actions
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much. - Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs [Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/) Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
-
split loop for better performance
* check isset for all elements first, as array_diff is much more expensive * Improves performance by 1%
-
only sort when necessary and faster hash
* sort is much more expensive than count, so we only sort if we have something to sort * could implement for ksort too, but advantage there is minimal since we almost always have more than 1 possibility * use same hash algorithm as in other places (= faster) * reduces runtime by 2-3%
-
assign keys to variable for better performance
improves performance by ~1-1.5%
-
improve cache hash performance
* do not concatenate with timestamp as this is slow, since $file_contents may be big * use file contents not file path for cache hash only to ensure it works if file_path not set but file_content is * improves performance by ~5%
-
check if file in cache already before adding
* reduces I/O by 30% * minimal performance improvement (<0.5%)
-
Merge pull request vimeo#8193 from kkmuffme/improve-psalm-performance
Various minor improvements to speed up by ~10%
Commits on Jun 29, 2022
-
Merge pull request vimeo#8201 from BenMorel/issue8167
Fix return type of ReflectionNamedType::getName()
-
Merge pull request vimeo#8189 from turrisxyz/Pinned-Dependencies-GitHub
chore: Set permissions for GitHub actions
Commits on Jun 30, 2022
-
chore: Included githubactions in the dependabot config
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure. Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
-
Merge pull request vimeo#8203 from turrisxyz/Dependabot-GitHub-Actions
chore: Included githubactions in the dependabot config
-
build(deps): bump mheap/github-action-required-labels from 1 to 2
Bumps [mheap/github-action-required-labels](https://github.com/mheap/github-action-required-labels) from 1 to 2. - [Release notes](https://github.com/mheap/github-action-required-labels/releases) - [Commits](mheap/github-action-required-labels@v1...v2) --- updated-dependencies: - dependency-name: mheap/github-action-required-labels dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
-
build(deps): bump fkirc/skip-duplicate-actions from 3.4.0 to 4.0.0
Bumps [fkirc/skip-duplicate-actions](https://github.com/fkirc/skip-duplicate-actions) from 3.4.0 to 4.0.0. - [Release notes](https://github.com/fkirc/skip-duplicate-actions/releases) - [Commits](fkirc/skip-duplicate-actions@v3.4.0...v4.0.0) --- updated-dependencies: - dependency-name: fkirc/skip-duplicate-actions dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
-
build(deps): bump actions/cache from 2 to 3
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@v2...v3) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
-
build(deps): bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
-
Merge pull request vimeo#8207 from vimeo/dependabot/github_actions/mh…
…eap/github-action-required-labels-2 build(deps): bump mheap/github-action-required-labels from 1 to 2
-
Merge pull request vimeo#8208 from vimeo/dependabot/github_actions/fk…
…irc/skip-duplicate-actions-4.0.0 build(deps): bump fkirc/skip-duplicate-actions from 3.4.0 to 4.0.0
-
Merge pull request vimeo#8209 from vimeo/dependabot/github_actions/ac…
…tions/cache-3 build(deps): bump actions/cache from 2 to 3
-
Merge pull request vimeo#8210 from vimeo/dependabot/github_actions/ac…
…tions/checkout-3 build(deps): bump actions/checkout from 2 to 3
Commits on Jul 5, 2022
Commits on Jul 6, 2022
-
Merge pull request vimeo#8166 from othercorey/func-return-signatures
Allow testing expected CallMap return types
-
Merge pull request vimeo#8217 from othercorey/fix-callmap-funcs
Fix several CallMap function signatures
-
-
Merge pull request vimeo#8220 from othercorey/fix-codestyle
Fix codestyle errors in InternalCallMapHandlerTest
-
Merge pull request vimeo#8219 from Tofandel/patch-2
fix: ltrim may return class-string vimeo#8218