Permalink
Commits on Feb 19, 2016
  1. @unRob

    Added correct indentation for new array declaration

    As of PHP 5.4, arrays can be declared as `[ ]`, so following PEAR's
    style guide, the contents of such arrays could be indented.
    unRob committed with Joachim Noreiko Oct 17, 2012
  2. @jjeising

    Add highlighting for "trait"

    This adds support for traits, which are available since PHP 5.4
    
    Fixes #41.
    jjeising committed with Joachim Noreiko Feb 1, 2014
Commits on Feb 6, 2012
  1. @joshvarner
  2. @joshvarner

    Adding many missing built-in constants

    joshvarner committed with Josh Varner Dec 6, 2010
  3. @joshvarner

    Make Exception constructors completable

    joshvarner committed with Josh Varner Dec 6, 2010
  4. @joshvarner

    Match built-in classes more intelligently

    joshvarner committed with Josh Varner Dec 6, 2010
  5. @joshvarner

    Adding built-in interfaces to completions

    joshvarner committed with Josh Varner Dec 6, 2010
  6. @joshvarner

    Removing redundant lookahead from built-in function matches (should s…

    …lightly improve performance)
    joshvarner committed with Josh Varner Dec 6, 2010
  7. @joshvarner
  8. @joshvarner

    Moving phpdoc output directory to '.phpdoc'

    joshvarner committed with Josh Varner Dec 4, 2010
  9. @joshvarner

    Adding Spanish and Japanese translations

    joshvarner committed with Josh Varner Dec 4, 2010
  10. @joshvarner

    Only reload bundles for completions/syntax changes (which only happen…

    …s when generating en docs)
    joshvarner committed with Josh Varner Dec 4, 2010
  11. @joshvarner

    Adding English, German and French (note: untranslated items may fallb…

    …ack to English)
    joshvarner committed with Josh Varner Dec 4, 2010
  12. @joshvarner

    Updating function list and documentation generators to pull from the …

    …PHP documentation project
    joshvarner committed with Josh Varner Dec 4, 2010
Commits on Sep 22, 2011
  1. @infininight
Commits on Sep 20, 2011
  1. @infininight
Commits on Jul 31, 2011
  1. @sorbits

    Updated/rewrote indentation patterns.

    I used the sample below for testing. The comments are part of the test (and not meaningful).
    
    The only issue is brace-less case statements, here we do not indent. There is no way to handle this with the current indent system.
    
    	<?php
    
    	if(foo)
    	{
    		$values = array( // indent only after arrays
    			"raw",
    			"foo", // single line comment
    			"bar", /* no trailing comma on next */
    			"fud"
    		);
    		if(foo): // colon-terminated
    			foo();
    			bar();
    		else:
    			bar(42);
    			if(foo) /* indent just next */
    				bar();
    		endif;
    	}
    	else
    	{
    		if(foo) {
    			foo();
    			bar();
    		} else {
    			if(foo) {
    				foo();
    				bar();
    				switch(foo):
    					case 31:
    					{
    						bar();
    						fud();
    					}
    					break;
    
    					case 42:
    					bar();
    					break;
    				endswitch;
    			}
    			else {
    				for($i = 0; $i < 42; $i++):
    					bar();
    					baz();
    					for($i = 0; $i < 42; $i++)
    						bar();
    				endfor;
    			}
    		}
    	}
    	?>
    sorbits committed Jul 31, 2011
Commits on May 25, 2011
  1. @joshvarner
  2. @joshvarner
Commits on Feb 7, 2011
  1. @joshvarner

    Function Tooltip: Fix hang caused when running command on a line begi…

    …nning with an invalid function name (fixes #13)
    joshvarner committed Feb 7, 2011
Commits on Dec 3, 2010
  1. @joshvarner

    Fix improper selectors for contents of array indexes (e.g., `$foo[bar…

    …()]` bar should not be `variable.other.php`)
    joshvarner committed Dec 3, 2010
  2. @joshvarner
  3. @joshvarner
Commits on Nov 28, 2010
  1. @joshvarner
Commits on Nov 25, 2010
  1. @joshvarner
  2. @joshvarner
  3. @joshvarner
Commits on Nov 8, 2010
  1. @joshvarner

    Fix `new $foo()` matching as a closure invocation, add support for in…

    …voking variable variables (`$$bar()`)
    joshvarner committed Nov 8, 2010
  2. @joshvarner
Commits on Nov 6, 2010
  1. @joshvarner

    Match static method calls and property access before normal variables

    Fixes issue where `( $foo::bar())` is highlighted properly but `($foo::bar())` isn't
    joshvarner committed Nov 6, 2010
Commits on Nov 3, 2010
  1. @joshvarner

    Removing ternary operator match for now (too many false matches, need…

    …s to be more intelligent)
    joshvarner committed Nov 3, 2010