Skip to content

Instantly share code, notes, and snippets.

@gwarnants
Last active November 9, 2018 11:59
Show Gist options
  • Save gwarnants/61d2f1b386e56b367e62b3d95b398b43 to your computer and use it in GitHub Desktop.
Save gwarnants/61d2f1b386e56b367e62b3d95b398b43 to your computer and use it in GitHub Desktop.
My AutoSpell settings for common PHP spelling mistakes
{
"default_triggers": [
":",
";",
".",
" ",
"(",
")",
"_",
"enter"
],
"custom_replacements": {
/* PHP */
"<?pph": "<?php",
"²²": "&&",
"=<": "=>",
":>": "=>",
"__contruct": "__construct",
"__cnstruct": "__construct",
"__construtc": "__construct",
"__cosntruct": "__construct",
"__consrtuct": "__construct",
"__constrict": "__construct",
"__constritc": "__construct",
"__costruct": "__construct",
"__construuc": "__construct",
"__construcu": "__construct",
"__cnostruct": "__construct",
"__constrcut": "__construct",
"__construict": "__construct",
"__cpnstruct": "__construct",
"__Get": "__get",
"__Isset": "__isset",
"__Set": "__set",
"ârent": "parent",
"parznt": "parent",
"parnet": "parent",
"abstrcat": "abstract",
"abstratc": "abstract",
"abstrqct": "abstract",
"abstrct": "abstract",
"absrtqact": "abstract",
"arra": "array",
"ârray": "array",
"aarray": "array",
"aray": "array",
"aarry": "array",
"arrat": "array",
"arrray": "array",
"arry": "array",
"arryu": "array",
"arrzy": "array",
"arrayu": "array",
"arary": "array",
"arayty": "array",
"arrary": "array",
"arraty": "array",
"araray": "array",
"arrart": "array",
"arrayt": "array",
"arrauy": "array",
"narray": "array",
"arrau": "array",
"zrray": "array",
"array-filter": "array_filter",
"array_fliter": "array_filter",
"array_interset": "array_intersect",
"array_key_exist": "array_key_exists",
"array_kzys": "array_keys",
"array_kets": "array_keys",
"array_keyts": "array_keys",
"array_leys": "array_keys",
"array_keyz": "array_keys",
"array_keyq": "array_keys",
"array_merlge": "array_merge",
"array_mege": "array_merge",
"array_mzrge": "array_merge",
"array_mergz": "array_merge",
"array_emerge": "array_merge",
"array-merge": "array_merge",
"array_pusj": "array_push",
"array_pusjh": "array_push",
"array_pushj": "array_push",
"array_puqh": "array_push",
"array_pysh": "array_push",
"array_pish": "array_push",
"array_unqie": "array_unique",
"array_unqiue": "array_unique",
"array_unhsift": "array_unshift",
"array_unshitf": "array_unshift",
"array_lvalues": "array_values",
"array_vlues": "array_values",
"array_vlaues": "array_values",
"array_valies": "array_values",
"bise64_decode": "base64_decode",
"base64_Decode": "base64_decode",
"base64_dcode": "base64_decode",
"base64_encodoe": "base64_encode",
"base-64encode": "base64_encode",
"base64-encode": "base64_encode",
"base64_Encode": "base64_encode",
"base_64encode": "base64_encode",
"base64-ncode": "base64_encode",
"base64-ecode": "base64_encode",
"base64_zncode": "base64_encode",
"brezak": "break",
"braek": "break",
"brezk": "break",
"breka": "break",
"brzak": "break",
"catcgh": "catch",
"cztch": "catch",
"cacht": "catch",
"cklass": "class",
"clasls": "class",
"classs": "class",
"continuie": "continue",
"contineu": "continue",
"cotinue": "continue",
"cnost": "const",
"cpint": "count",
"cuont": "count",
"counrt": "count",
"counkt": "count",
"cojnt": "count",
"cpi,nt": "count",
"cou,t": "count",
"cou,nt": "count",
"cou,ntp": "count",
"coint": "count",
"coutn": "count",
"cyrrent": "current",
"currebt": "current",
"curernt": "current",
"cureent": "current",
"cuurent": "current",
"defone": "define",
"diie": "die",
"diee": "die",
"ech": "echo",
"echi": "echo",
"eecho": "echo",
"eccho": "echo",
"echho": "echo",
"echoo": "echo",
"echp": "echo",
"ecjo": "echo",
"ecgo": "echo",
"pecho": "echo",
"zcho": "echo",
"elsle": "else",
"els": "else",
"zlse": "else",
"ekse": "else",
"elqe": "else",
"emse": "else",
"eelse": "else",
"ellse": "else",
"elsr": "else",
"elsse": "else",
"elsee": "else",
"emseif": "elseif",
"elsief": "elseif",
"elseig": "elseif",
"eleif": "elseif",
"elqeif": "elseif",
"éparam": "@param",
"éreturn": "@return",
"emty": "empty",
"epty": "empty",
"emptu": "empty",
"empy": "empty",
"empyy": "empty",
"emtpy": "empty",
"iempty": "empty",
"emplty": "empty",
"emprty": "empty",
"emply": "empty",
"empry": "empty",
"emptry": "empty",
"erro_reporting": "error_reporting",
"erorr_reporting": "error_reporting",
"error_reproting": "error_reporting",
"eexit": "exit",
"eit": "exit",
"exxit": "exit",
"exiit": "exit",
"exitt": "exit",
"eixit": "exit",
"eix": "exit",
"eixt": "exit",
"exir": "exit",
"exiy": "exit",
"exiot": "exit",
"exot": "exit",
"exort": "exit",
"ext": "exit",
"exut": "exit",
"exiyt": "exit",
"zxit": "exit",
"exirt": "exit",
"exity": "exit",
"exitr": "exit",
"exwit": "exit",
"exig": "exit",
"exuit": "exit",
"sexit": "exit",
"Exceptnio": "Exception",
"Excetpion": "Exception",
"Ecxeption": "Exception",
"Exceptino": "Exception",
"Exfeption": "Exception",
"Excpetion": "Exception",
"explide": "explode",
"explidie": "explode",
"exploed": "explode",
"exploeid": "explode",
"explàode": "explode",
"explàde": "explode",
"extnds": "extends",
"extensd": "extends",
"exteznds": "extends",
"exwtends": "extends",
" alse": "false",
"ffalse": "false",
"faalse": "false",
"fallse": "false",
"falsse": "false",
"falsee": "false",
"nfalse": "false",
"nfakse": "false",
"fakse": "false",
"fale": "false",
"flase": "false",
"falsz": "false",
"falsr": "false",
"fzlse": "false",
"famse": "false",
"fmase": "false",
"falsme": "false",
"fals": "false",
"famlse": "false",
"falmse": "false",
"galse": "false",
"file_get_cnitents": "file_get_contents",
"file_get_cintents": "file_get_contents",
"file_Get_contents": "file_get_contents",
"fiel_get_contents": "file_get_contents",
"file_get_content": "file_get_contents",
"file_get_cointents": "file_get_contents",
"file_get_conetnt": "file_get_contents",
"file_gt_contents": "file_get_contents",
"file-get_contents": "file_get_contents",
"file_get-contents": "file_get_contents",
"fole_get_contents": "file_get_contents",
"filen_get_contents": "file_get_contents",
"file_get_contzents": "file_get_contents",
"file_gzt_contents": "file_get_contents",
"file_get_contznts": "file_get_contents",
"file_put_cnitents": "file_put_contents",
"file_put_cintents": "file_put_contents",
"fiel_put_contents": "file_put_contents",
"file-put_contents": "file_put_contents",
"fiole_put_contents": "file_put_contents",
"file_put_contzents": "file_put_contents",
"FILE-APPEND": "FILE_APPEND",
"frist": "first",
"fiorst": "first",
"forst": "first",
"fllor": "floor",
"flooor": "floor",
"ufnction": "function",
"fction": "function",
"fnction": "function",
"funcion": "function",
"functio": "function",
"functionn": "function",
"funtion": "function",
"fcuntion": "function",
"fnuction": "function",
"fnuctoin": "function",
"fnuctino": "function",
"functino": "function",
"funtcion": "function",
"functuon": "function",
"fuction": "function",
"functin": "function",
"funnction": "function",
"functoin": "function",
"functon": "function",
"funcrtion": "function",
"funciton": "function",
"functipn": "function",
"functob": "function",
"functuion": "function",
"fynction": "function",
"gunction": "function",
"functiob": "function",
"functio,": "function",
"ffunction": "function",
" unction": "function",
"forach": "foreach",
"foraech": "foreach",
"forzach": "foreach",
"forzech": "foreach",
"foreah": "foreach",
"forech": "foreach",
"foreacjh": "foreach",
"forzach": "foreach",
"forrach": "foreach",
"forreach": "foreach",
"foreacj": "foreach",
"fpreach": "foreach",
"foztrch": "foreach",
"foreacg": "foreach",
"foreacgh": "foreach",
"goreach": "foreach",
"foeroach": "foreach",
"foeroacj": "foreach",
"foeroacj": "foreach",
"foreacj": "foreach",
"foreadj": "foreach",
"get_calass": "get_class",
"get_claas": "get_class",
"gett_class": "get_class",
"get_clzss": "get_class",
"globla": "global",
"glopbal": "global",
"ghlobal": "global",
"globola": "global",
"glboal": "global",
"glibal": "global",
"globlal": "global",
"glaobl": "global",
"globzl": "global",
"http_build-query": "http_build_query",
"htpt_build_quert": "http_build_query",
"iof": "if",
"is_arrayt": "is_array",
"is_Array": "is_array",
"is_arary": "is_array",
"is_arrary": "is_array",
"in_arrayt": "in_array",
"in_Array": "in_array",
"in_arary": "in_array",
"in_arrary": "in_array",
"in_arrzy": "in_array",
"inclide": "include",
"inclued": "include",
"inclujed": "include",
"ibclude": "include",
"isfile": "is_file",
"is_numeic": "is_numeric",
"is_objkect": "is_object",
"is_objec": "is_object",
"is_ibject": "is_object",
"is_boject": "is_object",
"is_stronig": "is_string",
"is_srting": "is_string",
"Imeplements": "implements",
"imeplements": "implements",
"Implemetns": "implements",
"implemetns": "implements",
"implments": "implements",
"implzments": "implements",
"imploàde": "implode",
"impode": "implode",
"implàde": "implode",
"implide": "implode",
"implàode": "implode",
"implpode": "implode",
"imploed": "implode",
"instanceif": "instanceof",
"instanceiof": "instanceof",
"instnanceiof": "instanceof",
"isntanceof": "instanceof",
"isntanczof": "instanceof",
"instanczof": "instanceof",
"inqtanceof": "instanceof",
"instznceof": "instanceof",
"insranceof": "instanceof",
"insyanceof": "instanceof",
"instanceof": "instanceof",
"iisset": "isset",
"issset": "isset",
"isseet": "isset",
"issett": "isset",
"isszet": "isset",
"isszt": "isset",
"issrt": "isset",
"isst": "isset",
"issety": "isset",
"issret": "isset",
"iset": "isset",
"osset": "isset",
"iseet": "isset",
"izzet": "isset",
"nnew": "new",
"neww": "new",
"nulll": "null",
"nuill": "null",
"nyll": "null",
"nuul": "null",
"prase_str": "parse_str",
"parse_srt": "parse_str",
"parsz_str": "parse_str",
"pars°eurl": "parse_url",
"pars_euirl": "parse_url",
"pars_eurl": "parse_url",
"parse_yrl": "parse_url",
"poars_eurl": "parse_url",
"poars_url": "parse_url",
"pars_eurm": "parse_url",
"parS_eurl": "parse_url",
"pars_url": "parse_url",
"pars-eUrl": "parse_url",
"pars_Eurl": "parse_url",
"parsz_url": "parse_url",
"pphinfo": "phpinfo",
"phpinfi": "phpinfo",
"pphifno": "phpinfo",
"phpifno": "phpinfo",
"phpingo": "phpinfo",
"phpnifo": "phpinfo",
"phpifo": "phpinfo",
"^print_r": "print_r",
"parnte": "parent",
"panert": "parent",
"pprit_r": "print_r",
"pprint_r": "print_r",
"prrint_r": "print_r",
"pribnt": "print_r",
"priint_r": "print_r",
"prinnt_r": "print_r",
"printt_r": "print_r",
"orint_r": "print_r",
"orint_R": "print_r",
"oribt_r": "print_r",
"oribt_R": "print_r",
"pint_r": "print_r",
"Print_r": "print_r",
"prinr": "print_r",
"prinR": "print_r",
"prin_r": "print_r",
"prin_R": "print_r",
"prin_t": "print_r",
"pritn_r": "print_r",
"print_R": "print_r",
"print_r_": "print_r",
"print_t": "print_r",
"print-r": "print_r",
"print-R": "print_r",
"print°r": "print_r",
"printr": "print_r",
"printR": "print_r",
"printr_": "print_r",
"printR_": "print_r",
"pribt_r": "print_r",
"pribt_R": "print_r",
"priunt_r": "print_r",
"priunt_R": "print_r",
"prinut_R": "print_r",
"priont_r": "print_r",
"printµ-r": "print_r",
"prit_r": "print_r",
"prnit_r": "print_r",
"prnit_R": "print_r",
"printùr": "print_r",
"printrt": "print_r",
"prijt_r": "print_r",
"prnt_r": "print_r",
"prnt_R": "print_r",
"prunt_r": "print_r",
"prontr": "print_r",
"porint_r": "print_r",
"pront_r": "print_r",
"privatz": "private",
"provate": "private",
"privatze": "private",
"priviate": "private",
"prioiate": "private",
"priovate": "private",
"pruvate": "private",
"privaite": "private",
"protecte": "protected",
"pprotected": "protected",
"protecte": "protected",
"proetcted": "protected",
"proected": "protected",
"protcted": "protected",
"proctecte": "protected",
"proctected": "protected",
"protzcted": "protected",
"protectzd": "protected",
"procotecte": "protected",
"protectde": "protected",
"protectd": "protected",
"prootected": "protected",
"pretected": "protected",
"proctcted": "protected",
"pritected": "protected",
"pre_mactch": "preg_match",
"pre_match": "preg_match",
"pref_match": "preg_match",
"preg_macht": "preg_match",
"preg_mactch": "preg_match",
"preg_mqtch": "preg_match",
"preg_amathc": "preg_match",
"preG_amtch": "preg_match",
"preg_matvh": "preg_match",
"preh_match": "preg_match",
"pregh_mathc": "preg_match",
"preg_amltch": "preg_match",
"preg_amtch": "preg_match",
"preg_replaplce": "preg_replace",
"preg_replacxe": "preg_replace",
"preg_relpace": "preg_replace",
"preg_relplace": "preg_replace",
"preg_areplce": "preg_replace",
"preg_replzce": "preg_replace",
"ppublic": "public",
"piblic": "public",
"pulbic": "public",
"publaic": "public",
"puvlic": "public",
"publilc": "public",
"pubmlic": "public",
"poublic": "public",
"pbulic": "public",
"poblic": "public",
"pyblic": "public",
"querty": "query",
"quert": "query",
"ra,nge": "range",
"reqiure": "require",
"requrie": "require",
"requried": "required",
"rreturn": "return",
"reeturn": "return",
"retur": "return",
"rerturn": "return",
"retunr": "return",
"retrun": "return",
"retyrn": "return",
"returrn": "return",
"retnun": "return",
"rturn": "return",
"reutn": "return",
"rteurn": "return",
"rterun": "return",
"retuirn": "return",
"reuturn": "return",
"returtn": "return",
"rzturn": "return",
"ret!rn": "return",
"retreun": "return",
"reutrn": "return",
"treturn": "return",
"reutren": "return",
"retrunr": "return",
"retyurn": "return",
"returne": "return",
"retun": "return",
"reyturtn": "return",
"SimpoeXmlElement": "SimpleXMLElement",
"SimpleXmlElement": "SimpleXMLElement",
"sefl": "self",
"nself": "self",
"serilazse": "serialize",
"serizliaze": "serialize",
"zerialiase": "serialize",
"srerialiaze": "serialize",
"serialiaze": "serialize",
"serizlize": "serialize",
"serializae": "serialize",
"serializea": "serialize",
"serializea": "serialize",
"sreialize": "serialize",
"seerliaze": "serialize",
"sqerialize": "serialize",
"sorintf": "sprintf",
"spinrtf": "sprintf",
"spintf": "sprintf",
"spirntf": "sprintf",
"sprnitf": "sprintf",
"sprontf": "sprintf",
"sprintg": "sprintf",
"strotome": "strtotime",
"strtotome": "strtotime",
"sswitch": "switch",
"swwitch": "switch",
"swiitch": "switch",
"swittch": "switch",
"swicht": "switch",
"swithc": "switch",
"swtich": "switch",
"swotch": "switch",
"swothc": "switch",
"sub_str": "substr",
"subsrr": "substr",
"sybstr": "substr",
"staitic": "static",
"stacit": "static",
"stitic": "static",
"stitac": "static",
"statoc": "static",
"statuc": "static",
"statici": "static",
"statiic": "static",
"stztic": "static",
"srting": "string",
"strng": "string",
"strung": "string",
"stribg": "string",
"stri,g": "string",
"sttrlen": "strlen",
"strelen": "strlen",
"str_relpace": "str_replace",
"stripis": "stripos",
"strpis": "strpos",
"strtolwoer": "strtolower",
"strtolowzr": "strtolower",
"strtouper": "strtoupper",
"strtouppert": "strtoupper",
"strtopper": "strtoupper",
"strtoper": "strtoupper",
"strtupper": "strtoupper",
"tthis": "this",
"thhis": "this",
"thiis": "this",
"thiss": "this",
"tjihs": "this",
"thos": "this",
"thtis": "this",
"thios": "this",
"ntrue": "true",
"ntruie": "true",
"trie": "true",
"triz": "true",
"triue": "true",
"trize": "true",
"truz": "true",
"truie": "true",
"truz": "true",
"truez": "true",
"tryue": "true",
"trye": "true",
"trrue": "true",
"ttrue": "true",
"thorow": "throw",
"threow": "throw",
"thriw": "throw",
"thorw": "throw",
"theow": "throw",
"thorw": "throw",
"thrownew": "throw new",
"rty": "try",
"ucfiorst": "ucfirst",
"ucfirtst": "ucfirst",
"usnet": "unset",
"unuset": "unset",
"unszt": "unset",
"inserialize": "unserialize",
"usneruialize": "unserialize",
"ubserialize": "unserialize",
"usnerialize": "unserialize",
"ynserialize": "unserialize",
"vvar_dump": "var_dump",
"vaar_dump": "var_dump",
"varr_dump": "var_dump",
"var_ddump": "var_dump",
"var_duump": "var_dump",
"var_dummp": "var_dump",
"var_dumpp": "var_dump",
"var_dimp": "var_dump",
"var_duimp": "var_dump",
"var_dmp": "var_dump",
"var_ump": "var_dump",
"var_dmup": "var_dump",
"var_sump": "var_dump",
"var_dmpu": "var_dump",
"va_dump": "var_dump",
"va-dump": "var_dump",
"var-dump": "var_dump",
"var_fump": "var_dump",
"vart_dump": "var_dump",
"var_d^p": "var_dump",
"vardump": "var_dump",
"varDump": "var_dump",
"var_Dump": "var_dump",
"vra_dump": "var_dump",
"war_dump": "var_dump",
"var_d=ip": "var_dump",
"vr_dump": "var_dump",
"var_dupp": "var_dump",
"var_dup§": "var_dump",
"vzr_dump": "var_dump",
"whilz": "while",
"whlile": "while",
"whuile": "while",
"whiel": "while",
"wihle": "while",
"whlie": "while",
"whule": "while",
"wghile": "while",
/* Drupal */
"modyle": "module",
"moule": "module",
"knit": "kint",
"variable_gel": "variable_get",
"vzriable_get": "variable_get",
"wachtod": "watchdog",
"watchdoàg": "watchdog",
"wachtog": "watchdog",
"wachtdog": "watchdog",
"wachtidg": "watchdog",
"watchdig": "watchdog",
"warchdog": "watchdog",
"watchdif": "watchdog",
"watchdiog": "watchdog",
"watchoidg": "watchdog",
"watchohdg": "watchdog",
"watchodog": "watchdog",
"watchdof": "watchdog",
"watchodg": "watchdog",
"wztchdog": "watchdog",
"wwatchdog": "watchdog",
/* Javascript */
"atrributes": "attributes",
"cconsole": "console",
"ccoinsole": "console",
"consolke": "console",
"cposole": "console",
"cosole": "console",
"conoels": "console",
"consile": "console",
"consoel": "console",
"conqole": "console",
"consooe": "console",
"consqole": "console",
"consoloe": "console",
"consold": "console",
"coinsole": "console",
"getCalue": "getValue",
"juqery": "jquery",
"jquzry": "jquery",
"jquert": "jquery",
"jquerty": "jquery",
"jquerty": "jquery",
"MAth": "Math",
"oobject": "object",
"obbject": "object",
"objject": "object",
"objeect": "object",
"objecct": "object",
"objectt": "object",
"obkect": "object",
"objcet": "object",
"objetc": "object",
"obecjt": "object",
"objzct": "object",
"ojbect": "object",
"typeod": "typeof",
"typedof": "typeof",
"typdeof": "typeof",
"typeofd": "typeof",
"unedfined": "undefined",
"unedefined": "undefined",
/* CSS */
"bakground": "background",
"backgorun": "background",
"bacjground": "background",
"backgorund": "background",
"biody": "body",
"bidy": "body",
"soldi": "solid",
/* General */
"baise64": "base64",
"parnents": "parents",
"resylt": "result",
"traget": "target",
"tuitle": "title",
"timestmap": "timestamp",
"tomestamp": "timestamp",
"udapte": "update",
"vakye": "value",
"vlalyues": "values",
"vlauzes": "values",
"vlaues": "values",
"vamlues": "values",
"valuez": "values",
"valyes": "values",
"vzlues": "values",
"varaibles": "variables",
"vartiable": "variable",
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment