Skip to content
This repository was archived by the owner on Feb 3, 2023. It is now read-only.

PHP support for aligner

License

Notifications You must be signed in to change notification settings

adrianlee44/atom-aligner-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aligner-php

Aligner add-on to support PHP.

Supported operators

=>:

array(
    key  => value,
    key2 => value2,
    key3 => value3,
)

=, +=, -=, etc:

$a    = 2;
$bcd  = 3;
$bcd += 4;

== and ===:

echo (
    $a    == 1 ? 'one' :
    $a    == 2 ? 'two' :
    $abc  == 3 ? 'three' :
    $a   === 3 ? 'three' :
    $a    == 4 ? 'four' : 'other');

,:

define( 'key',  'value' );
define( 'key2', 'value2' );
define( 'key3', 'value3' );

Installation

Aligner must be installed along with this package. For more information, please check out Aligner

Changelog

  • 2018-11-03   v1.3.0   Add support for , and additional assignment operators
  • 2017-09-10   v1.2.0   Add support for Blade
  • 2017-05-13   v1.1.1   Fix config titles.
  • 2017-05-13   v1.1.0   Add support for == and ===. Update documentation.
  • 2015-05-13   v1.0.0   Initial release

About

PHP support for aligner

Resources

License

Stars

Watchers

Forks

Packages

No packages published