1
0
mirror of https://github.com/nikic/PHP-Parser.git synced 2025-04-19 21:41:56 +02:00

Commit Graph

  • c9d0b6c9f2
    Support WeakReferences in NodeConnectingVisitor () master Markus Staab 2025-02-26 20:51:23 +01:00
  • 14f9c9df7f Use more precise list-types for getter methods Markus Staab 2025-02-18 10:36:51 +01:00
  • fa02db3f30
    Remove useless foreach key and cast string, and fix invalid @var definition in test () Abdul Malik Ikhsan 2025-01-17 13:41:39 -08:00
  • d4fce83c2c Remove useless cast (string) and @var doc Abdul Malik Ikhsan 2025-01-17 02:48:25 +07:00
  • 7d3039c378 Update to phpstan 2.0 Nikita Popov 2024-12-30 12:14:29 +01:00
  • 447a020a1f Release PHP-Parser 5.4.0 v5.4.0 Nikita Popov 2024-12-30 12:07:19 +01:00
  • 45f70ed80a Simplify NodeTraverser->traverseNode() Markus Staab 2024-12-30 09:34:17 +01:00
  • 74a361814d Simplify NodeTraverser->traverseArray() Markus Staab 2024-12-30 09:26:37 +01:00
  • 6478c5ac53 Fix PropertyHook::getStmts() for set hook Nikita Popov 2024-12-27 16:55:20 +01:00
  • 8bb415902e Fix cs Nikita Popov 2024-12-27 16:33:38 +01:00
  • 48fd76e542 Make PropertyHook::getStmts() less incorrect Nikita Popov 2024-12-27 16:30:03 +01:00
  • d20a197ca7 Emit error - Multiple properties cannot share the same hooks Ondrej Mirtes 2024-12-11 11:34:55 +01:00
  • 62dee28027 Rename ParserAbstract method checkPropertyHookList to checkEmptyPropertyHookList Ondrej Mirtes 2024-12-11 11:32:42 +01:00
  • b396e9e0d6 Add missing newline after usage message Nikita Popov 2024-11-24 18:41:55 +01:00
  • f212bb7afb Add PropertyHook::isFinal() helper method with tests Ondrej Mirtes 2024-12-11 11:04:44 +01:00
  • f43324a074 Missing flags subNode description in PropertyHook constructor PHPDoc Ondrej Mirtes 2024-12-11 11:04:32 +01:00
  • 73b160f8c4 Add flags helper methods Property::isAbstract() and Property::isFinal() Ondrej Mirtes 2024-12-11 10:55:30 +01:00
  • 4f9dc8b0f5 Promoted properties with hooks do not need visibility modifier Ondrej Mirtes 2024-12-11 09:37:29 +01:00
  • 469377f4a8
    Fix classmap authoritative autoloading () Nathanael Esayeas 2024-12-06 15:00:17 -06:00
  • 74d3f7fc24 Removed reudndant token generation Jorg Sowa 2024-11-24 01:37:31 +01:00
  • 25828ea952 Updated target.php to new PHP-Parser version Jorg Sowa 2024-11-18 22:13:52 +01:00
  • 05ed79595b Removed unrecheable statement Jorg Sowa 2024-11-18 22:47:37 +01:00
  • 954f7a411f More precise toLowerString() return type Markus Staab 2024-11-05 17:21:40 +01:00
  • 8eea230464 Release PHP-Parser 5.3.1 v5.3.1 Nikita Popov 2024-10-08 20:51:32 +02:00
  • 9c7a3f8d8f Support declaring functions with name exit/die Nikita Popov 2024-10-08 20:46:33 +02:00
  • 26573ea64f Makefile works on windows Markus Staab 2024-10-07 09:35:46 +02:00
  • 715f4d25e2 Release PHP-Parser 4.19.4 v4.19.4 4.x Nikita Popov 2024-09-29 17:01:53 +02:00
  • 80e6f9b243 Remove accidentally committed Php8 parser Nikita Popov 2024-09-29 16:58:55 +02:00
  • 220f5b3661 Release PHP-Parser 4.19.3 v4.19.3 Nikita Popov 2024-09-29 16:01:32 +02:00
  • 3abf7425cd Release PHP-Parser 5.3.0 v5.3.0 Nikita Popov 2024-09-29 15:56:26 +02:00
  • ad38d47247 Avoid negative indendation in formatting-preserving printer Nikita Popov 2024-09-29 15:34:59 +02:00
  • 961f158f6d Avoid negative indendation in formatting-preserving printer Nikita Popov 2024-09-29 15:34:59 +02:00
  • e50c67b7a9 Add basic support for tab indentation Nikita Popov 2024-09-21 18:54:50 +02:00
  • 26a0197186 Use PHP 8.4 for the PHP 7.4 integration test Nikita Popov 2024-09-21 16:03:21 +02:00
  • 6de6ede1cb Include trailing semicolon in GroupUse Nikita Popov 2024-09-21 15:55:21 +02:00
  • aedfcc23cd Include trailing semicolon in GroupUse Nikita Popov 2024-09-21 15:55:21 +02:00
  • 20412455fc Avoid use of assertObjectHasAttribute() Nikita Popov 2024-09-21 15:49:26 +02:00
  • 103f95d560 Add PHP 8.4 to CI matrix Nikita Popov 2024-09-21 15:47:51 +02:00
  • 78f289c51f Use explicit nullability in test Nikita Popov 2024-09-21 15:46:45 +02:00
  • 0f585f0e95 Drop PHPUnit 6 Nikita Popov 2024-09-21 15:45:18 +02:00
  • 0ed4c8949a Release PHP-Parser 4.19.2 v4.19.2 Nikita Popov 2024-09-17 21:35:50 +02:00
  • 8d09ba87f4 Support PropertyHooks in NameResolver Nikita Popov 2024-09-17 21:33:51 +02:00
  • 23c79fbbfb Release PHP-Parser 5.2.0 v5.2.0 Nikita Popov 2024-09-15 18:40:33 +02:00
  • b9c8374498 Run PHP 8.4 integration tests Nikita Popov 2024-09-15 18:32:49 +02:00
  • d0826bd3e4 Add changelog entries Nikita Popov 2024-09-15 18:28:36 +02:00
  • 5ea6c2938b Exclude integration test Nikita Popov 2024-09-05 21:41:03 +02:00
  • b493c51cce [8.4] Add support for asymmetric visibility modifiers Nikita Popov 2024-08-31 20:58:06 +02:00
  • 54139ca49b Disable fail-fast Nikita Popov 2024-09-01 12:48:37 +02:00
  • cde9bab3bb Add support for PHP 8.4 exit function Nikita Popov 2024-09-01 12:35:12 +02:00
  • 018da15f3a Add token emulation support for asymmetric visibility modifiers Nikita Popov 2024-08-31 20:39:05 +02:00
  • ba14437165 chore: fix comment evenevent 2024-08-14 00:17:46 +08:00
  • 4a22c15169 Validate options in test_old Nikita Popov 2024-08-11 17:08:58 +02:00
  • 514f71024e Fix for new php-cs-fixer version Nikita Popov 2024-08-11 17:03:56 +02:00
  • 6a97061265 Normalize enum value to ClassConstFetch Ruud Kamphuis 2024-08-10 20:03:26 +02:00
  • 8a21ec3182 Normalize enum value to ClassConstFetch Ruud Kamphuis 2024-08-10 20:03:26 +02:00
  • e3f223f623 Fix expected json dump for old PHP versions Nikita Popov 2024-07-28 19:05:16 +02:00
  • 03caf4cc99 [8.4] Add support for property hooks Nikita Popov 2024-07-14 21:29:58 +02:00
  • b11fc12cce Use ParserFactory in integration test Nikita Popov 2024-07-28 18:11:46 +02:00
  • 3beee6ec77 Add Modifiers::toString() helper Nikita Popov 2024-07-28 17:08:58 +02:00
  • 58de479119 Remove error for abstract/final properties Nikita Popov 2024-07-21 18:59:18 +02:00
  • d3ae2ed679 Respect version mode line in pretty printer tests Nikita Popov 2024-07-21 18:23:53 +02:00
  • beba9c528f Remove support for alternative array syntax in PHP 8 parser Nikita Popov 2024-07-19 22:21:17 +02:00
  • fadccead52 Avoid compatibilty token list in parser Nikita Popov 2024-07-14 20:51:46 +02:00
  • d8235a2701 [8.4] Add support for __PROPERTY__ magic constant Nikita Popov 2024-07-14 18:49:54 +02:00
  • 5973c30a46 Update JSON_representation.markdown Amirreza Nasiri 2024-07-13 16:58:32 +03:30
  • b917ba7b9c Add PHP 8.4 to CI matrix Nikita Popov 2024-07-13 11:11:15 +02:00
  • caf540443a Declare PHP 8.4 as the newest supported version Nikita Popov 2024-07-13 11:10:19 +02:00
  • 683130c2ff Release PHP-Parser 5.1.0 v5.1.0 Nikita Popov 2024-07-01 22:03:41 +02:00
  • a894652a3d Fix ternary precedence printing Nikita Popov 2024-07-01 21:49:36 +02:00
  • 3ef0811e45 Fix a typo: Dereferencable to Dereferenceable Jing Xu(RainX) 2024-06-13 00:24:52 +08:00
  • db1963f9ea Fix a typo: Dereferenceing to Dereferencing Jing Xu(RainX) 2024-06-12 23:42:53 +08:00
  • daaadc3bae
    Adjust tests to be compatible with PHPUnit 10 () Jorg Adam Sowa 2024-06-03 08:24:19 +02:00
  • 7b0384cdbe [8.4] Add support for new deref without parens Nikita Popov 2024-05-25 16:02:08 +02:00
  • d57da64d7c
    Add missing void return types () Jorg Adam Sowa 2024-05-31 09:32:45 +02:00
  • d327cf2acf Updated actions/checkout to v4 Jorg Sowa 2024-05-21 00:04:51 +02:00
  • c5ee33df86
    Declare more precise phpdoc types () Markus Staab 2024-04-19 14:04:10 +02:00
  • 46be4560c4 Use PHP 8.3 for more CI jobs Nikita Popov 2024-03-17 11:24:36 +01:00
  • f2e037f8ea Make phpunit fail on deprecation warnings () Markus Staab 2024-03-17 10:03:35 +01:00
  • 4d36e9c16f
    Make phpunit fail on deprecation warnings () Markus Staab 2024-03-17 10:03:35 +01:00
  • b43758e9e9 Remove PHPUnit 7 and 8 Nikita Popov 2024-03-17 09:31:05 +01:00
  • 4e1b88d21c Release PHP-Parser 4.19.1 v4.19.1 Nikita Popov 2024-03-17 09:10:35 +01:00
  • d4d4e3e155
    Fix deprecated Optional parameter before required parameter on PrintableNewAnonClassNode () Abdul Malik Ikhsan 2024-03-17 15:05:57 +07:00
  • 32cdab9a03 Release PHP-Parser 4.19.0 v4.19.0 Nikita Popov 2024-03-16 15:49:31 +01:00
  • 09691fc86e Prevent off-by-one errors in line-number related methods Markus Staab 2024-03-13 11:49:39 +01:00
  • 139676794d Release PHP-Parser 5.0.2 v5.0.2 Nikita Popov 2024-03-05 21:51:40 +01:00
  • 70c96493b4 Fix indentation detection after opening tag Nikita Popov 2024-03-02 18:59:44 +01:00
  • c2403aa729 Update minimum PHP version in docs Nikita Popov 2024-03-02 18:21:59 +01:00
  • 051ad218f8
    Do not use implicitly nullable parameters () Sebastian Bergmann 2024-03-02 18:19:50 +01:00
  • ec02613432 Update PhpVersion::getNewestSupported() to PHP 8.3 Maarten Buis 2024-03-01 23:37:53 +01:00
  • af14fdb282 Avoid cyclic reference in parser Nikita Popov 2024-02-21 21:11:36 +01:00
  • 2218c2252c Release PHP-Parser 5.0.1 v5.0.1 Nikita Popov 2024-02-21 20:24:10 +01:00
  • ce019e9ad7 Add dev tool files to export-ignore sasezaki 2024-01-14 11:17:25 +09:00
  • ff095c3c65 Check for tokens with non-integer ID Nikita Popov 2024-01-10 20:34:09 +01:00
  • d619c8b4e6 Fix typo in upgrading guide Nikita Popov 2024-01-09 20:23:09 +01:00
  • eb036d5a09 Add instructions for adding new syntax support Nikita Popov 2024-01-07 18:54:10 +01:00
  • 4a21235f7e Update documentation links in README v5.0.0 Nikita Popov 2024-01-07 18:17:35 +01:00
  • fba1d621c0 Release PHP-Parser 5.0.0 Nikita Popov 2024-01-07 18:14:20 +01:00
  • 5cc5a67004 Upgrading guide tweaks Nikita Popov 2024-01-07 18:04:23 +01:00
  • f603e19336 Avoid PHPUnit deprecation warnings Nikita Popov 2024-01-07 17:46:24 +01:00
  • 1eeeb2d525 Fix parent class of PropertyItem and UseItem Ondrej Mirtes 2023-12-22 19:21:41 +01:00