File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed
PHPCompatibilitySymfonyPolyfillPHP84
PHPCompatibilitySymfonyPolyfillPHP85 Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 2424 <!--
2525 Detection for the Deprecated attribute is incomplete in PHPCompatibility 10.0.0-alpha1.
2626 Handling for this should be added once the detection implementation is known.
27- The following exclude is a temporary placeholder, which should be removed as soon as
28- possible as it will ignore too much.
2927 -->
30- <exclude name =" PHPCompatibility.Attributes.NewAttributes.PHPStormAttributeFound" />
3128
3229 <exclude name =" PHPCompatibility.Classes.NewClasses.reflectionconstantFound" />
3330 </rule >
Original file line number Diff line number Diff line change 1414 <!--
1515 Detection for the DelayedTargetValidation and NoDiscard attributes is incomplete in PHPCompatibility 10.0.0-alpha1.
1616 This section should be filled out once the detection implementation is known.
17- The following exclude is a temporary placeholder, which should be removed as soon as
18- possible as it will ignore too much.
1917 -->
20- <exclude name =" PHPCompatibility.Attributes.NewAttributes.Found" />
2118 </rule >
2219
2320 <!-- Prevent false positives being thrown when run over the code of polyfill-php84 itself. -->
Original file line number Diff line number Diff line change 2424
2525$ r = new ReflectionConstant (ClassName::CONSTANT_NAME );
2626
27+ /*
28+ // This test will not help at this time as we can't just ignore the use of the Deprecated attribute
29+ // with the current attribute handling in PHPCompatibility 10.0.
2730#[Deprecated]
2831function foo() {}
32+ */
Original file line number Diff line number Diff line change 88array_first ($ array );
99array_last ($ array );
1010
11+ /*
12+ // This test will not help at this time as we can't just ignore the use of the DelayedTargetValidation/NoDiscard attribute
13+ // with the current attribute handling in PHPCompatibility 10.0.
1114#[DelayedTargetValidation]
1215#[NoDiscard]
1316function dummy() {}
17+ */
You can’t perform that action at this time.
0 commit comments