This is an automated email from the ASF dual-hosted git repository.

junichi11 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git

commit 0b5cc4423a2eba809a84bfea796990146934bf14
Merge: 56b833249d3 2490982b586
Author: Junichi Yamamoto <[email protected]>
AuthorDate: Sat Jan 11 15:31:44 2025 +0900

    Merge pull request #8139 from junichi11/php84-deprecated-attribute
    
    PHP 8.4 Support: #[\Deprecated] Attribute

 .../org/netbeans/modules/php/editor/CodeUtils.java |   5 +
 .../modules/php/editor/PredefinedSymbols.java      |   1 +
 .../modules/php/editor/csl/SemanticAnalysis.java   | 259 +++++---------------
 .../php/editor/elements/CaseElementImpl.java       |   2 +-
 .../php/editor/elements/FunctionElementImpl.java   |   2 +-
 .../php/editor/elements/MethodElementImpl.java     |   2 +-
 .../editor/elements/TypeConstantElementImpl.java   |   2 +-
 .../php/editor/model/impl/ModelBuilder.java        |   6 +-
 .../php/editor/model/impl/NamespaceScopeImpl.java  |   2 +-
 .../php/editor/model/impl/VariousUtils.java        |  61 +++++
 .../editor/model/nodes/CaseDeclarationInfo.java    |   4 +
 .../model/nodes/ClassConstantDeclarationInfo.java  |   4 +
 .../modules/php/editor/resources/layer.xml         |   1 +
 .../IncorrectDeprecatedAttributeHintError.java     | 269 +++++++++++++++++++++
 .../php84/deprecatedAttributeEnumCaseInGlobal.pass |  10 +
 .../deprecatedAttributeEnumCaseInNamespace.pass    |  11 +
 ...recatedAttributeEnumCaseInNamespaceWithUse.pass |  12 +
 .../deprecatedAttributeFunctionsInGlobal.pass      |  16 ++
 .../deprecatedAttributeFunctionsInNamespace01.pass |  19 ++
 .../deprecatedAttributeFunctionsInNamespace02.pass |  19 ++
 .../deprecatedAttributeFunctionsInNamespace03.pass |  34 +++
 ...atedAttributeFunctionsInNamespaceWithUse01.pass |  20 ++
 ...atedAttributeFunctionsInNamespaceWithUse02.pass |  20 ++
 ...atedAttributeFunctionsInNamespaceWithUse03.pass |  33 +++
 .../php84/deprecatedAttributeMethodsInGlobal.pass  |  83 +++++++
 .../deprecatedAttributeMethodsInNamespace.pass     |  84 +++++++
 ...precatedAttributeMethodsInNamespaceWithUse.pass |  85 +++++++
 .../deprecatedAttributeTypeConstantInGlobal.pass   |  48 ++++
 ...deprecatedAttributeTypeConstantInNamespace.pass |  49 ++++
 ...tedAttributeTypeConstantInNamespaceWithUse.pass |  50 ++++
 .../deprecatedAttributeInGlobal.php                | 109 +++++++++
 .../deprecatedAttributeInGlobal.php.semantic       | 109 +++++++++
 .../deprecatedAttributeInNamespace.php             | 110 +++++++++
 .../deprecatedAttributeInNamespace.php.semantic    | 110 +++++++++
 .../deprecatedAttributeInNamespaceWithUse.php      | 112 +++++++++
 ...recatedAttributeInNamespaceWithUse.php.semantic | 112 +++++++++
 .../deprecatedAttributeInGlobal.php                |  39 +++
 .../deprecatedAttributeInGlobal.php.semantic       |  39 +++
 .../deprecatedAttributeInNamespace.php             |  40 +++
 .../deprecatedAttributeInNamespace.php.semantic    |  40 +++
 .../deprecatedAttributeInNamespaceWithUse.php      |  42 ++++
 ...recatedAttributeInNamespaceWithUse.php.semantic |  42 ++++
 .../deprecatedAttributeInGlobal.php                |  89 +++++++
 .../deprecatedAttributeInGlobal.php.semantic       |  89 +++++++
 .../deprecatedAttributeInNamespace01.php           |  94 +++++++
 .../deprecatedAttributeInNamespace01.php.semantic  |  94 +++++++
 .../deprecatedAttributeInNamespace02.php           |  94 +++++++
 .../deprecatedAttributeInNamespace02.php.semantic  |  94 +++++++
 .../deprecatedAttributeInNamespace03.php           | 178 ++++++++++++++
 .../deprecatedAttributeInNamespace03.php.semantic  | 178 ++++++++++++++
 .../deprecatedAttributeInNamespaceWithUse01.php    |  96 ++++++++
 ...catedAttributeInNamespaceWithUse01.php.semantic |  96 ++++++++
 .../deprecatedAttributeInNamespaceWithUse02.php    |  96 ++++++++
 ...catedAttributeInNamespaceWithUse02.php.semantic |  96 ++++++++
 .../deprecatedAttributeInNamespaceWithUse03.php    | 167 +++++++++++++
 ...catedAttributeInNamespaceWithUse03.php.semantic | 167 +++++++++++++
 .../deprecatedAttributeInGlobal.php                | 177 ++++++++++++++
 .../deprecatedAttributeInGlobal.php.semantic       | 177 ++++++++++++++
 .../deprecatedAttributeInNamespace.php             | 179 ++++++++++++++
 .../deprecatedAttributeInNamespace.php.semantic    | 179 ++++++++++++++
 .../deprecatedAttributeInNamespaceWithUse.php      | 181 ++++++++++++++
 ...recatedAttributeInNamespaceWithUse.php.semantic | 181 ++++++++++++++
 .../php84/deprecatedAttributeEnumCaseInGlobal.php  |  39 +++
 .../deprecatedAttributeEnumCaseInNamespace.php     |  40 +++
 ...precatedAttributeEnumCaseInNamespaceWithUse.php |  42 ++++
 .../php84/deprecatedAttributeFunctionsInGlobal.php |  89 +++++++
 .../deprecatedAttributeFunctionsInNamespace01.php  |  94 +++++++
 .../deprecatedAttributeFunctionsInNamespace02.php  |  94 +++++++
 .../deprecatedAttributeFunctionsInNamespace03.php  | 178 ++++++++++++++
 ...catedAttributeFunctionsInNamespaceWithUse01.php |  96 ++++++++
 ...catedAttributeFunctionsInNamespaceWithUse02.php |  96 ++++++++
 ...catedAttributeFunctionsInNamespaceWithUse03.php | 167 +++++++++++++
 .../php84/deprecatedAttributeMethodsInGlobal.php   | 177 ++++++++++++++
 .../deprecatedAttributeMethodsInNamespace.php      | 179 ++++++++++++++
 ...eprecatedAttributeMethodsInNamespaceWithUse.php | 181 ++++++++++++++
 .../deprecatedAttributeTypeConstantInGlobal.php    | 109 +++++++++
 .../deprecatedAttributeTypeConstantInNamespace.php | 110 +++++++++
 ...atedAttributeTypeConstantInNamespaceWithUse.php | 112 +++++++++
 .../testFieldsInGlobal.php                         |  33 +++
 ...eldsInGlobal.php.testFieldsInGlobal_PHP83.hints |   1 +
 ...eldsInGlobal.php.testFieldsInGlobal_PHP84.hints |   6 +
 .../testFieldsInNamespace.php                      |  34 +++
 ...Namespace.php.testFieldsInNamespace_PHP83.hints |   1 +
 ...Namespace.php.testFieldsInNamespace_PHP84.hints |   3 +
 .../testFieldsInNamespaceWithUse.php               |  36 +++
 ...se.php.testFieldsInNamespaceWithUse_PHP83.hints |   1 +
 ...se.php.testFieldsInNamespaceWithUse_PHP84.hints |   6 +
 .../testTypesInGlobal.php                          |  88 +++++++
 ...TypesInGlobal.php.testTypesInGlobal_PHP83.hints |   1 +
 ...TypesInGlobal.php.testTypesInGlobal_PHP84.hints |  30 +++
 .../testTypesInNamespace.php                       |  89 +++++++
 ...nNamespace.php.testTypesInNamespace_PHP83.hints |   1 +
 ...nNamespace.php.testTypesInNamespace_PHP84.hints |  15 ++
 .../testTypesInNamespaceWithUse.php                |  91 +++++++
 ...Use.php.testTypesInNamespaceWithUse_PHP83.hints |   1 +
 ...Use.php.testTypesInNamespaceWithUse_PHP84.hints |  30 +++
 .../csl/DeprecatedConstSemanticAnalysisTest.java   |  12 +
 .../DeprecatedEnumCaseSemanticAnalysisTest.java    |  12 +
 .../DeprecatedFunctionsSemanticAnalysisTest.java   |  28 +++
 .../csl/DeprecatedMethodsSemanticAnalysisTest.java |  12 +
 .../modules/php/editor/csl/NavigatorTest.java      |  64 +++++
 .../IncorrectDeprecatedAttributeHintErrorTest.java | 101 ++++++++
 102 files changed, 7107 insertions(+), 211 deletions(-)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to