Skip to content

Fix teamcity logging#6064

Closed
asika32764 wants to merge 1511 commits intosebastianbergmann:10.5from
asika32764:teamcity
Closed

Fix teamcity logging#6064
asika32764 wants to merge 1511 commits intosebastianbergmann:10.5from
asika32764:teamcity

Conversation

@asika32764
Copy link
Copy Markdown
Contributor

@asika32764 asika32764 commented Dec 2, 2024

#5354

This is a very simple workarounds to fix PhpStorm unit test output.

Before

screenshot 2024-12-02 下午1 32 52

##teamcity[testSuiteStarted name='Windwalker\Cache\Test\Storage\MemcachedStorageTest' locationHint='php_qn:///private/var/www/windwalker/framework/packages/cache/test/Storage/MemcachedStorageTest.php::\Windwalker\Cache\Test\Storage\MemcachedStorageTest' flowId='5419']

After

screenshot 2024-12-02 下午4 56 00

##teamcity[testSuiteStarted name='Windwalker\Cache\Test\Storage\MemcachedStorageTest' locationHint='php_qn:///private/var/www/windwalker/framework/packages/cache/test/Storage/MemcachedStorageTest.php::\Windwalker\Cache\Test\Storage\MemcachedStorageTest' flowId='5419']
##teamcity[testIgnored name='Windwalker\Cache\Test\Storage\MemcachedStorageTest' message='Memcached not supported' duration='0' flowId='5419']
##teamcity[testSuiteFinished name='Windwalker\Cache\Test\Storage\MemcachedStorageTest' message='Memcached not supported' duration='0' flowId='5419']

Currently I'm not totally understand the emitter system of phpunit, so I'm not able to add the test ignored message for every methods, only fix the class level skipped actions.

sebastianbergmann and others added 30 commits October 19, 2024 12:39
Co-authored-by: Sebastian Bergmann <sb@sebastian-bergmann.de>
Co-authored-by: Fabian Blechschmidt <github@fabian-blechschmidt.de>
Co-authored-by: Arne Blankerts <arne@blankerts.de>
Co-authored-by: Markus Staab <markus.staab@redaxo.de>
Co-authored-by: Nicola Pilcher <nicola.pilcher@gmail.com>
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Sebastian Heuer <sebastian@phpeople.de>
@sebastianbergmann
Copy link
Copy Markdown
Owner

sebastianbergmann commented Dec 2, 2024

As the proposed changes fix a bug, this pull request should target the oldest affected/supported branch, which is 10.5.

May I kindly ask you to 1) squash your changes into a single commit (with commit message Closes #5354) and 2) target the 10.5 branch? Thank you!

* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks wrong and unrelated.

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for
* PHPUnit
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks wrong and unrelated.

* PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
* @internal This class is not covered by the backward compatibility promise for PHPUnit
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks wrong and unrelated.

@sebastianbergmann
Copy link
Copy Markdown
Owner

I am sorry, but I cannot review this in its current state. Please do not make any unrelated (whitespace) changes and make sure to run ./tools/php-cs-fixer fix before commit/push.

@asika32764 asika32764 changed the base branch from main to 10.5 December 3, 2024 04:39
@asika32764
Copy link
Copy Markdown
Contributor Author

As the 10.5 is far away from 11.4, I re-open a new PR for it.

@asika32764
Copy link
Copy Markdown
Contributor Author

#6066

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants