Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[PropertyInfo] Add support for promoted properties in PhpStanExtractor#46056

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nicolas-grekas merged 1 commit intosymfony:6.1fromsimPod:promoted
Apr 19, 2022

Conversation

@simPod
Copy link
Contributor

QA
Bug fix?no
New feature?yes
Deprecations?no
LicenseMIT
Doc PRsymfony/symfony-docs#... TBA

Adds support for promoted properties in PhpStanExtractor

*/
publicfunctiontestExtractPhp80Type($property,array$type =null)
{
$this->assertEquals($type,$this->extractor->getTypes('Symfony\Component\PropertyInfo\Tests\Fixtures\Php80Dummy',$property, []));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
$this->assertEquals($type,$this->extractor->getTypes('Symfony\Component\PropertyInfo\Tests\Fixtures\Php80Dummy',$property, []));
$this->assertEquals($type,$this->extractor->getTypes(Php80Dummy::class,$property, []));

@nicolas-grekas
Copy link
Member

Thank you@simPod.

@nicolas-grekasnicolas-grekas merged commit8d29cc7 intosymfony:6.1Apr 19, 2022
@simPodsimPod deleted the promoted branchApril 19, 2022 09:13
@fabpotfabpot mentioned this pull requestApr 27, 2022
nicolas-grekas added a commit that referenced this pull requestMay 17, 2022
…ies in PhpStanExtractor (BoShurik)This PR was merged into the 6.1 branch.Discussion----------[PropertyInfo] Ignore empty doc-block for promoted properties in PhpStanExtractor| Q             | A| ------------- | ---| Branch?       | 6.1| Bug fix?      | yes| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->| Tickets       | - <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->| License       | MIT| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->Fix processing empty doc-block for promoted properties (introduced in#46056)<!--Replace this notice by a short README for your feature/bugfix.This will help reviewers and should be a good start for the documentation.Additionally (seehttps://symfony.com/releases): - Always add tests and ensure they pass. - Bug fixes must be submitted against the lowest maintained branch where they apply   (lowest branches are regularly merged to upper ones so they get the fixes too.) - Features and deprecations must be submitted against the latest branch. - Changelog entry should followhttps://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry - Never break backward compatibility (seehttps://symfony.com/bc).-->Commits-------410d7f2 [PropertyInfo] Ignore empty doc-block for promoted properties in PhpStanExtractor
ostrolucky added a commit to ostrolucky/symfony that referenced this pull requestJun 1, 2022
…d propertiesThis demonstrates thatsymfony#46056 causes a regression and incorrectly detects types in case there are multiple phpdoc covered promoted properties.
ostrolucky added a commit to ostrolucky/symfony that referenced this pull requestJun 1, 2022
…d propertiesThis demonstrates thatsymfony#46056 causes a regression and incorrectly detects types in case there are multiple phpdoc covered promoted properties.
simPod pushed a commit to simPod/symfony that referenced this pull requestJun 7, 2022
…d propertiesThis demonstrates thatsymfony#46056 causes a regression and incorrectly detects types in case there are multiple phpdoc covered promoted properties.
simPod pushed a commit to simPod/symfony that referenced this pull requestJun 10, 2022
…d propertiesThis demonstrates thatsymfony#46056 causes a regression and incorrectly detects types in case there are multiple phpdoc covered promoted properties.
symfony-splitter pushed a commit to symfony/property-info that referenced this pull requestJun 10, 2022
…d propertiesThis demonstrates thatsymfony/symfony#46056 causes a regression and incorrectly detects types in case there are multiple phpdoc covered promoted properties.
nathansalter pushed a commit to nathansalter/symfony that referenced this pull requestJun 11, 2022
…d propertiesThis demonstrates thatsymfony#46056 causes a regression and incorrectly detects types in case there are multiple phpdoc covered promoted properties.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@dunglasdunglasdunglas approved these changes

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

+1 more reviewer

@EmilMasseyEmilMasseyEmilMassey approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

6.1

Development

Successfully merging this pull request may close these issues.

5 participants

@simPod@nicolas-grekas@dunglas@EmilMassey@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp