[jira] [Commented] (NETBEANS-6180) Improve PSR-4 Namespace rules

2022-06-01 Thread Junichi Yamamoto (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-6180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17545283#comment-17545283
 ] 

Junichi Yamamoto commented on NETBEANS-6180:


Thanks.

> Improve PSR-4 Namespace rules
> -
>
> Key: NETBEANS-6180
> URL: https://issues.apache.org/jira/browse/NETBEANS-6180
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.5
>Reporter: Alessio Ferri
>Priority: Minor
> Attachments: test.zip
>
>
> PSR-4 require namespace corrispondence to the directory structure only for 
> the contiguos subnamespaces after the namespace prefix. There should be a 
> method to set/infer the namespace prefix of the project.
> https://www.php-fig.org/psr/psr-4 2.3.2. See section 3 for examples



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Commented] (NETBEANS-6180) Improve PSR-4 Namespace rules

2022-06-01 Thread Alessio Ferri (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-6180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17544795#comment-17544795
 ] 

Alessio Ferri commented on NETBEANS-6180:
-

Fixed

> Improve PSR-4 Namespace rules
> -
>
> Key: NETBEANS-6180
> URL: https://issues.apache.org/jira/browse/NETBEANS-6180
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.5
>Reporter: Alessio Ferri
>Priority: Minor
> Attachments: test.zip
>
>
> PSR-4 require namespace corrispondence to the directory structure only for 
> the contiguos subnamespaces after the namespace prefix. There should be a 
> method to set/infer the namespace prefix of the project.
> https://www.php-fig.org/psr/psr-4 2.3.2. See section 3 for examples



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Commented] (NETBEANS-6180) Improve PSR-4 Namespace rules

2022-05-31 Thread Junichi Yamamoto (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-6180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17544650#comment-17544650
 ] 

Junichi Yamamoto commented on NETBEANS-6180:


It seems that the attached project is empty...

> Improve PSR-4 Namespace rules
> -
>
> Key: NETBEANS-6180
> URL: https://issues.apache.org/jira/browse/NETBEANS-6180
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.5
>Reporter: Alessio Ferri
>Priority: Minor
> Attachments: test.zip
>
>
> PSR-4 require namespace corrispondence to the directory structure only for 
> the contiguos subnamespaces after the namespace prefix. There should be a 
> method to set/infer the namespace prefix of the project.
> https://www.php-fig.org/psr/psr-4 2.3.2. See section 3 for examples



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Commented] (NETBEANS-6180) Improve PSR-4 Namespace rules

2021-11-18 Thread Alessio Ferri (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-6180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17446027#comment-17446027
 ] 

Alessio Ferri commented on NETBEANS-6180:
-

I attached a test project, you can see the complaint in the warning sign in the 
namespace

> Improve PSR-4 Namespace rules
> -
>
> Key: NETBEANS-6180
> URL: https://issues.apache.org/jira/browse/NETBEANS-6180
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.5
>Reporter: Alessio Ferri
>Priority: Minor
> Attachments: test.zip
>
>
> PSR-4 require namespace corrispondence to the directory structure only for 
> the contiguos subnamespaces after the namespace prefix. There should be a 
> method to set/infer the namespace prefix of the project.
> https://www.php-fig.org/psr/psr-4 2.3.2. See section 3 for examples



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Commented] (NETBEANS-6180) Improve PSR-4 Namespace rules

2021-11-07 Thread Junichi Yamamoto (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-6180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17440095#comment-17440095
 ] 

Junichi Yamamoto commented on NETBEANS-6180:


Please attach your example project.

> Improve PSR-4 Namespace rules
> -
>
> Key: NETBEANS-6180
> URL: https://issues.apache.org/jira/browse/NETBEANS-6180
> Project: NetBeans
>  Issue Type: Improvement
>  Components: apisupport - Project, cnd - Editor
>Affects Versions: 12.5
>Reporter: Alessio Ferri
>Priority: Minor
>
> PSR-4 require namespace corrispondence to the directory structure only for 
> the contiguos subnamespaces after the namespace prefix. There should be a 
> method to set/infer the namespace prefix of the project.
> https://www.php-fig.org/psr/psr-4 2.3.2. See section 3 for examples



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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