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
{ | |
"name": "adrian/installer-test", | |
"license": "proprietary", | |
"type": "project", | |
"autoload": { | |
"psr-0": { | |
"": "src/", | |
"SymfonyStandard": "app/" | |
} | |
}, |
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 | |
CMD="make php-cs" | |
# Check if we actually have commits to push | |
commits=`git log @{u}..` | |
if [ -z "$commits" ]; then | |
exit 0 | |
fi |
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 | |
$less = file_get_contents(__DIR__ . '/app.less'); | |
preg_match_all('/#([a-fA-F0-9]){3}(([a-fA-F0-9]){3})?\b/', $less, $matches); | |
$colors = array_values($matches[0]); | |
$colors = array_map(function($color){ return strtolower($color); }, $colors); | |
$colors = array_unique($colors); | |
sort($colors); |
NewerOlder