Commit graph

38430 commits

Author SHA1 Message Date
rxu
ccbdfb49c7
[ticket/15214] Adjust core event name and docblock
PHPBB3-15214
2025-05-21 11:25:35 +07:00
rxu
43cf7b73bd
[ticket/15214] Adjust event node logic
PHPBB3-15214
2025-05-21 10:47:27 +07:00
rxu
3a5247d01b
[ticket/15214] Get event dispatcher from environment rather than as dependency
Also this will allow to significantly reduce unrelated tests changes.

PHPBB3-15214
2025-05-20 17:36:15 +07:00
rxu
5e0dc9ef2e
[ticket/15214] Fix rebasing and some other issues
PHPBB3-15214
2025-05-20 16:24:38 +07:00
rxu
8338ff9e56
[ticket/15214] Fix Windows tests
PHPBB3-15214
2025-05-20 16:24:37 +07:00
toxyy
84e7e34a66
[ticket/15214] Fix tests again
Adding per rxu's recommendation

PHPBB3-15214
2025-05-20 16:24:37 +07:00
rxu
18bae795f0
[ticket/15214] Fix Windows tests
Purge Twig compiled cache in Windows.
Set appropriate folder access control options to do that.

PHPBB3-15214
2025-05-20 16:24:36 +07:00
rxu
09fd86ffb0
[ticket/15214] Fix test foo/foo extension listener
PHPBB3-15214
2025-05-20 16:24:34 +07:00
rxu
4a00212f2d
[ticket/15214] Optimize event node code and add template event order tests
PHPBB3-15214
2025-05-20 16:24:34 +07:00
toxyy
cb47d78d26
[ticket/15214] Update block, restart tests
Make docblock look a bit cleaner and restart the tests

PHPBB3-15214
2025-05-20 16:24:33 +07:00
toxyy
0eb98d51e2
[ticket/15214] Provide usage example within event docblock
Adds similar usage examples like the event core.permissions has

PHPBB3-15214
2025-05-20 16:24:32 +07:00
toxyy
82a5e20f3e
[ticket/15214] Replace arrow functions with anonymous functions
Arrow functions aren't added until PHP 7.4, so we can't use them yet.
Anonymous functions have been added since PHP 5.3

PHPBB3-15214
2025-05-20 16:24:32 +07:00
toxyy
71fe9d60c4
[ticket/15214] Add fixes for various other tests
Add new dispatch parameter to the template\twig\extension calls

PHPBB3-15214
2025-05-20 16:24:31 +07:00
toxyy
59b482a222
[ticket/15214] Test fix for test_bbcode_firstpass
Add new dispatch parameter to the template\twig\extension call

PHPBB3-15214
2025-05-20 16:24:30 +07:00
toxyy
d934c8c4b7
[ticket/15214] Test fix for test_helper_url_no_rewrite
Add new dispatch parameter to the template\twig\extension call

PHPBB3-15214
2025-05-20 16:24:29 +07:00
toxyy
d07aeb00d8
[ticket/15214] Add event & functionality for assigning template event priority
Event added to allow template events to be assigned priority per extension,
event location chosen so that it only fires once.
Twig node event class refactored to allow template event priority assignment,
compile calls are deferred until all locations are processed
per extension namespace.
Priority precedence mirrors Symfony priority, with higher numbers
being placed at the beginning of the array.
Duplicate priority assignment will currently have the later events
compiled before the others.

PHPBB3-15214
2025-05-20 16:24:24 +07:00
Marc Alexander
9adb7eb9fe Merge branch '3.3.x' 2025-05-19 16:19:02 +00:00
Marc Alexander
29a74db9ec
Merge pull request #6815 from rxu/ticket/17512
[ticket/17512] Add PHP Sniffer coding standard for union types
2025-05-19 18:01:10 +02:00
Marc Alexander
5e12e8b6e9
Merge pull request #6816 from marc1706/ticket/17510-master
[ticket/17510] Fix Code Sniffer deprecations -- master version
2025-05-19 17:53:21 +02:00
Marc Alexander
478d119d42
Merge pull request #6814 from iMattPro/ticket/17510
[ticket/17510] Fix Code Sniffer deprecations
2025-05-19 17:53:18 +02:00
Marc Alexander
1f6f0a3547
Merge pull request #6806 from marc1706/ticket/17501
[ticket/17501] Adjust navbar and breadcrumbs, improve usability
2025-05-19 17:51:27 +02:00
Marc Alexander
5281807e1f Merge branch '3.3.x' 2025-05-19 15:45:56 +00:00
Marc Alexander
e2554d1fb0
Merge pull request #6812 from rxu/ticket/17506-master
[ticket/17506] Ensure superglobal variables are arrays before applying addition - master
2025-05-19 17:44:50 +02:00
Marc Alexander
b3478d83d1
Merge pull request #6811 from rxu/ticket/17506
[ticket/17506] Ensure superglobal variables are arrays before applying addition - 3.3.x
2025-05-19 17:44:47 +02:00
Marc Alexander
ff6f3b2a8c
Merge branch 'ticket/17510' into ticket/17510-master 2025-05-18 09:37:37 +02:00
rxu
1cd17caf87
[ticket/17512] Fix the code layout error reported
PHPBB-17512
2025-05-15 20:42:24 +07:00
rxu
6a0c949ed1
[ticket/17512] Fix sorting types check logic
PHPBB-17512
2025-05-15 20:34:16 +07:00
rxu
146f917d19
[ticket/17512] Fix sniffer error
The error message was: $stackPtr is not a class member var

PHPBB-17512
2025-05-15 20:17:27 +07:00
rxu
c01d1967dd
[ticket/17512] Fix handling tokens with no/empty type hint
PHPBB-17512
2025-05-15 17:02:03 +07:00
rxu
7a4b3f52ae
[ticket/17512] Refactor PHP Sniffer coding standard logic
PHPBB-17512
2025-05-15 16:50:51 +07:00
rxu
b3ff1d7e34
[ticket/17512] Add PHP Sniffer coding standard for union types
PHPBB-17512
2025-05-15 11:47:47 +07:00
Matt Friedman
7268859226
[ticket/17510] Fix Code Sniffer deprecations
PHPBB-17510
2025-05-13 18:03:10 -07:00
Marc Alexander
61bede748a
Merge pull request #6813 from rxu/ticket/17508
[ticket/17508] Fix PHP warning on custom profile fields edit
2025-05-12 21:33:09 +02:00
rxu
0562984999
[ticket/17508] Fix PHP warning on custom profile fields edit
PHPBB-17508
2025-05-13 00:02:56 +07:00
rxu
83e1886e27
Merge branch 'ticket/17506' into ticket/17506-master 2025-05-09 17:04:57 +07:00
rxu
10947f3d49
[ticket/17506] Ensure superglobal variables are arrays before applying addition
PHPBB-17506
2025-05-09 16:58:36 +07:00
Marc Alexander
f94423d491 Merge branch '3.3.x' 2025-05-07 18:16:11 +00:00
Marc Alexander
b6200d6690
Merge pull request #6800 from rxu/ticket/17491-master
[ticket/17491] Fix caching search results - master
2025-05-07 20:15:57 +02:00
Marc Alexander
04f2141a7d
Merge pull request #6799 from rxu/ticket/17491
[ticket/17491] Fix caching search results - 3.3.x
2025-05-07 20:15:53 +02:00
rxu
4b7d7c2fc7
Merge branch 'ticket/17491' into ticket/17491-master 2025-05-07 00:40:32 +07:00
rxu
3d76a8bd09
[ticket/17491] Fix rows duplication in search results
PHPBB-17491
2025-05-07 00:31:21 +07:00
rxu
1c399dcab7
[ticket/17491] Consistently apply array_unique to search results
PHPBB-17491
2025-05-06 00:11:45 +07:00
rxu
e91c7d42a9
[ticket/17491] Add test
PHPBB-17491
2025-05-05 23:46:09 +07:00
Marc Alexander
b7db1b0844
Merge pull request #6803 from rxu/ticket/17496
[ticket/17496] Fix Implicitly marking parameters as nullable PHP deprecations
2025-05-02 20:20:57 +02:00
rxu
0066d53c08
[ticket/17496] Fix recently added changes
PHPBB-17496
2025-05-02 22:48:59 +07:00
rxu
1b08a74508
[ticket/17496] Sniffer to support question mark nullable type syntax
PHPBB-17496
2025-05-02 22:48:59 +07:00
rxu
a5113d7cd3
[ticket/17496] Correctly restore willReturn()
PHPBB-17496
2025-05-02 22:48:59 +07:00
rxu
0f94e1cb13
[ticket/17496] Fix tests
PHPBB-17496
2025-05-02 22:48:58 +07:00
rxu
c6dcf474d3
[ticket/17496] Upgrade to the most recent GuzzleHTTP 7.9
PHPBB-17496
2025-05-02 22:48:58 +07:00
rxu
d0cb7d6389
[ticket/17496] Fix tests
PHPUnit will automatically create a test double
of required return type to be returned

PHPBB-17496
2025-05-02 22:48:57 +07:00