History log of /PHP-Parser/test/PhpParser/CodeTestAbstract.php (Results 1 – 21 of 21)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# daaadc3b 03-Jun-2024 Jorg Adam Sowa

Adjust tests to be compatible with PHPUnit 10 (#998)

This avoids warnings on PHPUnit 10, without actually
switching to PHPUnit 10.


# 8be56afd 02-Sep-2022 Nikita Popov

Rename Expr\ArrayItem to ArrayItem

Array items are not expressions by themselves.


# a5033e38 29-Aug-2022 Nikita Popov

Format tests as well

The unnecessary parentheses for "new" are a bit annoying, but I
can live with it...


# 646b4907 24-Jul-2022 Nikita Popov

Don't force newline after doc string when targeting PHP >= 7.3


Revision tags: v4.3.0, v4.2.5, v4.2.4, v4.2.3, v4.2.2, v4.2.1
# b7e63615 19-Jan-2019 Lars Moelleken

updates via "rectorphp/rector" (#573)

- "global" -> remove unused "use" statements
- "phpunit" -> fix "@covers" comments
- "phpunit" -> replace "->will($this->returnValue()" with "->

updates via "rectorphp/rector" (#573)

- "global" -> remove unused "use" statements
- "phpunit" -> fix "@covers" comments
- "phpunit" -> replace "->will($this->returnValue()" with "->willReturn()"
- "UseTest.php" -> add missing namespace
- "composer.json" -> use "autoload-dev"
- remove -> "require_once" usage in the tests (use autoload-dev via composer.json)

-> most of the changes are done automatically by "https://github.com/rectorphp/rector"

show more ...


Revision tags: v4.2.0, v4.1.1, v4.1.0, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v3.1.5, v4.0.0beta1, v3.1.4, v4.0.0alpha3, v3.1.3, v4.0.0alpha2, v3.1.2
# b58157f0 02-Nov-2017 TomasVotruba

add strict_types to tests + fix explode type


Revision tags: v4.0.0alpha1, v3.1.1
# af128074 13-Aug-2017 TomasVotruba

[cs] apply same to tests


Revision tags: v3.1.0, v3.0.6
# 3c44785e 27-Apr-2017 Ekin

Bump phpunit version (#381)


Revision tags: v3.0.5, v3.0.4, v3.0.3
# b0c96291 19-Jan-2017 Nikita Popov

Add test porting infrastructure


# 4d2a4d02 23-Dec-2016 Nikita Popov

Add first shot at format preserving pretty printer


Revision tags: v3.0.2, v3.0.1, v3.0.0, v3.0.0beta2, v3.0.0beta1, v2.1.1, v3.0.0alpha1
# e45e31c2 20-Apr-2016 Nikita Popov

Fix new.test and code test runner

Using only the basename leads to collisions...


Revision tags: v2.1.0
# 4c7ad7e1 16-Apr-2016 Nikita Popov

Allow nop statements before namespace declaration


# 5fa84936 05-Apr-2016 Nikita Popov

Make canonicalization less aggressive


Revision tags: v2.0.1, v2.0.0, v2.0.0beta1, v1.4.1
# fe6755ff 25-Aug-2015 Nikita Popov

Use more helpful code test names


Revision tags: v2.0.0alpha1, v1.4.0
# d8312a09 20-Jun-2015 Nikita Popov

Split parsing tests into code tests and other stuff

And run the other stuff against Php5 and Php7 parsers.

Also move canonicalize() from CodeTestAbstract into a free-standing
fu

Split parsing tests into code tests and other stuff

And run the other stuff against Php5 and Php7 parsers.

Also move canonicalize() from CodeTestAbstract into a free-standing
function.

show more ...


# 602b9807 13-Jun-2015 Nikita Popov

Import some UVS tests


# f372a4c4 13-Jun-2015 Nikita Popov

Move modeline handling into CodeTestAbstract


# 5d1e3be7 02-May-2015 Nikita Popov

Anonymize some callbacks


Revision tags: v1.3.0, v1.2.2, v1.2.1
# dce19b07 23-Mar-2015 Nikita Popov

Strict type compliance

Were this library to be fully annotated with scalar types and
return types where possible and were strict types to be enabled
for all files, the test suite wou

Strict type compliance

Were this library to be fully annotated with scalar types and
return types where possible and were strict types to be enabled
for all files, the test suite would now pass.

show more ...


Revision tags: v1.2.0
# 3ad0d4b3 12-Mar-2015 Nikita Popov

Add support for return type declarations [PHP 7]

This adds an additional "returnType" subnode to Stmt\Function_,
Stmt\ClassMethod and Expr\Closure, as well as the corresponding
suppo

Add support for return type declarations [PHP 7]

This adds an additional "returnType" subnode to Stmt\Function_,
Stmt\ClassMethod and Expr\Closure, as well as the corresponding
support in the name resolver and pretty printer.

show more ...


Revision tags: v1.1.0, v1.0.2, v1.0.1, v1.0.0, v1.0.0beta2, v0.9.5, v1.0.0beta1
# f82862ec 06-Feb-2014 nikic

Port library to use namespaces, with BC for old names