php / php-langspec

PHP Language Specification
http://www.php.net
Other
2.3k stars 271 forks source link

Fixes #217: Incorrect rule for `trait-select-insteadof-clause` #218

Closed TysonAndre closed 6 years ago

TysonAndre commented 6 years ago

An example of the insteadof clause (satisfies the fixed rule):

use T1,T2,T3{T1::foo insteadof T2,T3;}

nikic commented 6 years ago

Merged as https://github.com/php/php-langspec/commit/bbbcec63be0487cad32b42b823d3da3f6057226d, thanks!