Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Grsp0007 php #114

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

Grsp0007 php #114

wants to merge 7 commits into from

Conversation

mouradmamassi
Copy link
Collaborator

To review GRSP0007 - [PHP] - Préférer l'utilisation de foreach

import java.util.*;

@Rule(
key = "GRSP0008",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Il semblerait que cette PR inclut également votre précédente PR #110


public void checkIssue(ForStatementTree forStatementTree) {
if(forStatementTree.forToken() != null){
repport(forStatementTree);
Copy link
Collaborator

@KuSh KuSh Jun 3, 2022

Choose a reason for hiding this comment

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

Il y a une typo dans le fichier d'origine mais il n'est pas nécessaire de la réitérer ;)

Suggested change
repport(forStatementTree);
report(forStatementTree);

@sonarcloud
Copy link

sonarcloud bot commented Jun 3, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 8 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@dedece35 dedece35 added the rule this is a problem on a rule label Nov 8, 2022
@dedece35
Copy link
Collaborator

dedece35 commented Nov 27, 2022

Bonjour @mouradmamassi ,

merci de prendre en comptes les retours de @KuSh ainsi que de corriger les pbs cités ci-dessus, SVP.

merci à vous.
David

(for information, we are migrating this repo to a new one : https://github.com/green-code-initiative/ecocode-mobile, I will report your modifications manually)

@dedece35
Copy link
Collaborator

dedece35 commented Dec 5, 2022

Hi @mouradmamassi ,
we are migrating this repo to a new one : please see green-code-initiative/ecoCode#5
that's why I change this PR to "draft".

@dedece35 dedece35 marked this pull request as draft December 5, 2022 13:34
@dedece35 dedece35 added the migrated_to_new_standrad_repo if is migrated to new standard repo label Dec 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
check:php migrated_to_new_standrad_repo if is migrated to new standard repo rule this is a problem on a rule
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants