Skip to content

Instantly share code, notes, and snippets.

View Neunerlei's full-sized avatar
🙏
Be nice!

Martin Neundorfer Neunerlei

🙏
Be nice!
View GitHub Profile
@Neunerlei
Neunerlei / php
Last active January 19, 2018 19:35
Tiny helper to convert fontastic stylesheets into less / sass variables
<?php
/**
* User: Martin Neundorfer
* Date: 19.01.2018
* Time: 13:28
* Vendor: LABOR.digital
*/
/**
* Converts a fontastic css file into a list of variables
@Neunerlei
Neunerlei / ArrayPathHelper.php
Created February 1, 2018 21:07
A rather simple helper to access php array's using paths. Supporting wildcards and branching.
<?php
/**
* User: Martin Neundorfer and Arnfired Weber
* Date: 01.02.2018
* Time: 10:54
* Vendor: LABOR.digital
*/
namespace Labor\X\Utilities\Arrays\Helpers;
@Neunerlei
Neunerlei / OrderedList.php
Created August 12, 2018 09:55
A list of values which can be sorted by dependencies
<?php
/**
* User: Martin Neundorfer
* Date: 11.03.2018
* Time: 22:43
* Vendor: LABOR.digital
*/
namespace Labor\Lists;
@Neunerlei
Neunerlei / php-cs-fixer-as-tool
Last active May 25, 2020 12:46
PHP-CS-Fixer in PHP-Storm
As an "External Tool"
----------------------
Settings -> Tools -> External Tools
Create a new Tool called "CS-Fixer"
Program: Select your Docker executable
Arguments: run --rm -v $FilePath$:/$FileName$ cytopia/php-cs-fixer fix --rules=@PSR2 /$FileName$
OK -> Done
As a "File Watcher"