Skip to content

Instantly share code, notes, and snippets.

@mike-potter
mike-potter / settings.json
Created July 10, 2020 18:50
VSCode settings
{
"editor.fontSize": 14,
"editor.fontFamily": "Liberation Mono for Powerline, Menlo, Monaco, 'Courier New', monospace",
"editor.lineHeight": 17,
"php.suggest.basic": false,
"editor.tabCompletion": "on",
"php-docblocker.qualifyClassNames": true,
"phpcs.standard": "project/tests/.phpcs.xml",
"phpcs.autoConfigSearch": false,
"[php]": {
@mike-potter
mike-potter / config_actions.yml
Last active January 24, 2017 21:10
Config Actions Templates
# this contains any global variables that are available to any template
tokens:
field_name: myproject_image
replace:
"example_image": [field_name]
# Here are some sample actions
actions:
# *****
@mike-potter
mike-potter / test_trait.php
Created September 16, 2016 13:43
Testing Traits
<?php
class baseClass {
protected function protfunc() {
return "protBase";
}
public function pubfunc() {
return "pubBase";