Skip to content

Instantly share code, notes, and snippets.

@andorx
andorx / .jscsrc
Last active August 29, 2015 14:16
{
"preset": "google",
"fileExtensions": [ ".js", "jscs" ],
"requireParenthesesAroundIIFE": true,
"requireCamelCaseOrUpperCaseIdentifiers": "ignoreProperties",
"maximumLineLength": 120,
"validateLineBreaks": "LF",
"validateIndentation": 2,
{
"globals": {
"assert" : true,
"define" : true,
"require" : true,
"module" : true,
"exports" : true,
"$" : true,
"jQuery" : true,
"_" : true,
<?php
class Curl {
/**
* cURL request method
*
* @var string
*/
protected $_method = 'GET';
<?php
/**
* @author Simon Holywell <treffynnon@php.net>
*/
class LazyLoadingProxy {
/**
* Where the instance of the actual class is stored.
* @var $instance object
*/
private $instance = null;