This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var tabInventaire = ["dague","arc", "bombe","epee","fleche","epee","arc"]; | |
trace(tabInventaire); | |
// Le joueur vient de faire une chute vertigineuse. | |
// Dans sa chute il casse involotairement ses epées et ses arcs. | |
// Trouvez l'algo permettant de retirer de l'inventaire tous les épées et les arcs | |
// Sachant que l'inventaire ne peut pas contenir d'objet "null" ou vide. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var foo:Function = function(remove:String) { | |
var remove:String = remove; | |
return function (item:*, index:int, array:Array):Boolean { | |
return (item != remove); | |
}; | |
} | |
var trueMan = foo('water'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var tabInventaire = new Array ("dague","epee","arc","bouclier", "potion"); | |
var tempInventaire = new Array (); | |
for (var i = 0; i < tabInventaire.length; i++) | |
{ | |
if (tabInventaire[i] != "epee" || tabInventaire(i) != "arc") | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php | |
<?php | |
/* | |
* Coding Standards (a.k.a. CS) | |
* | |
* This script is designed to clean up the source files and thus follow coding | |
* conventions. | |
* | |
* @see http://symfony.com/doc/2.0/contributing/code/standards.html | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<target name="lint"> | |
<apply executable="php" failonerror="true"> | |
<arg value="-l" /> | |
<fileset dir="${basedir}"> | |
<include name="**/*.php" /> | |
<exclude name="**/vendor*" /> | |
<modified /> | |
</fileset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] Parsing file: /var/lib/jenkins/jobs/PlemiPayboxBundle/workspace/target/../build/logs/junit.xml | |
[DEBUG] Tests suites: org.sonar.plugins.php.phpunit.xml.TestSuites@427379b5 | |
[INFO] Parsing file: /var/lib/jenkins/jobs/PlemiPayboxBundle/workspace/target/../build/logs/clover.xml | |
[DEBUG] JDBC Driver [Proxy: com.mysql.jdbc.Driver@74455aa8] deregistered | |
[DEBUG] To prevent a memory leak, the JDBC Driver [com.mysql.jdbc.Driver] has been forcibly deregistered | |
[DEBUG] Delete temporary directories | |
[DEBUG] Delete temporary directory: /tmp/sonar-batch67919297510064356621477159475036280 | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD FAILURE | |
[INFO] ------------------------------------------------------------------------ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 9fc9fcb2e185c556a8012cbf4c6566a5a4b51256 | |
Author: Ludovic Fleury <ludo.fleury@email.com> | |
Date: Wed Dec 7 00:48:24 2011 +0100 | |
(commit F) Fixes checkstyle in MyClass. | |
commit 39c3e972ea380a33c068d6d18e6323677c104f32 | |
Author: Ludovic Fleury <ludo.fleury@email.com> | |
Date: Wed Dec 7 00:48:04 2011 +0100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pick cb2df1f (commit D) Adds MyClass. | |
pick 39c3e97 (commit E) Refactor MyClass with private properties instead of protected. | |
pick 9fc9fcb (commit F) Fixes checkstyle in MyClass. | |
# Rebase e788fc..9fc9fcb onto e788fc | |
# | |
# Commands: | |
# p, pick = use commit | |
# r, reword = use commit, but edit the commit message | |
# e, edit = use commit, but stop for amending |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pick cb2df1f (commit D) Adds MyClass. | |
fixup 39c3e97 (commit E) Refactor MyClass with private properties instead of protected. | |
fixup 9fc9fcb (commit F) Fixes checkstyle in MyClass. | |
# Rebase e788fc..9fc9fcb onto e788fc | |
# | |
# Commands: | |
# p, pick = use commit | |
# r, reword = use commit, but edit the commit message | |
# e, edit = use commit, but stop for amending |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 060e4be7888160ff84680772d7aba6c622eaac51 | |
Author: Ludovic Fleury <ludo@email.com> | |
Date: Wed Dec 7 00:55:14 2011 +0100 | |
(commit D) Adds MyClass. | |
commit e788fc5f90efe185763ac04578f950e6cb6967b0 | |
Author: Ludovic Fleury <ludo@email.com> | |
Date: Wed Dec 7 00:35:14 2011 +0100 |