Serveurs: . Linux . Putty . Apache . Nginx . Php . Mysql . Varnish . Vagrant puppet chef . Wamp
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
<?php | |
use TRex\Reflection\CallableReflection; | |
//examples | |
$closure = function(){}; | |
$reflect = new CallableReflection($closure); | |
var_dump($reflect->getType()===CallableReflection::CLOSURE_TYPE); | |
var_dump($reflect->getFunctionName()===''); | |
var_dump($reflect->getClosure()===$closure); | |
var_dump($reflect->getClassName()===''); |
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
[user] | |
name = Raphaël Lefebvre | |
email = [email protected] | |
[core] | |
excludesfile = c:/Users/Raphaël/.gitignore_global | |
autocrlf = input | |
[ui] | |
color = auto | |
[grep] | |
extendedRegexp = true |
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
filter: | |
excluded_paths: [vendor/*, tests/*] | |
tools: | |
external_code_coverage: true | |
checks: | |
php: | |
verify_property_names: true | |
verify_argument_usable_as_reference: true | |
verify_access_scope_valid: true | |
variable_existence: true |
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
#!/bin/sh | |
working_directory='./' | |
bootstrap_name='raphhh/php-lib-bootstrap' | |
bootstrap_version='@stable' | |
echo 'PHP Lib Bootstrap Generator' | |
echo ''; | |
echo 'Enter your project name (<vendor>/<name>):' |
#Chess coding challenge
Le challenge réside dans la conceptualisation des algorithmes au niveau de l'architecture d'un code. L'idée n'est donc pas d'atteindre une performence dans le code, mais une écriture lisible, réutilisable, et emprunte de bonnes pratiques type SOLID.
Le code doit être testé et pushé sur un repo git public.
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
# PHP web app | |
## Main resources | |
website | |
code base repository | |
documentation | |
bug tracking | |
ci servers | |
monitoring | |
analytics |
#PHP getter method
/**
* Getter of $${PARAM_NAME}
*
* @return ${TYPE_HINT}
*/
#if (${TYPE_HINT} == "bool" || ${TYPE_HINT} == "boolean")
public ${STATIC} function ${PARAM_NAME}()
OlderNewer